安装好的的centos7系统,使用命令ip -a查看IP地址发现没有IP地址。我重启网卡试试,然后报错,具体报错如下: Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. 【Failed】 这个是自带的NetworkManager这个管理套件影响到网卡的启动,关掉就可以解决 systemctl stop NetworkManager systemctl disable NetworkManager systemctl start network 这样就OK了