Last active
August 29, 2015 14:22
-
-
Save xcooper/5c592e376acfb490bdee to your computer and use it in GitHub Desktop.
PostgreSQL initdb
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
$ su | |
# postgresql-setup initdb | |
# su - postgres | |
$ psql | |
\password postgres | |
$ echo "host all all 192.168.133.0/24 md5" >> /var/lib/pgsql/data/pg_hba.conf | |
$ exit | |
# service postgres start | |
# exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment