系统教程
您现在的位置是:首页>服务器系统>Ubuntu系统内容

ubuntu中安装chkconfig

时间:2018-04-27 出处:未知复制分享人气(次) 【

在ubuntu上默认是不支持chkconfig命令的,但可以自己安装,安装包已经上传。
 
安装包路径:http://download.csdn.net/detail/hylongsuny/5276536
ubuntu中安装chkconfig
 
方法:在存放目录执行:dpkg -i chkconfig.deb
 
在ubuntu下使用应该会出现这样的错误:
/sbin/insserv: No such file or directory
据说这是Ubuntu的小bug。
解决办法:sudo ln -s /usr/lib/insserv/insserv /sbin/insserv
 
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电