如下所示:
systemctl enable httpd.service //開(kāi)機(jī)啟動(dòng)服務(wù)
systemctl disable httpd.service //禁止開(kāi)機(jī)啟動(dòng)
systemctl start httpd.service //啟動(dòng)服務(wù)
systemctl stop httpd.service //關(guān)閉服務(wù)
/etc/selinux/config
SELINUX=disabled //關(guān)閉SELinux
以上這篇fedora 開(kāi)機(jī)啟動(dòng)/禁止開(kāi)機(jī)啟動(dòng)服務(wù)的實(shí)現(xiàn)就是小編分享給大家的全部?jī)?nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持武林網(wǎng)。
新聞熱點(diǎn)
疑難解答
圖片精選