Created
August 11, 2012 13:12
-
-
Save ffbit/3324358 to your computer and use it in GitHub Desktop.
Installing PostgreSQL on Debian linux
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
| $ sudo apt-get install postgresql-9.1 postgresql-client-9.1 postgresql-contrib-9.1 pgadmin3 -t squeeze-backports | |
| $ nmap localhost | |
| $ sudo -u postgres psql | |
| # CREATE ROLE your_uid WITH SUPERUSER LOGIN PASSWORD 'pass'; | |
| # CREATE DATABASE your_uid; | |
| # \q | |
| $ psql -U your_uid -W |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment