欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

ubuntu 16.04 chkconfig: command not found

程序员文章站 2022-03-05 20:23:28
...

ubuntu中chkconfig已经被sysv-rc-conf替代,具体如下操作如下:

chkconfig命令:

[~] chkconfig --add keepalived  
[~] chkconfig keepalived on  

sysv-rc-conf命令:

[~] apt-get install sysv-rc-conf
[~] sysv-rc-conf keepalived on