虽然官方有安装教程,做一个笔记记录
1.环境安装;需要环境 Java8 (JDK 1.8.*)
2.下载GeoServer;GeoServer mac 环境下在了 Binary;
3. 安装运行
解压后目录如下:
NOTICE.md VERSION.txt etc logs start.ini
README.txt bin lib modules start.jar
RUNNING.txt data_dir license resources webapps
进入 bin 目录,可以看见相应的启动停止命令
shutdown.bat shutdown.sh startup.bat startup.sh
执行startup.sh 启动服务;默认端口为8080;
启动后访问 http://localhost:8080/geoserver/web
默认用户: admin ;密码:geoserver
如果想修改端口协议修改 start.ini,修改 jetty.port 即可
start.ini 内容如下
# Module: http
--module=http
# HTTP port to listen on
jetty.port=8080
# HTTP idle timeout in milliseconds
http.timeout=30000
# HTTP Socket.soLingerTime in seconds. (-1 to disable)
# http.soLingerTime=-1
# Parameters to control the number and priority of acceptors and selectors
# http.selectors=1
# http.acceptors=1
# http.selectorPriorityDelta=0
# http.acceptorPriorityDelta=0
# ---------------------------------------
# Module: webapp
--module=webapp
版权声明:本文为wngzhem原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。