Changes between Version 21 and Version 22 of GPSphotos
- Timestamp:
- 02/18/17 12:38:28 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GPSphotos
v21 v22 34 34 Get the latest postgres / postgis by install the Yum repo from https://yum.postgresql.org/repopackages.php and install the following packages: 35 35 {{{ 36 yum install postgresql9 5-server postgresql95 postgresql95-contrib postgis2_95 postgis2_95-utils\37 postgis2_9 5-client python-psycopg2 python-psycopg2-doc ogr_fdw95 pgrouting_9536 yum install postgresql96-server postgresql96 postgresql96-contrib postgis2_96 postgis2_96-utils\ 37 postgis2_96-client python-psycopg2 python-psycopg2-doc ogr_fdw96 pgrouting_96 38 38 }}} 39 Edit /etc/sysconfig/pgsql/postgresql-9. 5to contain the following content:39 Edit /etc/sysconfig/pgsql/postgresql-9.6 to contain the following content: 40 40 {{{ 41 41 PGPORT=5440 … … 43 43 Initialize the database and start and enable it: 44 44 {{{ 45 /usr/pgsql-9. 5/bin/postgresql95-setup initdb46 systemctl enable postgresql-9. 5.service47 systemctl start postgresql-9. 545 /usr/pgsql-9.6/bin/postgresql96-setup initdb 46 systemctl enable postgresql-9.6.service 47 systemctl start postgresql-9.6 48 48 }}} 49 49 Make sure the path is updated by creating /var/lib/pgsql/.pgsql_profile with the content: … … 54 54 Create the DB schema: 55 55 {{{ 56 su do-i postgres56 su -i postgres 57 57 createdb mapserver 58 58 createuser mapserver