Last active
December 21, 2015 16:09
-
-
Save speed-of-light/6331771 to your computer and use it in GitHub Desktop.
Setup postgresql under ubuntu 13.04
This file contains hidden or 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
| # install something | |
| sudo apt-get install postgresql postgresql-contrib | |
| # check login ability | |
| sudo -u postgres psql | |
| # create user with passwords in shell | |
| sudo -u postgres createuser $UserName -P | |
| # try login as the created user | |
| psql -U $USER -h localhost -d template1 | |
| # Do whatever u want... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment