阿里雲報錯Redirecting to /bin/systemctl restart sshd.service


轉: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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM