Time for action – deploying GeoServer on Tomcat
With Java installed and working, let's install the GeoServer. The latest version is 2.2.
Download the OS-independent version from GeoServer's download page. You can point your browser to the URL or use a command-line tool like
wget
:~$ wget http://downloads.sourceforge.net/geoserver/geoserver-2.2-war.zip
Unzip the archive file:
~$ unzip geoserver-2.2-war.zip The war file for GeoServer is quite big, actually a little more than 52 MByte. In Tomcat 7 Manager there is a default limit for deployable application that is at 50 MByte. You will set it to a safe size for GeoServer. Open the $CATALINA_HOME/webapps/manager/WEB-INF/web.xml file and look for this section <multipart-config> <!-- 50MB max --> <max-file-size>52428800</max-file-size> <max-request-size>52428800</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config>
Set the
max-file...