CentOS 系统安装后配置
网卡配置
/etc/sysconfig/network-scripts文件夹下找到网卡配置文件(名称类似ifcfg-enp1s0),将ONBOOT参数由no改为yes
systemctl restart network重启网络
关闭防火墙
systemctl disable firewalld
systemctl stop firewalld
关闭SELinux
/etc/selinux/config中SELINUX参数由enforcing改为disabled
网卡配置
/etc/sysconfig/network-scripts文件夹下找到网卡配置文件(名称类似ifcfg-enp1s0),将ONBOOT参数由no改为yes
systemctl restart network重启网络
关闭防火墙
systemctl disable firewalld
systemctl stop firewalld
关闭SELinux
/etc/selinux/config中SELINUX参数由enforcing改为disabled