Install PostgreSQL on Ubuntu

We’re about to install the PostgreSQL database. You can either use the Synaptic Tool (you just have to select postgresql) or the old apt-get to download packages on Ubuntu. To install the client/server database, in Konsole, run :

$ sudo apt-get install postgresql postgresql-client postgresql-contrib

To configure PostgreSQL, you need to locat the pg_hba.conf. First, you have to launch the database in order to create this (and other) file. It’s made by doing :

$ sudo /etc/init.d/postgresql start

.: To Complete :.

More on