Table of Contents |
---|
geoserver upgrade
We must be root for each of the following steps.
Code Block |
---|
sudo su - root |
install the latest version of java
http://docs.geoserver.org/stable/en/user/production/java.html
...
Code Block |
---|
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7/jre-7-linux-x64.rpm" rpm -ivh jre-7-linux-x64.rpm?AuthParam=1347904319_53c7d4517bc08e457c15c859a1ba216e |
add these lines to ~root/.bashrc
Code Block |
---|
JAVA_HOME=/usr/java/jre1.7.0
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH |
...
install JAI
http://download.java.net/media/jai/builds/release/1_1_3/
Code Block |
---|
wget http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jre.bin cp jai-1_1_3-lib-linux-amd64-jre.bin /usr/java/jre1.7.0 cd /usr/java/jre1.7.0 sh jai-1_1_3-lib-linux-amd64-jre.bin |
...
install tomcat 7
http://davidghedini.blogspot.com/2011/02/install-tomcat-7-on-centos-rhel.html
Code Block |
---|
wget http://mirror.cc.columbia.edu/pub/software/apache/tomcat/tomcat-7/v7.0.30/bin/apache-tomcat-7.0.30.tar.gz cd /usr/share tar xvfz ~/apache-tomcat-7.0.30.tar.gz chown -Rf tomcat:tomcat /usr/share/apache-tomcat-7.0.30/ |
...
configure tomcat startup
Code Block |
---|
cd /etc/init.d svn export http://eas.googlecode.com/svn/trunk/geoserver/tomcat dos2unix tomcat chmod 755 tomcat chkconfig --add tomcat chkconfig --level 234 tomcat on chkconfig --list tomcat |
...
tomcat start, stop, restart
...
examine tomcat admin panel