Changes between Version 202 and Version 203 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
03/24/15 11:30:27 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v202 v203  
    3535[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)
    3636 * 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 Wheezy
     37NB 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):
    3838
    3939Wheezy users:
    4040{{{
    41 apt-get install -y postgresql-9.1-postgis
     41apt-get install -y postgis
    4242su postgres
    4343createuser -s -P gis
    4444
    4545createdb -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
     48psql -d gis -f /usr/share/postgresql/9.3/extension/postgis--2.1.5.sql
    4849}}}
    4950