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就是把开机启动设置为开机不启动