- 다른 뜻에 대해서는 아파치 (1954) 문서를 참조하십시오.
- 다른 뜻에 대해서는 아파치 (1990) 문서를 참조하십시오.
- 다른 뜻에 대해서는 아파치 헬기 문서를 참조하십시오.
1 개요[ | ]
- Apache HTTP Server, Apache
- 아파치 웹서버, 아파치 HTTP 서버, 아파치 웹데몬; 아파치, 웹데몬
- httpd
- 아파치 웹서버 데몬
- 기본 위치는 /usr/sbin
- 설정 파일은 /etc/httpd/conf/httpd.conf
- 로그 파일은 /var/log/httpd/access_log
2 httpd 설치[ | ]
![](https://z-images.s3.amazonaws.com/thumb/e/ec/Crystal_Clear_app_xmag.svg/24px-Crystal_Clear_app_xmag.svg.png 1.5x, https://z-images.s3.amazonaws.com/thumb/e/ec/Crystal_Clear_app_xmag.svg/32px-Crystal_Clear_app_xmag.svg.png 2x)
3 설치 위치[ | ]
![](https://z-images.s3.amazonaws.com/thumb/e/ec/Crystal_Clear_app_xmag.svg/24px-Crystal_Clear_app_xmag.svg.png 1.5x, https://z-images.s3.amazonaws.com/thumb/e/ec/Crystal_Clear_app_xmag.svg/32px-Crystal_Clear_app_xmag.svg.png 2x)
Console
Copy
[root@zetawiki ~]# service httpd status
httpd is stopped
[root@zetawiki ~]# which httpd
/usr/sbin/httpd
- → httpd 파일은 /usr/sbin에 있다.
Console
Copy
[root@zetawiki ~]# /usr/sbin/httpd -v
Server version: Apache/2.2.3
Server built: Aug 19 2011 11:19:08
4 기본 명령어[ | ]
서비스 상태 확인, 시작, 중지, 재시작 명령어이다.
명령어 종류 | systemctl ★★ | service | /etc/init.d/ ★ | apachectl | httpd[1] |
---|---|---|---|---|---|
우분투 (서비스명: apache2) | |||||
아파치 상태 확인 | systemctl status apache2 | service apache2 status | /etc/init.d/apache2 status | · | · |
아파치 시작 | systemctl start apache2 | service apache2 start | /etc/init.d/apache2 start | · | · |
아파치 정지 | systemctl stop apache2 | service apache2 stop | /etc/init.d/apache2 stop | · | · |
아파치 재시작 | systemctl restart apache2 | service apache2 restart | /etc/init.d/apache2 restart | · | · |
아파치 리로드 | systemctl reload apache2 | service apache2 reload | /etc/init.d/apache2 reload | · | · |
CentOS (서비스명: httpd) | |||||
아파치 상태 확인 | systemctl status httpd | service httpd status | /etc/init.d/httpd status | · | httpd -k status |
아파치 시작 | systemctl start httpd | service httpd start | /etc/init.d/httpd start | · | httpd -k start |
아파치 정지 | systemctl stop httpd | service httpd stop | /etc/init.d/httpd stop | · | httpd -k stop |
아파치 재시작 | systemctl restart httpd | service httpd restart | /etc/init.d/httpd restart | · | httpd -k restart |
아파치 리로드 | systemctl reload httpd | service httpd reload | /etc/init.d/httpd reload | · | httpd -k reload |
5 같이 보기[ | ]
- httpd 설치 (yum)
- apachectl
- 아파치 컴파일 설치
- 아파치 설정파일 httpd.conf
- 아파치 로그
- 톰캣
- 리눅스 계정에 특정 명령어 root 실행 권한 주기
- ApacheBench
- MySQL
- 아파치 prefork와 worker 방식
- IIS
- NGiИX
- rotatelogs
- 웹서버
6 참고링크[ | ]
- ↑ httpd는 /usr/sbin 에 있음
편집자 Jmnote Mywikier Gkscnsrb 103.243.200.16 175.193.132.226 Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- 리눅스 (19)
CentOS JDK 설치 ― …CentOS JDK 설치 ― ElliottCentOS vsftpd 설치 및 설정 ― …CentOS에서 apt-get 실행해보기 ― …CentOS에서 apt-get 실행해보기 ― 다미안VirtualBox 리눅스 인터넷 연결 ― …VirtualBox 리눅스 인터넷 연결 ― JmnoteVirtualBox 리눅스 인터넷 연결 ― …리눅스 CPU 사용률 확인 ― 동원잉리눅스 JDK 버전 확인 ― …리눅스 JDK 버전 확인 ― Jmnote리눅스 SSH 패스워드 없이 자동 로그인 ― …리눅스 SSH 패스워드 없이 자동 로그인 ― Jmnote리눅스 날짜 기준으로 파일 삭제하기 ― 백승현리눅스 날짜 기준으로 파일 삭제하기 ― Jmnote리눅스 디렉토리 용량 확인 du ― …리눅스 메모리 사용률 확인 ― 최재완리눅스 메모리 사용률 확인 ― Jmnote좀비 프로세스 찾기, 죽이기 ― 불량펭귄