Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. Accessing the machine:
  2.  
  3. ssh root@66.228.36.197
  4.  
  5. password : $m@rter@
  6.  
  7. //*******************************************************************************
  8.  
  9. deploying the project:
  10.  
  11. scp AnnotationSystem.war root@66.228.36.197:/root/annotator/apache-tomcat-8.5.5/webapps
  12.  
  13. //*******************************************************************************
  14.  
  15. Starting the server:
  16.  
  17. ~/annotator/apache-tomcat-8.5.5-src/bin/startup.sh
  18.  
  19. //*******************************************************************************
  20. Copying the database:
  21.  
  22. scp annotation.sql root@66.228.36.197:~/annotator/annotation.sql
  23.  
  24. //*******************************************************************************
  25. importing the database:
  26.  
  27. mysql -u annotator -p annotation < annotation.sql
  28.  
  29. Exporting the database
  30.  
  31. mysqldump -u annotator -p annotation > annotation.sql
  32.  
  33. scp root@66.228.36.197:~/annotator/annotation.sql annotation.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement