아파치 웹서버

Jmnote (토론 | 기여)님의 2012년 8월 20일 (월) 21:28 판

아파치 시작, 중지, 재시작
httpd

1 httpd 설치

2 설치 위치

[root@jmnote ~]# service httpd status
httpd is stopped
[root@jmnote ~]# which httpd
/usr/sbin/httpd
→ httpd 파일은 /usr/sbin에 있다.
[root@jmnote ~]# /usr/sbin/httpd -v
Server version: Apache/2.2.3
Server built:   Aug 19 2011 11:19:08

3 기본 명령어

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

service httpd status
service httpd start
service httpd stop
service httpd restart

다음과 같이 명령을 내릴 수도 있다. 효과는 동일

httpd -k status
httpd -k start
httpd -k stop
httpd -k restart

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}