Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

install the latest version of java

http://docs.geoserver.org/stable/en/user/production/java.html

http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jre.html#install-64-rpm

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"
sudo rpm -ivh jre-7-linux-x64.rpm?AuthParam=1347904319_53c7d4517bc08e457c15c859a1ba216e
install JAI

http://download.java.net/media/jai/builds/release/1_1_3/

wget http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jre.bin
sudo cp jai-1_1_3-lib-linux-amd64-jre.bin /usr/java/jre1.7.0
sudo cd /usr/java/jre1.7.0
sudo sh jai-1_1_3-lib-linux-amd64-jre.bin
remove previous version of java
cd /usr
sudo rm -rf jdk1.6.0_24
install tomcat 7

http://davidghedini.blogspot.com/2011/02/install-tomcat-7-on-centos-rhel.html

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
sudo tar xvfz ~/apache-tomcat-7.0.30.tar.gz
sudo chown -Rf tomcat:tomcat /usr/share/apache-tomcat-7.0.30/
configure tomcat startup
cd /etc/init.d
sudo svn export http://eas.googlecode.com/svn/trunk/geoserver/tomcat
sudo dos2unix tomcat
sudo chmod 755 tomcat
sudo chkconfig --add tomcat  
sudo chkconfig --level 234 tomcat on  
sudo chkconfig --list tomcat
tomcat start, stop, restart
sudo service tomcat start
sudo service tomcat stop
sudo service tomcat restart
inspect log files for errors
view /usr/share/apache-tomcat-7.0.30/logs/catalina.out
examine tomcat admin panel

http://localhost:8081/

remove old version of tomcat
sudo rm -rf /usr/share/tomcat5
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.