요즘은 nginx를 많이 쓰다보니 거의 까먹고 있었는데
아파치 기본 명령어들 정리해보았다
기본은 systemctl, httpd 또는 apachectl 중 하나를 사용.
os 에 따라선 apache2 를 사용하기도 한다.
service apache2 restart 이런식으로 말이다
Apache 상태 확인
# systemctl status httpd
# service httpd status
apache start
# systemctl start httpd
# service httpd start
# apachectl start
apache stop
# systemctl stop httpd
# service httpd stop
# apachectl stop
apache restart
# systemctl restart httpd
# service httpd restart
# apachectl restart
답글 남기기