Advertisement
Guest User

Untitled

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