不知道理解得對不對。
1.用service命令(CentOS/RHEL5-7)
servicenetworkstart/stop/restart
2.用systemctl命令(CentOS/RHEL7)
systemctlstart/stop/restartnetwork
不知道理解得對不對。
1.用service命令(CentOS/RHEL5-7)
servicenetworkstart/stop/restart
2.用systemctl命令(CentOS/RHEL7)
systemctlstart/stop/restartnetwork