Skip to content

Instantly share code, notes, and snippets.

@the-incident-guy
Created July 31, 2018 15:55
Show Gist options
  • Select an option

  • Save the-incident-guy/e3df6d26c207c4ddad722b7f155f258a to your computer and use it in GitHub Desktop.

Select an option

Save the-incident-guy/e3df6d26c207c4ddad722b7f155f258a to your computer and use it in GitHub Desktop.
Postgres on 16.04
#! /bin/bash
sudo add-apt-repository "deb https://apt.postgresql.org/pub/repos/apt xenial-pgdg main"
sudo wget --quiet -O - https://postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y postgresql-9.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment