2023-02-20小白笔记0
bash
systemctl start httpd.service #启动服务
systemctl restart httpd.service #重启服务
systemctl stop httpd.service #停止服务
systemctl reload httpd.service #重载服务
systemctl status httpd.service #检查服务状态

###开机启动或禁用服务
systemctl enable mysql.service #设置服务开机自启动
systemctl disable mysql.service #禁止服务开机自启动

本文作者:墨洺的文档

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!