Posts

Showing posts from November, 2011

How to upgrade Geoserver 2.1.1 to 2.1.2

From 2.1.1 to 2.1.2, Ubuntu 10.04 Server, Tomcat6 Note: all those commands need to be done as root (or alternatively, run sudo before the command) Stop Apache tomcat: /etc/init.d/tomcat stop Backup the your directories, this could be different from your own installation: /var/geoserver-data, /opt/tomcat/webapps/geoserver/   tar -cf geoserver-data-nov-17.tar /var/geoserver-data # takes quite long on current geoserver installation (orthofotos, ...) gzip geoserver-data-nov-17.tar tar -cf geoserver-app-nov-17.tar /opt/tomcat/webapps/geoserver gzip geoserver-app-nov-17.tar Additionally, backup web.xml file from WEB-INF directory: cp /opt/tomcat/webapps/geoserver/WEB-INF/web.xml web-backup-nov17.xml Download latest (in this case: 2.1.2) geoserver version (war archive) wget http://downloads.sourceforge.net/geoserver/geoserver-2.1.2-war.zip Unzip it unzip geoserver-2.1.2-war.zip Copy it to the tomcat webapps directory cp geoserver.war /opt/tomcat/webapps/geoserver.war Delete