"아파치 웹서버"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
57번째 줄: 57번째 줄:
*[[apachectl]]
*[[apachectl]]
*[[아파치 컴파일 설치]]
*[[아파치 컴파일 설치]]
*[[아파치 설정파일 httpd.conf]]
*[[아파치 로그]]
*[[아파치 로그]]
*[[톰캣]]
*[[톰캣]]

2015년 6월 9일 (화) 16:27 판

  다른 뜻에 대해서는 아파치 헬기 문서를 참조하십시오.
Apache HTTP Server, Apache
아파치 웹서버, 아파치 HTTP 서버, 아파치 웹데몬; 아파치, 웹데몬
httpd

1 개요

2 httpd 설치

3 설치 위치

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

4 기본 명령어

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

service httpd status
service httpd start
service httpd stop
service httpd restart
→ service 명령어는 /etc/init.d/httpd 스크립트를 이용

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

httpd -k status
httpd -k start
httpd -k stop
httpd -k restart
→ httpd는 /usr/sbin 에 있음
apachectl start
apachectl stop
→ apachectl도 /usr/sbin 에 있음

5 같이 보기

6 참고 자료