天天看點

Redirecting to /bin/systemctl restart sshd.service

雲伺服器 ECS Linux CentOS 7 下重新開機服務不再通過 service 操作,而是通過 systemctl 操作。

Redirecting to /bin/systemctl restart sshd.service

檢視:systemctl status sshd.service

啟動:systemctl start sshd.service

重新開機:systemctl restart sshd.service

自啟:systemctl enable sshd.service

繼續閱讀