一、安装CentOS 7.8
- 关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
- 关闭SELINUX
setenforce 0
vi /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled
设置后需要重启才能生效
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
vi /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled
设置后需要重启才能生效