Skip to content

Instantly share code, notes, and snippets.

@daveism
Forked from christianroman/gist:6516864
Created January 17, 2014 01:54
Show Gist options
  • Select an option

  • Save daveism/8467187 to your computer and use it in GitHub Desktop.

Select an option

Save daveism/8467187 to your computer and use it in GitHub Desktop.
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