Centos7操作系统 远程连不上Linux 操作系统 执行 ifconfig 发现网卡不见了

解决:

按顺序执行以下命令  

都是在root的权限下

  systemctl stop NetworkManager

  systemctl disable NetworkManager  

  systemctl start network.service

最后重启网卡

  重启网卡

  service network restart

  查看网卡  ifconfig 消失的网卡出现了,一切恢复正常