Changes between Version 3 and Version 4 of UsersWikiPostgis15Debian6pkg


Ignore:
Timestamp:
Mar 7, 2012, 2:43:02 AM (12 years ago)
Author:
Mike Taves
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostgis15Debian6pkg

    v3 v4  
    1 = How to install PostGIS 1.5 on Debian 6.0 (''squeeze'') from packages =
    2 
    3 ||'''Component'''||'''Version'''||
    4 ||[http://packages.debian.org/squeeze/postgresql-8.4-postgis PostGIS]||1.5.1||
    5 ||[http://packages.debian.org/squeeze/postgresql-8.4 PostgreSQL]||8.4.11||
    6 ||[http://packages.debian.org/squeeze/libproj0 PROJ]||4.7.0||
    7 ||[http://packages.debian.org/squeeze/libgeos-c1 GEOS]||3.2.0||
    8 
    9 Either log-in as `root`, or use "`su - root`" from a user account with admin privileges. Install everything using:
    10 {{{
    11 apt-get install postgresql-8.4-postgis
    12 }}}
    13 Accept and install the approx 12 packages.
    14 
    15 Complete a post-install by creating a template, which can be re-used for creating multiple spatially-enabled databases. Or if you just want to make one spatially enabled database, you can modify the commands for your needs.
    16 
    17 Log-in as `postgres` from `root` using "`su - postgres`", and use the following commands:
    18 {{{
    19 createdb template_postgis
    20 createlang plpgsql template_postgis
    21 psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql
    22 psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql
    23 psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis_comments.sql
    24 }}}
     1[wiki:UsersWikiPostGIS15Debian60pkg]