Changes between Version 27 and Version 28 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
09/19/10 18:04:32 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v27 v28  
    1313apt-get install postgresql-8.4-postgis
    1414su postgres
    15 createdb gis
     15createuser -s -P gis
     16createdb -O gis gis
    1617createlang plpgsql -d gis
    1718psql -d gis -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql
     
    2526INSERT into spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text) values (900913 ,'EPSG',900913,'GEOGCS["WGS 84", DATUM["World Geodetic System 1984", SPHEROID["WGS 84", 6378137.0, 298.257223563,AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], NIT["degree",0.017453292519943295], AXIS["Longitude", EAST], AXIS["Latitude", NORTH],AUTHORITY["EPSG","4326"]], PROJECTION["Mercator_1SP"],PARAMETER["semi_minor", 6378137.0], PARAMETER["latitude_of_origin",0.0], PARAMETER["central_meridian", 0.0], PARAMETER["scale_factor",1.0], PARAMETER["false_easting", 0.0], PARAMETER["false_northing", 0.0],UNIT["m", 1.0], AXIS["x", EAST], AXIS["y", NORTH],AUTHORITY["EPSG","900913"]] |','+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs');
    2627}}}
    27 
    28 Create a user to access the db:
    29 {{{
    30 su postgres
    31 createuser -s -P gis
    32 }}}
    33 
    3428== Java ==
    3529{{{