ubuntu14.04中安裝chkconfig服務(wù)管理程序的方法
ubuntu中并沒有chkconfig,但我們可以使用sysv-rc-conf
代替
一、chkconfig安裝
1.1 安裝 sysv-rc-conf
#apt-get install sysv-rc-conf
1.2鏈接chkconfig
#cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
二、測試
執(zhí)行 chkconfig 命令
# chkconfig
ps:ubuntu使用chkconfig命令來管理服務(wù)
安裝命令:
sudo apt-get install chkconfig
(可以用sysv-rc-conf代替)
在ubuntu下使用應(yīng)該會出現(xiàn)這樣的錯誤:
/sbin/insserv: No such file or directory
解決辦法:sudo ln -s /usr/lib/insserv/insserv /sbin/insserv
總結(jié)
以上所述是小編給大家介紹的ubuntu14.04中安裝chkconfig服務(wù)管理程序的方法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
相關(guān)文章
CentOS7 上利用 jenkins 實現(xiàn)自動部署
本文基于 vue 的前端項目、 GitHub 的代碼倉庫,簡述在 CentOS7 上利用 jenkins 實現(xiàn)自動部署。非常不錯,具有一定的參考借鑒價值,感興趣的朋友跟隨小編一起看看吧2019-04-04Linux網(wǎng)絡(luò)服務(wù)器配置基礎(chǔ)
Linux網(wǎng)絡(luò)服務(wù)器配置基礎(chǔ)...2006-10-10