防火墙: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开机启动项内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复