Created
June 20, 2014 21:58
-
-
Save pnorman/936552deb40a54dd9c00 to your computer and use it in GitHub Desktop.
Shell commands for postgres on 12.04
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
sudo -i | |
cat > /etc/apt/sources.list.d/pgdg.list <<EOF | |
deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main | |
#deb-src http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main | |
EOF | |
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - | |
apt-get update | |
apt-get --no-install-recommends install -y postgresql-9.3-postgis-2.1 postgresql-contrib-9.3 proj-bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment