How to deploy AWS with SecureCRT
- rz -be
- cd tomcat/webapps
- ../bin/shutdown.sh
- rm -rf ./*
- mv ~/pt_server.war .
- ../bin/startup.sh
- ../bin/shutdown.sh
- vim ./pt_server/WEB-INF/jdbc.properties
- modify
- I
jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/pt?characterEncoding=utf-8
jdbc.username=xxxx
jdbc.password=xxxxx
ESC - : wq
- ../bin/startup.sh
- if there were something went wrong ,check here: cat pt_server/WEB-INF/jdbc.properties
- How to download from AWS
- cd tomcat/webapps
- sz pt_server.war
- Then find it in option session options — X/Y/Zmodem