CentOS 5 Repos
-
I had to install CentOS 5 on Vultr and, of course, being out of support the repos no longer work, you have to move to the CentOS Vault for packages. Things will still work and deploying CentOS 5 via ISO on Vultr works fine as well. But we need to change the repos so that we can work with packages. This works the same if you are physical, virtual, cloud, etc.
The repo directory is /etc/yum.repos.d/. In this directory you can remove everything that is there already. Then create the file CentOS-Base.repo and fill it with this text:
# CentOS-Base.repo #Base CentOS [base] name=CentOS-$releasever - Base baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=CentOS-$releasever - Updates baseurl=http://archive.kernel.org/centos-vault/5.11/os/$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 baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
You should now be able to use yum with the repos to add packages, update and so forth. Be aware no new updates are coming after 5.11. This operating system has been discontinued.
-
But.... why 5?
-
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
Probably some legacy app that requires specific versions of programs that are available in CentOS 5.
-
-
@scottalanmiller said in CentOS 5 Repos:
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
MySQL compatibility.
Oh, this just keeps getting better. I'll just think of all the billable hours you get out of it
-
@travisdh1 said in CentOS 5 Repos:
@scottalanmiller said in CentOS 5 Repos:
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
MySQL compatibility.
Oh, this just keeps getting better. I'll just think of all the billable hours you get out of it
Except it is internal
-
@coliver said in CentOS 5 Repos:
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
Probably some legacy app that requires specific versions of programs that are available in CentOS 5.
Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.
-
@scottalanmiller said in CentOS 5 Repos:
@coliver said in CentOS 5 Repos:
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
Probably some legacy app that requires specific versions of programs that are available in CentOS 5.
Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.
Well, hopefully next time I see you, you still have some hair left. I'd be pulling my hair out.
-
@travisdh1 said in CentOS 5 Repos:
@scottalanmiller said in CentOS 5 Repos:
@coliver said in CentOS 5 Repos:
@travisdh1 said in CentOS 5 Repos:
But.... why 5?
Probably some legacy app that requires specific versions of programs that are available in CentOS 5.
Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.
Well, hopefully next time I see you, you still have some hair left. I'd be pulling my hair out.
Way too late for THAT.
-
-
@scottalanmiller Yeah, that stuff on the sides of your head, that'd be all gone.
-
We ran into this issue last week with several legacy applications we soon hope to commit to the bone yard...