Server & OS

리눅스 apache2 자동시작 설정

페이지 정보

본문

간단하게 아래와 같은 방법으로 설정 할 수 있습니다.


Debian (Ubuntu/Linux Mint)

#apt-get install rcconf

#rcconf



아파치를 부팅시 시작하게 하고 싶지 않다면

#update-rc.d -f apache2 remove



다시 부팅시 시작하게 하고 싶다면

#update-rc.d apache2 defaults




RedHat/Fedora/CentOS


#chkconfig --add apache2

#chkconfig -- level 35 apache2 on


출처: https://tkdev.tistory.com/45 [Thinking.Dev]

관련자료

등록된 댓글이 없습니다.
Today's proverb
말은 내가 건너는 다리라고 생각하라. 단단한 다리가 아니라면 당신은 건너려 하지 않을 테니까.