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

posted @ 2022-01-17 10:53  老农奴  阅读(68)  评论(0)    收藏  举报