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.
Difference between revisions of "Dirigible/Infrastructure/Update Trial"
< Dirigible | Infrastructure
Line 4: | Line 4: | ||
ssh vsacct@dirigible.eclipse.org | ssh vsacct@dirigible.eclipse.org | ||
su | su | ||
+ | cd /opt/tomcat/apache-tomcat-7.0.67/bin/ | ||
+ | sudo -u tomcat ./shutdown.sh | ||
+ | cd /opt/tomcat/apache-tomcat-7.0.67/work/ | ||
+ | rm -R Catalina | ||
cd /opt/tomcat/apache-tomcat-7.0.67/webapps/ | cd /opt/tomcat/apache-tomcat-7.0.67/webapps/ | ||
rm ROOT.war | rm ROOT.war | ||
+ | rm -R ROOT | ||
sudo -u tomcat wget http://download.eclipse.org/dirigible/drops/<version>/trial/allinone/ROOT.war | sudo -u tomcat wget http://download.eclipse.org/dirigible/drops/<version>/trial/allinone/ROOT.war | ||
+ | sudo -u tomcat ./catalina.sh run <&- & | ||
==== Forwarding ==== | ==== Forwarding ==== |
Revision as of 14:54, 26 January 2016
Update Trial
Login to Trial VM
ssh vsacct@dirigible.eclipse.org su cd /opt/tomcat/apache-tomcat-7.0.67/bin/ sudo -u tomcat ./shutdown.sh cd /opt/tomcat/apache-tomcat-7.0.67/work/ rm -R Catalina cd /opt/tomcat/apache-tomcat-7.0.67/webapps/ rm ROOT.war rm -R ROOT sudo -u tomcat wget http://download.eclipse.org/dirigible/drops/<version>/trial/allinone/ROOT.war sudo -u tomcat ./catalina.sh run <&- &
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