Window http 아파치 설치
1) 아파치 설치 시 해결 방안
Installing the 'Apache2.4' service
(OS 5)액세스가 거부되었습니다. : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator?
- 관리자 권한으로 실행
.\httpd -k install
1-1) 에러
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
- 설치는 성공적임. 실행은 ServerRoot 경로 설정이 맞지 않아서 안됨.
\Apache24\conf\httpd.conf 파일에서 Define SRVROOT "C:\Apache24" 경로 설정하기
정상적으로 설치됨!
서비스 시작 누를 경우 아파치 실행
아파치는 80포트로 열어놨기 때문에 http://localhost:80 으로 접속할 경우 원활하게 접속된다.
추가) curl 설치
curl for Windows
curl 8.6.0 for Windows These are the latest and most up to date official curl binary builds for Microsoft Windows. curl version: 8.6.0 Build: 8.6.0_7 Date: 2024-01-31 Changes: 8.6.0 changelog curl for 64-bit Size: 7.3 MB sha256: 0ec9a54348f77cc61feda097116
curl.se
참고
https://8lackcat.tistory.com/212
아파치 웹서버 (Apache2.4) 윈도우10 에 설치하기
PHP와 FIrebird 데이터베이스를 사용하는 웹프로그램을 테스트하기 위해 아파치 웹서버를 설치했습니다. 다시 설치할 일이 생기면 참고 하기위해 설치 방법을 포스팅 합니다. 윈도우용 아파치설치
8lackcat.tistory.com
https://goni9071.tistory.com/451
Window 10 + Apache 2.4 + PHP 7.2.6 Install (2020.01.05)
1. 아파치 다운로드 URL : https://www.apachelounge.com/download/ Apache VS16 binaries and modules download Apache 2.4 VS16 Windows Binaries and Modules Apache Lounge has provided up-to-date Windows binaries and popular third-party modules for more th
goni9071.tistory.com
메모
postman으로 서버 접속이 안될 시 @SpringBootApplication 어노테이션이 붙어있는 main이 켜져있는지 확인 필요
'Develop > Feature' 카테고리의 다른 글
[Docker] Database docker-compose 구축(mysql, redis) (0) | 2024.07.22 |
---|---|
Filter, Interceptor (0) | 2024.07.16 |
Mac Node.js 설치 (0) | 2024.06.24 |
Swagger UI 사용 (0) | 2024.06.12 |
Layered Architecture 구조, API 적용하기 (0) | 2024.05.28 |
댓글