Skip to content

Instantly share code, notes, and snippets.

@danielbaccin
Last active January 14, 2016 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielbaccin/dedfec0c8eb551ac8a19 to your computer and use it in GitHub Desktop.
Save danielbaccin/dedfec0c8eb551ac8a19 to your computer and use it in GitHub Desktop.
intall postgresql no ubuntu
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
sudo passwd postgres
su postgres
psql -c "ALTER USER postgres WITH PASSWORD 'nova_senha'" -d template1
http://blog.patrickmaciel.com/instalando-o-postgresql-9-3-no-ubuntu-14-04-lts/
http://alcemirprogramador.blogspot.com.br/2013/07/liberando-acesso-remoto-postgresql.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment