Skip to content

Instantly share code, notes, and snippets.

@josemarluedke
Created October 10, 2012 20:47
Show Gist options
  • Save josemarluedke/3868318 to your computer and use it in GitHub Desktop.
Save josemarluedke/3868318 to your computer and use it in GitHub Desktop.
Install PostgreSQL and create some_user into Postgres
# sudo apt-get install postgresql libpq-dev postgresql-contrib
$ sudo -u postgres createuser some_user
$ cd /etc/init.d/
$ sudo -u postgres psql template1
template1=# ALTER USER some_user WITH PASSWORD 'some_password';
# Edit
vim /etc/postgresql/9.1/main/pg_hba.conf
# Database administrative login by Unix domain socket
# local all some_user .....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment