1. 아래 링크를 통해 Apache Tomcat 9.0 다운로드 페이지 접속
https://tomcat.apache.org/download-90.cgi
Apache Tomcat® - Apache Tomcat 9 Software Downloads
Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version
tomcat.apache.org
2. 설치 진행
Installer로 설치하는 방법이 있지만, 압축 파일로 설치를 진행해보겠다.
해당 파일을 다운로드하고 압축을 풀고, 본인이 원하는 경로로 폴더를 옮긴다.
그럼 설치 끝이다.
3. Tomcat Port 변경
기본 설정되어있는 8080 포트는 Oracle과 겹치므로 Tomcat의 포트를 변경해주겠다.
Tomcat 폴더에서 [conf] 폴더를 열고 [server.xml] 파일을 열어서 8080 포트를 8000 포트로 변경시켜주었다.
4. 설치 확인
Tomcat 폴더의 [bin] 폴더를 열면 [startup.bat] 파일과 [shutdown.bat] 파일이 있다.
startup.bat 파일은 Tomcat을 실행시키는 파일이고, shutdown.bat 파일은 Tomcat을 종료시키는 파일이다.
startup.bat 파일을 실행시키고 브라우저에 [http://localhost:8000]을 입력하여 다음과 같은 화면이 뜨면 Tomcat 설치는 완료다.
'[ Framework ] > Spring & Spring Boot' 카테고리의 다른 글
[오류] java.lang.NoClassDefFoundError: org/springframework/core/JdkVersion (0) | 2021.10.12 |
---|---|
[오류] log4j.xml : Cannot find DTD. Create the DTD file or configure an XML catalog for this DTD. (0) | 2021.10.05 |
[오류] web.xml 빨간 줄 오류 (0) | 2021.09.16 |
[Spring] STS4에서 Spring Legacy Project 생성하기 (0) | 2021.09.16 |