Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.62 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. apt-get update
  3. apt-get -y install python-software-properties
  4. add-apt-repository -y ppa:webupd8team/java
  5. apt-get update
  6. echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
  7. echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
  8. echo "Installing java8... Please wait..."
  9. apt-get -y install oracle-java8-installer >/dev/null 2>&1
  10. echo " "
  11. echo "Installing maven... Please wait..."
  12. apt-get -y install maven >/dev/null 2>&1
  13. echo " "
  14.  
  15. cd /UA_Web_Challenge/uwc/
  16.  
  17. echo "To run project go to 'http://localhost:8888//'"
  18. mvn tomcat7:run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement