本文介绍在Ubuntu系统下安装sysv-rc-conf服务管理工具的方法,同时介绍它运行界面的意思便于使用。sysv-rc-conf比较类似于chkconfig,安装上它可以在Ubuntu系统下方便用于服务管理。
安装方法,运行sudo apt install sysv-rc-conf命令 axing@CFL-LD8-84:~$ sudo apt install sysv-rc-conf [sudo] password for axing: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: Unpacking libcurses-perl (1.33-1build1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../libterm-readkey-perl_2.33-1build1_amd64.deb ... Unpacking libterm-readkey-perl (2.33-1build1) ... Selecting previously unselected package libcurses-ui-perl. Preparing to unpack .../libcurses-ui-perl_0.9609-1_all.deb ... Unpacking libcurses-ui-perl (0.9609-1) ... Selecting previously unselected package sysv-rc-conf. Preparing to unpack .../sysv-rc-conf_0.99-7_all.deb ... Unpacking sysv-rc-conf (0.99-7) ... Processing triggers for man-db (2.7.5-1) ... Setting up libcurses-perl (1.33-1build1) ... Setting up libterm-readkey-perl (2.33-1build1) ... Setting up libcurses-ui-perl (0.9609-1) ... Setting up sysv-rc-conf (0.99-7) ... axing@CFL-LD8-84:~$ sudo sysv-rc-conf
运行sudo sysv-rc-conf命令出现下面界面
service这一栏数字分别代表的运行级别如下: 0 关机 1 单用户 2 多用户模式,没有NFS网络支持 3 完整的多用户文本模式,有NFS,登录后进入控制台命令行模式 4 保留 5 含有图形界面模式 6 重启 注:选好了确认退出即可。
相关主题 |