站长资源脚本专栏

fedora 开机启动/禁止开机启动服务的实现

整理:jimmy2025/1/10浏览2
简介如下所示:systemctl enable httpd.service //开机启动服务systemctl disable httpd.service //禁止开机启动systemctl start httpd.service //启动服务systemctl stop httpd.servi

如下所示:

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


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

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