CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

웹기술을 같이 공유합니다

아파치 재실행

2020년 06월 30일

서비스 상태 확인, 시작, 중지, 재시작 명령어이다.

CentOS (서비스명: httpd)
우분투 (서비스명: apache2)
명령어 종류systemctl ★★service/etc/init.d/ ★apachectlhttpd[1]
아파치 상태 확인systemctl status apache2service apache2 status/etc/init.d/apache2 status··
아파치 시작systemctl start apache2service apache2 start/etc/init.d/apache2 start··
아파치 정지systemctl stop apache2service apache2 stop/etc/init.d/apache2 stop··
아파치 재시작systemctl restart apache2service apache2 restart/etc/init.d/apache2 restart··
아파치 리로드systemctl reload apache2service apache2 reload/etc/init.d/apache2 reload··
아파치 상태 확인systemctl status httpdservice httpd status/etc/init.d/httpd status·httpd -k status
아파치 시작systemctl start httpdservice httpd start/etc/init.d/httpd start·httpd -k start
아파치 정지systemctl stop httpdservice httpd stop/etc/init.d/httpd stop·httpd -k stop
아파치 재시작systemctl restart httpdservice httpd restart/etc/init.d/httpd restart·httpd -k restart
아파치 리로드systemctl reload httpdservice httpd reload/etc/init.d/httpd reload·httpd -k reload


참조

https://zetawiki.com/wiki/%EC%95%84%ED%8C%8C%EC%B9%98_%EC%9B%B9%EC%84%9C%EB%B2%84


추천한 사람