자동 설치 본으로 설치 시 Tomcat의 보안 취약점으로 인한 버전 업그레이드가 필요할 경우 아래의 순서로 작업하여주시길 바랍니다.

(작성 당시 최신 버전으로의 업그레이드를 고려하고 작성된 문서입니다.)


1. 500버전 (Tomcat 9.0.84.0 → 9.0.x.0)

## AUD 자동 설치본을 기준으로 작성하였습니다.
## 자동 설치본 경로 : /AUDPlatform
## APP 실행 계정 : AUD

# 1. 사전 확인 & 백업
./AUDPlatform/bin/commander.sh -k was
tar czf /AUDPlatform/apps/tomcat_back.tar
mv /AUDPlatform/apps/tomcat /AUDPlatform/apps/tomcat_back



# 2. 최신 Tomcat 9 다운로드 및 검증
cd /AUDPlatform/apps
curl -O https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.108/bin/apache-tomcat-9.0.108.tar.gz
curl -O https://downloads.apache.org/tomcat/tomcat-9/v9.0.108/bin/apache-tomcat-9.0.108.tar.gz.sha512
sha512sum -c apache-tomcat-9.0.108.tar.gz.sha512


# 3. 압축 해제 & 새 버전 준비
tar xvf apache-tomcat-9.0.108.tar.gz
mv apache-tomcat-9.0.108 tomcat


# 4. 설정 변경 적용 : 초기 설정에서 기존 conf와 bin만 수정
cp -pvfr /AUDPlatform/apps/tomcat_back/conf /AUDPlatform/apps/tomcat/conf
cp -pvfr /AUDPlatform/apps/tomcat_back/bin/AUDPlatform/apps/tomcat/bin




# 5. 버전 확인
./AUDPlatform/apps/tomcat/bin/version.sh



# 6. Start
./AUDPlatform/bin/commander.sh -s was


2. 510버전 (Tomcat 10.1.41.0 → 10.1.x.0)

## AUD 자동 설치본을 기준으로 작성하였습니다.
## 자동 설치본 경로 : /AUDPlatform
## APP 실행 계정 : AUD

# 1. 사전 확인 & 백업
./AUDPlatform/bin/commander.sh -k was
tar czf /AUDPlatform/apps/tomcat_back.tar
mv /AUDPlatform/apps/tomcat /AUDPlatform/apps/tomcat_back




# 2. 최신 Tomcat 10 다운로드 및 검증
cd /AUDPlatform/apps
curl -O https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.46/bin/apache-tomcat-10.1.46.tar.gz
curl -O https://downloads.apache.org/tomcat/tomcat-10/v10.1.46/bin/apache-tomcat-10.1.46.tar.gz.sha512
sha512sum -c apache-tomcat-10.1.46.tar.gz.sha512


# 3. 압축 해제 & 새 버전 준비
tar xvf apache-tomcat-10.1.46.tar.gz
mv apache-tomcat-10.1.46 tomcat


# 4. 설정 변경 적용 : 초기 설정에서 기존 conf와 bin만 수정
cp -pvfr /AUDPlatform/apps/tomcat_back/conf /AUDPlatform/apps/tomcat/conf
cp -pvfr /AUDPlatform/apps/tomcat_back/bin/AUDPlatform/apps/tomcat/bin




# 5. 버전 확인
./AUDPlatform/apps/tomcat/bin/version.sh




# 6. Start
./AUDPlatform/bin/commander.sh -s was