Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 安裝 GeoServer 2.8.3 + GDAL 外掛完整教學(x64 環境關鍵:必須選 Run manually)

編輯:關於 Windows

GeoServer 預設支援柵格格式有限,需安裝 GDAL 外掛擴充。本文記錄在 Windows x64 環境完整安裝流程,關鍵點:GeoServer 安裝時必須選「Run manually」,不能安裝為系統服務,否則 64 位元 JRE 下 GDAL 無法載入。

安裝順序與要點

  1. JDK 8u77 x64:記住安裝路徑,建議 JRE 裝同父目錄,後續需指定 JRE 路徑。
  2. VC++ 2010 x64 執行階段:直接安裝。
  3. GeoServer 2.8.3:
    • 「Run manually」(關鍵!x64 必須選此項)
    • 指定 JRE 路徑、資料目錄、管理員帳密、埠號(預設 8080)
    • 完成後透過開始選單啟動,瀏覽器訪問 https://localhost:8080/geoserver 驗證。
  4. GDAL 外掛部署:
    • 關閉 GeoServer,解壓 geoserver-2.8.3-gdal-plugin.zip,複製所有 jar 到 webapps\geoserver\WEB-INF\lib 覆蓋。
    • 解壓 gdal-1.9.2-MSVC2010-x64.zip,將目錄加入系統環境變數 PATH(舊版 OS 需手動加分號)。
    • 重啟 GeoServer,登入後「資料存儲 → 新增」若見到大量「Raster Data Sources」類別(原僅 5 類)即代表 GDAL 安裝成功。

注意:x64 系統下絕對不能將 GeoServer 安裝為服務,否則 GDAL 無法載入。

Copyright © Windows教程網 All Rights Reserved