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
 
  也可以直接修改
 
  直接改/etc/rc0.d ~ /etc/rc6.d和/etc/rcS.d下的东西,S开头的表示启动,K开头的表示不启动,
 
  例如:想关闭vsftpd的开机自动启动,只需sudo mv /etc/rc2.d/S20vsftpd /etc/rc2.d/K20vsftpd就可以了 本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3