(ubuntu下sysv-rc-conf命令等同redhat下chkconfig命令)
$ sudo apt-get install sysv-rc-conf
进入sysv-rc-conf TUI用户界面,你可以使用键盘方向键切换,使用空格键选择“X”表示选中,这个软件也支持鼠标操作。
$ sudo sysv-rc-conf
sysv-rc-conf gmond on sysv-rc-conf --list gmond