1.rcconfapache
apt-get install rcconfide
rcconf工具
這個工具方即是方便,但功能不是不少,設置一個以後,全部的運行級別都會跟着設置spa
2.sysv-rc-confget
apt get install sysv-rc-confit
sysv-rc-confclass
這個工具能夠設置各個運行級別的,設置好以後,「q」鍵退出margin
3.rc.localtop
你也能夠把/etc/init.d/服務名 stop|start 寫進rc.local裏面 4.手動改mv /etc/rc2.d/S91apache2 /etc/rc2.d/K91apache2 把S改爲K就是把開機啓動設置爲開機不啓動