Ubuntu

ubuntu chkconfig sysv-rc-conf

Naan 2018. 4. 19. 11:00
반응형

ubuntu 에는 chkconfig 가 없다.

사용법은 비슷한 sysv-rc-conf 이 있으니 사용하자.

 

# apt-get install sysv-rc-conf

# sysv-rc-conf sendmail on

# sysv-rc-conf sendmail off

# sysv-rc-conf --list | grep sendmail

sendmail     0:off      1:off   2:on    3:on    4:on    5:on    6:off

 

만약에

# apt-get install sysv-rc-conf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysv-rc-conf

설치가 안된다면

vi /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse

추가 해주고

apt-get update

해주고 설치 해보자.

 


 

반응형

'Ubuntu' 카테고리의 다른 글

ubuntu snmp client setting  (0) 2019.04.30
ubuntu xrdp password failed  (0) 2019.01.14
ubuntu Xt error: Can't open display: %s  (0) 2017.09.21
ubuntu 16.04 root 로그인 하기  (0) 2017.07.13
우분투 무료 백신 clamav  (0) 2016.04.05