linux系统中如何使用systemctl命令管理系统服务
1、systemctl start 服务名
启动服务

2、systemctl stop 服务名
停止服务

3、systemctl restart 服务名
重启服务

4、systemctl enable 服务名
使某服务开机自启

5、systemctl disable 服务名
关闭某服务开机自启

6、systemctl status 服务名
查看服务状态

7、systemctl list-units --type=service
列举所有已启动服务

8、systemctl h
查看命令解释帮助

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:133
阅读量:104
阅读量:23
阅读量:21
阅读量:41