Want to have an Online Store but don't know where to start?
Click here and start selling online!

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 in my box’s case is ‘8.4′ and name is ‘main’

$ pg_createcluster 8.4 main

The 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

Avatar

Zeb

April 15th, 2012 at 4:24 pm

Thnx!
Saved me!

Avatar

zeratool

April 16th, 2012 at 8:11 am

No problem!

Comment Form

Advertisement

Get Updates

Subscribe
free counters