본문 바로가기
Library & Framework/Spring

[개발 환경 구축] Apache Tomcat(아파치 톰캣) 설치 및 실행하기

by 일단연 2023. 4. 20.

* Windows 10을 기준으로 진행했습니다.

 

 1. Tomcat 다운로드 

아파치 톰캣 사이트에서 Tomcat 파일을 다운로드합니다.

 

Apache Tomcat® - Welcome!

The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the

tomcat.apache.org

본 실습에서는 채규태, <스프링 퀵 스타트>(루비페이퍼)를 기준으로 하기 때문에 Tomcat 8.5 버전을 다운로드했습니다.

 

Apache Tomcat® - Apache Tomcat 8 Software Downloads

Welcome to the Apache Tomcat® 8.x software download page. This page provides download links for obtaining the latest versions of Tomcat 8.x software, as well as links to the archives of older releases. Unsure which version you need? Specification versions

tomcat.apache.org

 

 

 2. 다운로드한 Tomcat 파일 압축 풀기 

다운로드한 Tomcat 파일의 압축을 풀어줍니다.

앞으로의 개발을 편리하게 하기 위해 C 드라이브에 DEV 폴더를 만들고 이 경로에 위치시켰습니다. (C:\DEV)

 

 

 

3. Tomcat 실행 

Tomcat 폴더의 bin 폴더에서 tomcat8w.exe 파일을 실행합니다.

Service Status 밑의 'Start' 버튼을 누르면 Tomcat이 실행됩니다.

* 현재는 Eclipse에 Tomcat을 연동해놓은 상태라 'Service Status: Stopped'로 나타나고 있습니다.