我是靠谱客的博主 调皮龙猫,这篇文章主要介绍0-systemctl开机启动项,现在分享给大家,希望可以做个参考。

防火墙:iptables  Apache服务名称:httpd  MySQL服务名称:mysqld  VSFTP服务名称:vsftpd

<!--CentOS7新指令-->

使某服务 自动启动  systemctl enable httpd.service

使某服务 不自动启动  systemctl disable httpd.service

检查服务 状态  systemctl is-active httpd.service(仅显示是否 Active)systemctl status httpd.service(服务详细信息)

显示所有 已启动的服务  systemctl list-units --type=service

启动某服务  systemctl start httpd.service

停止某服务  systemctl stop httpd.service

重启某服务  systemctl restart httpd.service

转载于:https://www.cnblogs.com/ninghongkun/p/5762253.html

最后

以上就是调皮龙猫最近收集整理的关于0-systemctl开机启动项的全部内容,更多相关0-systemctl开机启动项内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(98)

评论列表共有 0 条评论

立即
投稿
返回
顶部