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

Difference between revisions of "Dirigible/Infrastructure/Update Trial"

m
Line 1: Line 1:
 
== Update Trial ==
 
== Update Trial ==
  
==== Remote copy ====
+
==== Login to Trial VM ====
    scp dirigible-allinone-<version>-trial-executable.jar vsacct@dirigible.eclipse.org:~
+
 
+
==== Copy to working directory ====
+
 
     ssh vsacct@dirigible.eclipse.org
 
     ssh vsacct@dirigible.eclipse.org
 
     su
 
     su
     sudo -u tomcat cp dirigible-allinone-<version>-trial-executable.jar /opt/tomcat/temp/
+
     cd /opt/tomcat/apache-tomcat-7.0.67/webapps/
 
+
    rm ROOT.war
==== Stop running processes ====
+
     sudo -u tomcat wget http://download.eclipse.org/dirigible/drops/<version>/trial/allinone/ROOT.war
    ps -ef|grep java
+
    kill -9 {x2 processes}
+
    cd /opt/tomcat/temp
+
 
+
==== Run ====
+
     sudo -u tomcat java -jar dirigible-allinone-<version>-trial-executable.jar <&- &
+
 
+
  
 
==== Forwarding ====
 
==== Forwarding ====

Revision as of 10:37, 19 January 2016

Update Trial

Login to Trial VM

   ssh vsacct@dirigible.eclipse.org
   su
   cd /opt/tomcat/apache-tomcat-7.0.67/webapps/
   rm ROOT.war
   sudo -u tomcat wget http://download.eclipse.org/dirigible/drops/<version>/trial/allinone/ROOT.war

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