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

檢視:systemctl status sshd.service
啟動:systemctl start sshd.service
重新開機:systemctl restart sshd.service
自啟:systemctl enable sshd.service
雲伺服器 ECS Linux CentOS 7 下重新開機服務不再通過 service 操作,而是通過 systemctl 操作。
檢視:systemctl status sshd.service
啟動:systemctl start sshd.service
重新開機:systemctl restart sshd.service
自啟:systemctl enable sshd.service