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 (특정 서비스 제거)
'개발 이야기 > 서버 이야기' 카테고리의 다른 글
ubuntu에 docker 설치 (1) | 2021.11.29 |
---|---|
오라클 무료 VM 설정 (1) | 2021.11.28 |
Docker + Nginx + NextJS (0) | 2021.11.27 |
Mac SSH 연결과 간단한 리눅스 명령어. (0) | 2018.11.01 |