CentOS, CloudLinux RHEL 5 - End of Life Notice

cPanelJCNewton

Technical Analyst III
Staff member
Feb 7, 2013
9
3
128
cPanel Access Level
Root Administrator
CentOS, Red Hat and CloudLinux have all discontinued support for version 5 of their respective operating systems as of March 31, 2017.

Red Hat Enterprise Linux Life Cycle - Red Hat Customer Portal
FAQ/General - CentOS Wiki
CloudLinux Documentation

In order to ensure compatibility with the latest versions of cPanel & WHM, please update your server to an x86_64 system with CentOS, RHEL, CloudLinux 6 or 7.

cPanel & WHM version 11.56 is the last version available for these operating systems and the anticipated End of Life for this version is October 2017. More details regarding cPanel's EOL and LTS Support can be found here:

cPanel Long-Term Support - Documentation - cPanel Documentation
March 31st, 2017: The Day the Sun Sets on CentOS 5 | cPanel Blog

As CentOS version 5 has reached it's End of Life, all official repositories have been removed, while most mirrors are updating to remove these as well. This prevents yum updates and other package management from functioning as required.

A temporary workaround to this dilemma is to update all repository mirrors to utilize vault.centos.org accordingly.

The following contents are an example of a CentOS 5.11 repository utilizing the vault mirrors.

Code:
# TEMPORARY CENT5 EOL REPO
# WARNING CENT 5 IS EOL UPGRADES SHOULD BE PERFORMED IMMEDIATELY

[C5.11-base]
name=CentOS-5.11 - Base
baseurl=http://vault.centos.org/5.11/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-updates]
name=CentOS-5.11 - Updates
baseurl=http://vault.centos.org/5.11/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-extras]
name=CentOS-5.11 - Extras
baseurl=http://vault.centos.org/5.11/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-centosplus]
name=CentOS-5.11 - Plus
baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0
Further documentation for details configuration yum repository files can be found here:
8.4. Configuring Yum and Yum Repositories

Customers running CloudLinux, or RHEL will need to contact their OS provider directly as these Operating Systems use the rhnplugin for updates and not the repository files.