Changes between Version 8 and Version 9 of GPSphotos
- Timestamp:
- 09/26/16 23:04:50 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GPSphotos
v8 v9 10 10 yum install libspatialite 11 11 }}} 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 16 13 17 14 * In order for GPSphoto to work you also need the following packages: 18 15 {{{ 19 yum install mod_wsgi python-webob python-p sycopg2 python-pillow python2-boto16 yum install mod_wsgi python-webob python-pillow python2-boto 20 17 }}} 21 18 * To make sure exif data is kept with the images install piexif (attached) … … 24 21 }}} 25 22 26 == PostGIS ==27 23 28 As root init the DB if needed: 24 25 == PostgresQL / PostGIS == 26 27 Get the latest postgres / postgis by install the Yum repo from https://yum.postgresql.org/repopackages.php and install the following packages: 29 28 {{{ 30 postgresql-setup initdb 31 systemctl start postgresql 32 systemctl enable postgresql 29 yum install postgresql95-server postgresql95 postgresql95-contrib postgis2_95 postgis2_95-utils postgis2_95-client python-psycopg2 python-psycopg2-doc ogr_fdw95 30 }}} 31 Edit /etc/sysconfig/pgsql/postgresql-9.5 to contain the following content: 32 {{{ 33 PGPORT=5440 34 }}} 35 Initialize the database and start and enable it: 36 {{{ 37 /usr/pgsql-9.5/bin/postgresql95-setup initdb 38 systemctl enable postgresql-9.5.service 39 systemctl start postgresql-9.5 33 40 }}} 34 41