systemctl enable httpd.service //开机启动服务
systemctl disable httpd.service //禁止开机启动
systemctl start httpd.service //启动服务
systemctl stop httpd.service //关闭服务
/etc/selinux/config
SELINUX=disabled //关闭SELinux
systemctl enable httpd.service //开机启动服务
systemctl disable httpd.service //禁止开机启动
systemctl start httpd.service //启动服务
systemctl stop httpd.service //关闭服务
/etc/selinux/config
SELINUX=disabled //关闭SELinux