Created
April 6, 2010 23:33
-
-
Save davidjrice/358271 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## validator.bodyguardapp.comQ2N5Lw5mq | |
| aptitude update | |
| locale-gen en_GB.UTF-8 | |
| /usr/sbin/update-locale LANG=en_GB.UTF-8 | |
| aptitude safe-upgrade | |
| aptitude full-upgrade | |
| aptitude install build-essential | |
| aptitude install openjdk-6-jdk | |
| wget http://apache.mirrors.timporter.net/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz | |
| root@validator:~# wget http://mirrors.ukfast.co.uk/sites/ftp.apache.org/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz | |
| root@validator:~# tar -xzf apache-tomcat-6.0.26.tar.gz | |
| tar -xzvf apache-tomcat-6.0.20.tar.gz | |
| sudo mv apache-tomcat-6.0.20 /usr/local/tomcat | |
| nano /etc/init.d/tomcat | |
| # Tomcat auto-start | |
| # | |
| # description: Auto-starts tomcat | |
| # processname: tomcat | |
| # pidfile: /var/run/tomcat.pid | |
| export JAVA_HOME=/usr/lib/jvm/java-6-sun | |
| case $1 in | |
| start) | |
| sh /usr/local/tomcat/bin/startup.sh | |
| ;; | |
| stop) | |
| sh /usr/local/tomcat/bin/shutdown.sh | |
| ;; | |
| restart) | |
| sh /usr/local/tomcat/bin/shutdown.sh | |
| sh /usr/local/tomcat/bin/startup.sh | |
| ;; | |
| esac | |
| exit 0 | |
| export JAVA_HOME=/usr/lib/jvm/java-6-openjdk | |
| sudo chmod +x /etc/init.d/tomcat | |
| sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcat | |
| sudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat | |
| sudo /etc/init.d/tomcat start | |
| sudo /etc/init.d/tomcat stop | |
| sudo /etc/init.d/tomcat restart | |
| mkdir checker | |
| cd checker | |
| svn co https://whattf.svn.cvsdude.com/build/trunk/ build | |
| python build/build.py all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment