Skip to content

Instantly share code, notes, and snippets.

@MrTortoise
Last active June 9, 2017 10:55
Show Gist options
  • Save MrTortoise/dad743f5f84e0e4b91f849d4ad08bbb1 to your computer and use it in GitHub Desktop.
Save MrTortoise/dad743f5f84e0e4b91f849d4ad08bbb1 to your computer and use it in GitHub Desktop.
install postegres on ubuntu 17.04
# from https://www.postgresql.org/download/linux/ubuntu/
sudo "deb http://apt.postgresql.org/pub/repos/apt/ zesty-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
sudo apt-get update
sudo apt-get install postgresql-9.4 postgresql-client-9.4 postgresql-contrib-9.4 pgadmin3 postgresql-doc-9.4
# setup postgres
sudo -u postgres psql postgres
\password postgres
pgadmin3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment