Linux安装的centos系统,不能正常连接网络
1.编辑config文件
[root@localhost ~]# cd /etc/selinux
[root@localhost selinux]# vi config
SELINUX=disabled
2.编辑ifcfg-ens33文件
[root@localhost ~]# /etc/sysconfig/network-scripts
[root@localhost network-scripts]# vi ifcfg-ens33
ONBOOT=yes
3.重启网络服务
[root@localhost selinux]# systemctl restart network
4.关闭防火墙
[root@localhost selinux]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.