I'm sure that some of use may not or cannot upgrade from CentOS 5 to newer version because of many many reason.
Here is what you should do to at least upgrade DA from CustomBuild 1.x to CustomBuild 2.x
After many trial & error on my server. Here is some guideline to successfully upgrade to CustomBuild 2.x
Note### After you upgrade your DA to CustomBuild 2.x, the minimum version are:
- Apache 2.4
- PHP 5.3
1) update your yum repo file from using mirrors list (Which are no longer exist) to using Archive Repository
2) fixed the libexpat.so issue by following article
3) following the CustomBuild 2.x upgrade article
I've tested above method on CentOS 5.6, 5.7 & 5.11 both 32-bit and 64-bit kernel
For whom that manually install nginx as front end web server. Make sure that you remove it and make a change in options.conf as per article
If you wish to install 2 versions of php, it's now possible to have it. Following this article
, Section 6
I'm not sure if LetsEncrypt is work or not. I'll post the update once I've tested it.
Hope this help....
Here is what you should do to at least upgrade DA from CustomBuild 1.x to CustomBuild 2.x
After many trial & error on my server. Here is some guideline to successfully upgrade to CustomBuild 2.x
Note### After you upgrade your DA to CustomBuild 2.x, the minimum version are:
- Apache 2.4
- PHP 5.3
1) update your yum repo file from using mirrors list (Which are no longer exist) to using Archive Repository
Code:
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/$releasever.11/os/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://vault.centos.org/$releasever.11/updates/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://vault.centos.org/$releasever.11/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://vault.centos.org/$releasever.11/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://mirror.centos.org/$releasever.11/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
HTML:
https://help.directadmin.com/item.php?id=174
HTML:
https://help.directadmin.com/item.php?id=555
I've tested above method on CentOS 5.6, 5.7 & 5.11 both 32-bit and 64-bit kernel
For whom that manually install nginx as front end web server. Make sure that you remove it and make a change in options.conf as per article
HTML:
https://help.directadmin.com/item.php?id=556
If you wish to install 2 versions of php, it's now possible to have it. Following this article
HTML:
http://forum.directadmin.com/showthread.php?t=44743
I'm not sure if LetsEncrypt is work or not. I'll post the update once I've tested it.
Hope this help....