개발 이야기/서버 이야기
아파치 서버 설치 하기
석구석구
2017. 10. 18. 23:23
1. 아파치 다운 로드
https://www.apachelounge.com/download/
2. /conf/httpd.conf 파일 수정
- ServerRoot 경로 설정.
- Listen 포트 설정
- DocumentRoot 설정
- ServerName 변경
3. 환경변수에 /bin 경로 추가
4. cmd에서 아파치 서버 인스톨
- httpd -k install
5. 아파치 명령 시작
- httpd -k start (시작)
- httpd -k stop (종료)
- httpd.exe -k restart
- httpd.exe -k uninstall (서비스 제거)
- httpd.exe -k uninstall -n APM_Apache2 (특정 서비스 제거)