Skip to content

Instantly share code, notes, and snippets.

@ldlsegovia
Last active December 27, 2015 21:09
Show Gist options
  • Save ldlsegovia/7389842 to your computer and use it in GitHub Desktop.
Save ldlsegovia/7389842 to your computer and use it in GitHub Desktop.
1 - sudo aptitude install tomcat6
2 - Download Web Archive from http://geoserver.org/display/GEOS/GeoServer+2.1.0
3 - Copy geoserver.war into /var/lib/tomcat6/webapps
4 - sudo /etc/init.d/tomcat6 restart
5 - Open browser at http://localhost:8080/geoserver/web/
6 - Default login and pass: admin - geoserver
Basic configuration...
1 - Go to: http://localhost:8080/geoserver/web/ o wherever you geoserver is running.
1 - Left sidebar. Click on Workspace - Create one
2 - Left sidebar. Click on Store -> Add new store -> Select PostGIS Database
Fill form with:
workspace: your new workspace.
datasource: the name of your app.
fill connection settings with your development db data.
Then, save.
3 - Left sidebar. Click on Layers -> Add new resource -> select your store -> clic on publish near your table.
Fill form with:
Native Bounding Box -180 -90 180 90
Lat/Lon Bounding Box -180 -90 180 90
Then, save
4 - Left sidebar. Layers preview. Find your created layer and click on Openlayers link to see points on the map. (Remember to fill your table with geodata first!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment