Skip to content

Instantly share code, notes, and snippets.

@ffbit
Created August 11, 2012 13:12
Show Gist options
  • Select an option

  • Save ffbit/3324358 to your computer and use it in GitHub Desktop.

Select an option

Save ffbit/3324358 to your computer and use it in GitHub Desktop.
Installing PostgreSQL on Debian linux
$ 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