With Java installed and working, let's install GeoServer. When writing this book, the latest version is 2.11.0. Perform the following steps:
- 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://sourceforge.net/projects/geoserver/files/GeoServer/
2.11.0/geoserver-2.11.0-war.zip
wget is a command-line utility commonly available on Linux systems. If you are using a Windows machine it is probably not available. You can download the items just pasting the URL into your internet browser.
- Check if Tomcat is not running; if it is, then stop it. Now, unzip the archive you just downloaded in the webapps folder:
~ $ sudo unzip -d /opt/apache-tomcat-8.5.13/webapps geoserver
-2.11.0-war.zip geoserver.war...