Created
October 25, 2013 08:26
-
-
Save behboud/7151328 to your computer and use it in GitHub Desktop.
install local postgis
This file contains 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
sudo apt-get install postgresql-9.3 postgresql-contrib-9.3 postgresql-server-dev-9.3 postgresql-9.3-postgis-2.1 | |
sudo -H -u postgres /usr/lib/postgresql/9.3/bin/pg_upgrade \ | |
-b /usr/lib/postgresql/9.1/bin \ | |
-B /usr/lib/postgresql/9.3/bin \ | |
-d /var/lib/postgresql/9.1/main \ | |
-D /var/lib/postgresql/9.3/main \ | |
-o ' -c config_file=/etc/postgresql/9.1/main/postgresql.conf' \ | |
-O ' -c config_file=/etc/postgresql/9.3/main/postgresql.conf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment