AWS with SecureCRT

How to deploy AWS with SecureCRT

  1. rz -be
  2. cd tomcat/webapps
  3. ../bin/shutdown.sh
  4. rm -rf ./*
  5. mv ~/pt_server.war .
  6. ../bin/startup.sh
  7. ../bin/shutdown.sh
  8. vim ./pt_server/WEB-INF/jdbc.properties
  9. modify
  10. I
    jdbc.driverClassName=com.mysql.jdbc.Driver
    jdbc.url=jdbc:mysql://localhost:3306/pt?characterEncoding=utf-8
    jdbc.username=xxxx
    jdbc.password=xxxxx
    ESC
  11. : wq
  12. ../bin/startup.sh
  13. if there were something went wrong ,check here: cat pt_server/WEB-INF/jdbc.properties
  14. How to download from AWS
  15. cd tomcat/webapps
  16. sz pt_server.war
  17. Then find it in option session options — X/Y/Zmodem