menu

开发进行时...

crazy coder

Avatar

Ubuntu Linux系统下自启动选项的设置方法

用来设置ubuntu启动选项的工具


rcconf:


sudo apt-get rcconf

sudo apt-get install rcconf


root 下运行: rcconf


功能更全的:sysv-rc-conf


sudo apt-get update

sudo apt-get install sysv-rc-conf


运行:sudo sysv-rc-conf


关于设置ubuntu sysv-rc-conf的文章:


http://ubuntuforums.org/showthread.php?t=89491


也可以直接修改


直接改/etc/rc0.d ~ /etc/rc6.d和/etc/rcS.d下的东西,S开头的表示启动,K开头的表示不启动,

例如:想关闭vsftpd的开机自动启动,只需sudo mv /etc/rc2.d/S20vsftpd /etc/rc2.d/K20vsftpd就可以了。

评论已关闭