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.
Dirigible/Infrastructure/Update Trial
Contents
Update Trial
Remote copy
scp dirigible-allinone-<version>-trial-executable.jar vsacct@dirigible.eclipse.org:~
Copy to working directory
ssh vsacct@dirigible.eclipse.org su sudo -u tomcat cp dirigible-allinone-<version>-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-allinone-<version>-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