war파일은 절대루 지우면 안댐~
dbconfig file - localhost로
sts 해당 프로젝트 우클릭 - export
war file
destination :
경로 D:\ROOT.war , targer runtime check (미체크시 새롭게 적용할 파일 읽어오지 못함), overwrite existing file check
ftp tomcat/webapps 에 생성된 .war 파일 업로드
mysql(putty)
cd /home/kkp_402/tomcat/bin +enter
./shutdown.sh +enter
cd /home/kkp_402/tomcat/bin +enter
./startup.sh +enter
=> ftp에 ROOT 폴더 생성됨
1. war 파일 만들기 전에 database정보를 도메인에서 localhost:3306으로 무조건 변경
2. 프로젝트를 war 파일로 생성
3. putty에서 cd /home/아이디/tomcat/bin으로 이동
4. ./shutdonw.sh 를 실행
5. FTP에서 기존 war파일을 삭제(* 첨부파일 디렉토리도 삭제되어버림)
6. 신규 war파일을 업로드
7. putty에서 ./startup.sh를 실행
upload 폴더는 root안에 바로 넣으면 됨, (파일속성 바꾸기)해당폴더 ftp 속성 - 숫자값 707
'MEMO > 기타' 카테고리의 다른 글
인증메일 보내기 (1) | 2024.07.05 |
---|---|
mail 보내기 (0) | 2024.07.05 |
👀⚡ (0) | 2024.06.27 |
게시판 editor api 설치 [ ckeditor4 ] (0) | 2024.06.17 |
sts 패키지명 path에서 제거 (0) | 2024.05.31 |