Skip to content

Instantly share code, notes, and snippets.

@dnmellen
Last active December 30, 2015 08:49
Show Gist options
  • Save dnmellen/7805372 to your computer and use it in GitHub Desktop.
Save dnmellen/7805372 to your computer and use it in GitHub Desktop.
Post installation PostgresSQL

Useful things to do after postgresql installation

# su - postgre
$ createuser youruser
$ psql
postgres=# ALTER USER youruser WITH PASSWORD 'yoursecretpassword';
postgres=# CREATE DATABASE yourdb owner youruser;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment