重启: su root 取得root权限,然后用"service 服务名 restart"来重启特定服务,重启整个系统则用"reboot"即可。 关闭: halt 更改IP等: ip:/etc/sysconfig/network-scipts/ dns:/etc/resolv.conf 网关:vi /etc/sysconfig/network Vi: wq q!