Changes between Version 8 and Version 9 of GPSphotos


Ignore:
Timestamp:
09/26/16 23:04:50 (8 years ago)
Author:
jorrit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GPSphotos

    v8 v9  
    1010yum install libspatialite
    1111}}}
    12 * Install postgresql server and postgis if Postgres is the backend DB:
    13 {{{
    14 yum install postgresql-server postgresql-contrib postgis
    15 }}}
     12* Install postgresql server and postgis if Postgres is the backend DB, see the PostgresQL / Postgis section below
    1613
    1714 * In order for GPSphoto to work you also need the following packages:
    1815{{{
    19 yum install mod_wsgi python-webob python-psycopg2 python-pillow python2-boto
     16yum install mod_wsgi python-webob python-pillow python2-boto
    2017}}}
    2118 * To make sure exif data is kept with the images install piexif (attached)
     
    2421}}}
    2522
    26 == PostGIS ==
    2723
    28 As root init the DB if needed:
     24
     25== PostgresQL / PostGIS ==
     26
     27Get the latest postgres / postgis by install the Yum repo from https://yum.postgresql.org/repopackages.php and install the following packages:
    2928{{{
    30 postgresql-setup initdb
    31 systemctl start postgresql
    32 systemctl enable postgresql
     29yum install postgresql95-server postgresql95 postgresql95-contrib postgis2_95 postgis2_95-utils postgis2_95-client python-psycopg2 python-psycopg2-doc ogr_fdw95
     30}}}
     31Edit /etc/sysconfig/pgsql/postgresql-9.5 to contain the following content:
     32{{{
     33PGPORT=5440
     34}}}
     35Initialize the database and start and enable it:
     36{{{
     37/usr/pgsql-9.5/bin/postgresql95-setup initdb
     38systemctl enable postgresql-9.5.service
     39systemctl start postgresql-9.5
    3340}}}
    3441