轉:http://blog.csdn.net/caijunfen/article/details/70599138
雲服務器 ECS Linux CentOS 7 下重啟服務不再通過 service 操作,而是通過 systemctl 操作。
查看:systemctl status sshd.service
啟動:systemctl start sshd.service
重啟:systemctl restart sshd.service
自啟:systemctl enable sshd.service