리눅스

리눅스에서 아파치(Apache) 시작,중지,재시작,상태확인,버전확인하기

우진샘 2023. 1. 6. 19:58

* 버전확인
httpd -v

* 상태확인
systemctl status httpd
service httpd status

* 시작
systemctl start httpd
service httpd start
apachectl start

* 중지
systemctl stop httpd
service httpd stop
apachectl stop

* 재시작
systemctl restart httpd
service httpd restart
apachectl restart