우분투 chkconfig command not found

sysv-rc-conf 는 우분투에서 대체해서 쓸수 있는 옵션이다~

사용법은 chkconfig랑 거의 유사하다.

설치

sudo apt-get install sysv-rc-conf

아파치를 서버시작시 자동실행 하려면

sysv-rc-conf apache2 on

이것은 chkconfig 명령으로 하면 아래와 같은것이다.

chkconfig apache2 enable

아파치의 런레벨을 확인하려면

sysv-rc-conf –list apache2

이렇게 하면 된다~ 참 쉽다~