Changes between Version 202 and Version 203 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 03/24/15 11:30:27 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v202 v203 35 35 [http://postgis.refractions.net PostGIS] adds Spatial storage to [wiki:InstallationGuidelines/PostgreSQL PostgreSQL] (visit this page to configure PostgreSQL before returning here to continue with the GIS parts) 36 36 * alternatively these can be installed as part of [http://opengeo.org/community/suite/download/ OpenGeoSuite] 37 NB PostGIS in Debian Lenny is rather old - recommend using the version in Squeeze or Wheezy37 NB PostGIS in Debian Lenny or Squeeze is rather old - recommend using the version in Wheezy, ideally the upgraded from external packages (native version shown commented): 38 38 39 39 Wheezy users: 40 40 {{{ 41 apt-get install -y postg resql-9.1-postgis41 apt-get install -y postgis 42 42 su postgres 43 43 createuser -s -P gis 44 44 45 45 createdb -O gis -E UTF8 gis -T template0 46 psql -d gis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql 47 psql -d gis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql 46 #psql -d gis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql 47 #psql -d gis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql 48 psql -d gis -f /usr/share/postgresql/9.3/extension/postgis--2.1.5.sql 48 49 }}} 49 50