romworld

[Ubuntu] apache tomcat 설치하기! 본문

카테고리 없음

[Ubuntu] apache tomcat 설치하기!

inderrom 2023. 6. 13. 11:09

1. 원하는 톰캣 버전 다운 받을 수 있는 주소

archive.apache.org/dist/tomcat/

 

Index of /dist/tomcat

 

archive.apache.org

 

 

2. 다운 받을 경로에서 아래 명령어를 입력! (나는 8.5.54 버전이 필요하여 이 버전을 선택함)

wget -c http://archive.apache.org/dist/tomcat/tomcat-8/v8.5.54/bin/apache-tomcat-8.5.54.tar.gz

 

 

3. 압축을 풀어준다

tar -zxvf apache-tomcat-8.5.54.tar.gz

 

4. 디렉토리 이름 변경 (해도 되고.. 안해도 되고)

v apache-tomcat-8.5.54.tar.gz tomcat

 

5.  실행 시키기

tomcat/bin ./startup.sh

6. 주소창에 http://[IP주소]:8080 입력시 아래 페이지가 뜬다면 접속 성공!

7. 톰캣 구동 정지

tomcat/bin ./shutdown.sh

 

Comments