Upgrade PostgreSQL Version?

jlucho

Well-Known Member
Aug 5, 2006
126
1
168
Hello friends

I use Linux centos + CloudLinux + cPanel v76.0.14

What is the latest version of PostgreSQL for this version?

my current version of postgresql is:
[root@s20 ~]# postgres --version
postgres (PostgreSQL) 8.4.20


what is the procedure to update postgresql, to the latest version in force
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @jlucho,

We only support versions of PostgreSQL that you install with the /usr/local/cpanel/scripts/installpostgres script. This script installs the version of PostgreSQL offered with your operating system.

Can you let me know which version of CloudLinux is installed on your system? You can check by running the following command:

Code:
cat /etc/redhat-release
Thank you.
 

jlucho

Well-Known Member
Aug 5, 2006
126
1
168
[root@s1 ~]# cat /etc/redhat-release
CloudLinux Server release 6.10 (Vladimir Lyakhov)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @jlucho,

The version of PostgreSQL installed on the system is dictated by what your OS provides. PostgreSQL version 8.4 is provided with CloudLinux/CentOS 6. To use a newer version (e.g. 9.2) in a supported fashion, you'd need to setup a new server using CentOS/CloudLinux version 7, and transfer your accounts over to the new server.

Thank you.
 

jlucho

Well-Known Member
Aug 5, 2006
126
1
168
whats is last version stable of PostgreSQL for cPanel/Centos 6.9 ??

whats is last version stable of PostgreSQL for cPanel/Centos 7.x ??
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
centos 7 postgresql.x86_64 9.2.24-1.el7_5
centos 6 postgresql.x86_64 8.4.20-8.el6_9

a yum list would have given you the info