PostgreSQL 8.4 on Ubuntu Lucid 64-bit
June 9, 2011 | In: Lucid, PostgreSQL, ubuntu
Installing Postgresql on ubuntu box on 32-bit machines is pretty easy, you will just type in:
$ sudo apt-get install postgresql
It will prompt for password and you’re all set. It will do all the initialization, creation of db roles/users.
But on 64-bit machines, after doing that ‘apt-get’ thing, you need to do some initial configuration.
Ok , the command:
$ pg_createcluster <version> <name>
where
$ pg_createcluster 8.4 mainThe 8.4 is the version of the postgresql you installed and ‘main’ is the name of the cluster, you can change it in any name you want.
And that’s it!
Share on Facebook
2 Responses to PostgreSQL 8.4 on Ubuntu Lucid 64-bit
Zeb
April 15th, 2012 at 4:24 pm
Thnx!
Saved me!
zeratool
April 16th, 2012 at 8:11 am
No problem!