Last active
December 27, 2015 21:09
-
-
Save ldlsegovia/7389842 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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