Installation der Pakete:
postgresql
postgresql-client-common
postgresql-8.4-postgis
postgis
pgadmin3
Anlegen einer Datenbank:
sudo su postgresql
createdb my_db
createlang plpgsql my_db
psql -d my_db -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql
psql -d my_db -f /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql
psql -d my_db -f /usr/share/doc/postgis/doc/postgis_comments.sql
Mehr dazu unter:
http://blog.smartlogicsolutions.com/2010/03/04/installing-postgis-1-5-0-on-postgresql-8-4-on-ubuntu-9-10/
Keine Kommentare:
Kommentar veröffentlichen