개발/ETC
[ Apache ] 아파치 start/stop/restart 명령어
쩨이엠
2020. 7. 4. 10:39
728x90
반응형
맨날 찾아만 보다가 드디어 정리를 하기로 했다
앞으로도 계속 쓸 것 같아섴ㅋㅋㅋㅋㅋ
1. 버전확인
$ httpd -v
Server version: Apache/2.4.28 (Unix)
Server built: Oct 29 2017 19:28:54
2. Status 확인
$ systemctl status httpd
$ service httpd status
3. Apache Start
$ systemctl start httpd
$ service httpd start
$ apachectl start
4. Apache Stop
$ systemctl stop httpd
$ service httpd stop
$ apachectl stop
5. Apache Restart
$ systemctl restart httpd
$ service httpd restart
$ apachectl restart
728x90
반응형