...
Now you can run this migrate job:
Code Block |
---|
cd etl\src
python job.py --job migrate_to_1.1.3 --action INIT --env SF_PROD |
reconfigure geowebcache truncate job
Add an automated job scheduled task to truncate the geowebcache.
The ETL job name is "map_cache_truncate".
This makes obsolete the linux crontab entry on GEO PROD (SF for sure, maybe SD) that truncate the geowebcache...
so you must remove these crontab entires. Execute the line below on sf_prod_geo to being editing the crontab...
Code Block |
---|
sudo crontab -e |
upgrade java (SF_PROD_GEO, SD_PROD_GEO)
...
Code Block |
---|
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 |
...
http://davidghedini.blogspot.com/2011/02/install-tomcat-7-on-centos-rhel.html
Code Block |
---|
wget http://mirrorwww.ccapache.columbia.edu/pub/software/apacheorg/dist/tomcat/tomcat-7/v7.0.3032/binsrc/apache-tomcat-7.0.3032-src.tar.gz cd /usr/share sudo tar xvfz ~/apache-tomcat-7.0.3032.tar.gz sudo chown -Rf tomcat:geodev /usr/share/apache-tomcat-7.0.3032/ |
configure tomcat startup
...
Code Block |
---|
cd /etc/init.d sudo svn export http://eas.googlecode.com/svn/trunk/geoserver/tomcat sudo dos2unix tomcat sudo chmod 755 tomcat sudo -u root /sbin/chkconfig --add tomcat sudo -u root /sbin/chkconfig --level 234 tomcat on sudo -u root /sbin/chkconfig --list tomcat sudo chmod g+rwx /usr/share/apache-tomcat-7.0.3032/webapps svn export http://eas.googlecode.com/svn/trunk/geoserver/deploy_geoserver_env.sh /usr/share/apache-tomcat-7.0.3032/webapps/deploy_geoserver_env.sh |
...
Code Block |
---|
view /usr/share/apache-tomcat-7.0.3032/logs/catalina.out |
examine tomcat admin panel
...
Code Block |
---|
cd /usr/share/apache-tomcat-7.0.3032/webapps sudo wget http://downloads.sourceforge.net/geoserver/geoserver-2.1.4-war.zip sudo unzip geoserver-2.1.4-war.zip |
Clean out the gwc
Code Block |
---|
sudo /sbin/service tomcat start sudo /sbin/service tomcat stop |
Clean out the gwc
Code Block |
---|
sudo rm -rf /srv/gwc
sudo /sbin/service tomcat start |
install geoserver image pyramid plugin
Code Block |
---|
mkdir downloads/ cd downloads/ wget http://iweb.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.1.4/geoserver-2.1.4-pyramid-plugin.zip unzip geoserver-2.1.4-pyramid-plugin.zip sudo cp gt-imagepyramid-2.7.5.jar /usr/share/apache-tomcat-7.0.3032/webapps/geoserver/WEB-INF/lib sudo chown -R tomcat:geodev /usr/share/apache-tomcat-7.0.3032/webapps/geoserver sudo /sbin/service tomcat start |
...
Code Block |
---|
cd /usr/share/apache-tomcat-7.0.3032/webapps sudo svn export http://eas.googlecode.com/svn/trunk/geoserver/deploy_geoserver_init.sh sudo dos2unix deploy_geoserver_init.sh sudo ./deploy_geoserver_init.sh |
...
Code Block |
---|
view /usr/share/apache-tomcat-7.0.3032/webapps/geoserver_configuration/logs/geoserver.log |
...