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

 

相关文章:

  • 2021-05-28
  • 2022-12-23
  • 2021-12-22
  • 2021-05-05
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-27
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-05-25
  • 2022-12-23
相关资源
相似解决方案