- $ sudo mkdir /media/shares/hudson
- $ sudo chown tomcat6:tomcat6 /media/shares/hudson
- $ sudo pico /etc/default/tomcat6
- Add highlighted red:
Add highlighted blue if not already present
JAVA_OPTS="-Djava.awt.headless=true -XX:+UseConcMarkSweepGC -DHUDSON_HOME=/media/shares/hudson -Dartifactory.home=/media/shares/artifactory -server -Xms1g -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -XX:NewSize=384m -XX:MaxNewSize=384m"
- Add highlighted red:
- $ sudo /etc/init.d/tomcat6 restart
- $ cd /var/lib/tomcat6/webapps
- $ sudo wget http://hudson-ci.org/downloads/war/2.0.1/hudson.war
Validate http:\\servername:8080\hudson