官术网_书友最值得收藏!

Deploying GeoServer on Tomcat

With Java installed and working, let's install GeoServer. When writing this book, the latest version is 2.11.0. Perform the following steps:

  1. 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.
  1. 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
Archive: geoserver.war.zip inflating: ./opt/apache -tomcat-8.5.13/webapps/geoserver.war
On Windows, you can use the zip GUI, or the uncompressing tools built-in the operating system.
  1. Now, you can start Tomcat. You have to wait until GeoServer is properly deployed. This may take a few minutes, then open your browser and point it to the Web Admin Console at http://localhost:8080/geoserver/web. You should see it like in this screenshot:

We deployed the GeoServer web archive on Tomcat and it unpacked the archive content. If there were no errors in the package, thanks to the great job of GeoServer developers (chances are that you will not find them), then Tomcat automatically starts GeoServer.

主站蜘蛛池模板: 陆河县| 江津市| 桃江县| 桑日县| 屏南县| 搜索| 崇州市| 张家口市| 双桥区| 达孜县| 龙泉市| 丰顺县| 镇沅| 尤溪县| 财经| 电白县| 西乌| 平陆县| 项城市| 广水市| 诸暨市| 木兰县| 尉氏县| 高安市| 汉阴县| 佛山市| 揭西县| 南昌县| 公主岭市| 万荣县| 河北区| 曲水县| 鹤壁市| 轮台县| 富源县| 莱芜市| 务川| 蒙自县| 永仁县| 南木林县| 许昌市|