如下所示:

systemctl enable httpd.service //开机启动服务
systemctl disable httpd.service //禁止开机启动
systemctl start httpd.service //启动服务
systemctl stop httpd.service //关闭服务


 /etc/selinux/config
SELINUX=disabled //关闭SELinux

以上这篇fedora 开机启动/禁止开机启动服务的实现就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

点赞(61)

评论列表共有 0 条评论

立即
投稿
返回
顶部