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

如下所示:

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


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

相关推荐