Changes between Version 21 and Version 22 of GPSphotos


Ignore:
Timestamp:
02/18/17 12:38:28 (8 years ago)
Author:
jorrit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GPSphotos

    v21 v22  
    3434Get the latest postgres / postgis by install the Yum repo from https://yum.postgresql.org/repopackages.php and install the following packages:
    3535{{{
    36 yum install postgresql95-server postgresql95 postgresql95-contrib postgis2_95 postgis2_95-utils\
    37  postgis2_95-client python-psycopg2 python-psycopg2-doc ogr_fdw95 pgrouting_95
     36yum install postgresql96-server postgresql96 postgresql96-contrib postgis2_96 postgis2_96-utils\
     37 postgis2_96-client python-psycopg2 python-psycopg2-doc ogr_fdw96 pgrouting_96
    3838}}}
    39 Edit /etc/sysconfig/pgsql/postgresql-9.5 to contain the following content:
     39Edit /etc/sysconfig/pgsql/postgresql-9.6 to contain the following content:
    4040{{{
    4141PGPORT=5440
     
    4343Initialize the database and start and enable it:
    4444{{{
    45 /usr/pgsql-9.5/bin/postgresql95-setup initdb
    46 systemctl enable postgresql-9.5.service
    47 systemctl start postgresql-9.5
     45/usr/pgsql-9.6/bin/postgresql96-setup initdb
     46systemctl enable postgresql-9.6.service
     47systemctl start postgresql-9.6
    4848}}}
    4949Make sure the path is updated by creating  /var/lib/pgsql/.pgsql_profile with the content:
     
    5454Create the DB schema:
    5555{{{
    56 sudo -i postgres
     56su -i postgres
    5757createdb mapserver
    5858createuser mapserver