BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Cpanel/WHM

Some of our customers have requested to use the later 8.4.x version of Postgresql instead of the default 8.1 which Cpanel installs and is the latest version they officially support on Centos 5.x. As of this writing Postgresql 9.0 is currently out, but we will not touch on this and it's best to have Centos 6 to run with psql 9.0.

The process of upgrading psql to 8.4.x is actually fairly simple. Just follow these steps:

1. Login as root to your server and run the following commands:
 

Code:

yum list postgresql84*

This will show you all of the available packages for version 8.4.

2. To install these, run the following:
 

Code:

yum install -y postgresql84*

3. After the above command is completed, login to WHM and go to SQL Services --> PostgresSQL Config. 

4. In the PostgreSQL Config, you will need to click 'Install Config' then 'Yes', 'Create Users' and last but not least create a new password.

5. To be sure the new version is working, restart the Postgresql server within WHM and then run the following command as root:
 

Code:

psql --version

The command should look something like this:
 

Code:

psql --version
psql (PostgreSQL) 8.4.9
contains support for command-line editing

You are now running the latest PostgreSQL 8.4.9

On another note, here is a few good examples on how to install/upgrade to 9.0:

http://www.postgresonline.com/journa...sql90-yum.html
http://www.postgresonline.com/journa...-with-Yum.html

See What Our Customers Say

Leave review
E

ephi

QC, Canada

Hi guys, I am pretty satisfied with your service. Yes, I have experienced some downtime issues wi...

Read full review
E

Ephi

QC, Canada

Great prices and service! Truly is painless, professional and polite (That's their slogan).

Read full review
S

seoSpaceship.com

NC, United States

AYK Solutions offers unmatched top tier support. They have gone above and beyond time and time agai...

Read full review
D

D Smith

Dedicated Semi-Managed Server Review I've been using AYKSolutions for about 2 years now and their su...

Read full review