How do I install chkconfig on Ubuntu?

前端 未结 7 1759
孤城傲影
孤城傲影 2021-01-30 09:22

I am running Ubuntu 13.10, and I\'m pretty new to Linux. I tried:

$ sudo apt-get install chkconfig

Package chkconfig is not ava

7条回答
  •  灰色年华
    2021-01-30 09:27

    Install this package in Ubuntu:

    apt install sysv-rc-conf
    

    its a substitute for chkconfig cmd.

    After install run this cmd:

    sysv-rc-conf --list
    

    It'll show all services in all the runlevels. You can also run this:

    sysv-rc-conf --level (runlevel number ex:1 2 3 4 5 6 )
    

    Now you can choose which service should be active in boot time.

提交回复
热议问题