Created
October 10, 2012 20:47
-
-
Save josemarluedke/3868318 to your computer and use it in GitHub Desktop.
Install PostgreSQL and create some_user into Postgres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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