-
-
Save daveism/8467187 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rpm -Uvh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm | |
| yum install postgresql93 postgresql93-server postgresql93-contrib postgresql93-devel postgis2_93 postgis2_93-utils | |
| #Configure PostgreSQL | |
| chkconfig postgresql-9.3 on | |
| service postgresql-9.3 initdb | |
| service postgresql-9.3 start | |
| # Create PostGIS template | |
| su - postgres | |
| psql postgres | |
| postgres=# \c template1 | |
| postgres=# CREATE EXTENSION postgis; | |
| createdb geodata -T template1 | |
| #Install PGRouting | |
| yum install boost boost-devel | |
| yum install gcc-c++ | |
| yum install pgrouting_93 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment