Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Dirigible/Infrastructure/Update Trial

< Dirigible‎ | Infrastructure
Revision as of 03:28, 16 September 2015 by Unnamed Poltroon (Talk) (Created page with "== Update Trial == ==== Remote copy ==== scp dirigible-all-tomcat-trial-executable.jar vsacct@dirigible.eclipse.org:~ ==== Copy to working directory ==== ssh vsacct@...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update Trial

Remote copy

   scp dirigible-all-tomcat-trial-executable.jar vsacct@dirigible.eclipse.org:~

Copy to working directory

   ssh vsacct@dirigible.eclipse.org
   su
   sudo -u tomcat cp dirigible-all-tomcat-trial-executable.jar /opt/tomcat/temp/

Stop running processes

   ps -ef|grep java
   kill -9 {x2 processes}
   cd /opt/tomcat/temp

Run

   sudo -u tomcat java -jar dirigible-all-tomcat-trial-executable.jar <&- &


Forwarding

Usually this needs to be executed only on new and clean VM:

   iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
   iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080

Back to the top