Skip to content

Instantly share code, notes, and snippets.

@jinnabaalu
Created December 22, 2016 04:05
Show Gist options
  • Save jinnabaalu/c9f36f4100ff4d60563c6a24329582b9 to your computer and use it in GitHub Desktop.
Save jinnabaalu/c9f36f4100ff4d60563c6a24329582b9 to your computer and use it in GitHub Desktop.
Remove any files
sudo rm hummingbird-demo.war
Rename any files
sudo scp hummingbird-demo.war hummingbird.war
Copy from VM to VM
sudo scp saurabh@192.168.1.230:DelightWar/Dec2016/hummingbird-demo.war delight-war/112161349/
Jetty Webapps Folder
cd /usr/share/jetty9/webapps/
Check Jetty Log
cd /var/log/jetty9/
Check the status of the port
sudo netstat -naptu | grep 8080
sudo service jetty9 restart;
sudo service jetty9 status;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment