安装服务前的环境配置
例:要求网段 192.168.10.0/24
1.关闭防火墙
临时关闭: systemctl stop firewalld
开机不启动: systemctl disable firewalld
[root@localhost]systemctl stop firewalld
2.关闭selinux
临时关闭: setenforce 0
开机不启动:vi /etc/selinux/config
将参数修改为SELINUX=disabled
# This file controls the state of SELinux on the system .
# SELINUX= can take one of these three va lues :
#
enforcing——
SELinux security policy is enforced .
#
permissive——SELinux prints warnings instead of enforcing
#
disabled - No SELinux policy is loaded.
SELINUX=disabled
SELINUXTYPE= can take one of three values:
#
targeted - Targeted processes are protected ,<