Installasi postgresql 9.0 ubuntu

| Wednesday, April 4, 2012

hello …. im here to shared again about installation postgresql :D this is new version stable :D
This is a very quick and painless process. If you have not done so already, make your life easier by installing python-software-properties:



$sudo apt-get purge postgresql*
$sudo apt-get update
next :
$sudo apt-get install python-software-properties
Next up is adding the backports repo and updating apt:
$sudo add-apt-repository ppa:pitti/postgresql && sudo apt-get update
UPDATE: In the comments, Jason Froebe points out that if you already have an earlier version of PostgreSQL installed, you can just upgrade it:
$ sudo apt-get upgrade
Finally install postgresql-9.0:
$ sudo apt-get install postgresql-9.0 libpq-dev
The libpq-dev package is for compiling wrappers/clients against libpq.
There you’re done!
NOTE:
Default config directory is: /etc/postgresql/9.0/main
Default data directory is: /var/lib/postgresql/9.0/main
Cheers :D
Source : http://adf.ly/4i7Tt

0 comments:

Post a Comment