Install postgresql 9.1 on Ubuntu 12.04
Another install guide - maybe not super friendly, but it worked. 1) Install $ sudo apt-get update $ sudo apt-get install postgresql-9.1 Verify it works $ sudo invoke-rc.d postgresql status 2) Set password Now you need to set a password for the postgres database role: sudo -u postgres psql postgres \password postgres 3) Install the contrib (contains ssl, text stuff and required stuff used by pgadmin) Read more?: http://packages.debian.org/wheezy/postgresql-contrib-9.1 $ sudo apt-get install postgresql postgresql-contrib $ sudo -u postgres psql postgres=# CREATE EXTENSION adminpack; CREATE EXTENSION Verify that it was installed: select * from pg_extension; 3) Optionally restart database server? sudo /etc/init.d/postgresql restart 4) Create databases Now create a database postgres=# CREATE DATABASE mytestdb; postgres=# \c mytestdb mytestdb=# CREATE TABLE monkeytest (abe int); Display the tables mytestdb=# \d Insert a row mytestdb=# INSERT IN...