闲云孤鹤

人生在世五十年,大千世界一瞬间,浮生若梦,仿佛间,幻境一场,生者无常,终须尽。...

Ubuntu 上 chkconfig 的替代物

参考:http://askubuntu.com/questions/2263/chkconfig-alternative-for-ubuntu-server

可以使用一个 sysv-rc-conf的工具。

Best alternative IMHO is sysv-rc-confTo install just need to run the command:

sudo apt-get install sysv-rc-conf

Once installed run the command:

sudo sysv-rc-conf

You can check or uncheck the options to start a service on any level of execution and may even stop or start the services from this console. It is an indispensable tool to enable or disable applications on an permanently way to boot your ubuntuIf you need a quick change, then you can use the CLI interface:

For example to stop ssh at levels 3 and 5 of execution:

sysv-rc-conf-off level 35 ssh

Atd to start in runlevels 2,3,4 and 5:

sysv-rc-conf on atd

If you want to know more:

man sysv-rc-conf

阅读更多
个人分类: Linux发行版
想对作者说点什么? 我来说一句

ubuntu安装chkconfig

2014年10月04日 9KB 下载

没有更多推荐了,返回首页

不良信息举报

Ubuntu 上 chkconfig 的替代物

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭