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

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.

主站蜘蛛池模板: 云浮市| 东乡县| 蒙山县| 盐津县| 宣汉县| 沂南县| 无棣县| 山丹县| 剑阁县| 嵩明县| 洪雅县| 宁陕县| 阳西县| 温泉县| 林口县| 渭源县| 依安县| 开阳县| 包头市| 丁青县| 枝江市| 香格里拉县| 浦县| 东阿县| 兴海县| 板桥市| 罗城| 龙江县| 青田县| 昆明市| 云浮市| 当涂县| 新疆| 满洲里市| 肥乡县| 波密县| 林西县| 高青县| 信宜市| 巍山| 二连浩特市|