Tuesday, August 26, 2008

Postgresql Installation on Linux

Postgresql is a relational database management system (RDBMS). It is opensource, we can get it free.
Now , we'll install postgresql on linux step by step, assumed gcc & make was installed.

1. Download postgresql from POSTGRESQL HOME
ex: postgresql-version.tar.gz or postgresql-version.tar.bz2
2. Extract it with command :
$tar zxvf postgresql-version.tar.gz or
$tar jxvf postgresql-version.tar.bz2

3. Change your directory to your extracted it, ex :
$cd postgresql-version

4. Configure your postgresql :
$./configure --prefix=/usr/local/pgsql --with-pgport=5432 and bla bla bla
please type ./configure --help

Wait for some minute

5. Compile the results of your configure
$make

Wait for a minute. It depends your processor and memory

6. Then install it. You must have a root access
#make install

7. Successfull

No comments: