centos 7.0 引入了很多新特性,感觉比较大的是sytemctl 命令的使用。
systemd使用方法:
systemd的服务管理程序
systemctl是最主要的工具。它融合 service 和chkconfig的功能于一体。你可以使用它永久性或只在当前会话中启用/禁用服务。
下面命令用于列出正在运行的服务或其他: systemctl
运行网络服务:
systemctl start network.service
关闭网络服务:
systemctl stop network.service
重启网络服务:
systemctl restart network.service