Skip to content

Instantly share code, notes, and snippets.

@jaimerodas
Last active June 11, 2016 20:52
Show Gist options
  • Save jaimerodas/77cc8ee62419aa7f1008e4acfb14776b to your computer and use it in GitHub Desktop.
Save jaimerodas/77cc8ee62419aa7f1008e4acfb14776b to your computer and use it in GitHub Desktop.
Setup de PostgreSQL 9.3 en Ubuntu 14.04
sudo apt-get update
sudo apt-get install -y build-essential git
sudo apt-get install postgresql
# https://www.digitalocean.com/community/tutorials/scaling-ruby-on-rails-setting-up-a-dedicated-postgresql-server-part-3
sudo vim /etc/postgresql/9.3/main/postgresql.conf # Para aceptar conexiones de todas las ips
sudo vim /etc/postgresql/9.3/main/pg_hba.conf # Para restringir quién se puede loginear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment