CentOS 5 Repository fix using vault.centos.org Rumi, January 15, 2018March 24, 2019 It’s a bit silly process, googled hours but found not solid way to update my old 32bit centos 5 linux box. So came up with a solution of my own. It might work for you, but no guarantee! Step-1 Remove all .repo inside /etc/yum.conf.d/ directory Step-2 Create a new repo file inside /etc/yum.conf.d/ nano /etc/yum.conf.d/CentOS-Vault.repo Update with the following section: [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/5.11/os/i386/ 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/ gpgcheck=1 enabled=0 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://mirror.centos.org/centos/$releasever/extras/$basearch/ baseurl=http://vault.centos.org/5.11/extras/i386/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Step-3 Now execute- yum update Step-4 Add Epel-Repository Download epel rpm- wget http://vault.centos.org/5.11/extras/i386/RPMS/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5-4.noarch.rpm yum update And you’re done. Related Administrations Configurations (Linux) CentOSCentOS 5CentOS RepoCentOS5
How to reset MySQL Root Password in Linux June 6, 2014 First, Let’s stop the mysql service, In Red Hat’s family (Red Hat Enterprise, Fedora, CentOS) the Mysql Daemon is called ‘mysqld‘, but in Debianlike Ubuntu based distributions and OpenSuse its called ‘mysql‘. I’ll be using the debian based naming sudo service mysql stop OR sudo /etc/init.d/mysql stop Now, we’ll… Read More
Linux CHMOD Change user & group ownership June 21, 2008January 7, 2011 Learn how to change the owner and group ownership of files and directories with the chown and chgrp commands. Caution: you need to do this whiled logged in as 'root' user. In order to set the ownership of a directory and all the files in that directory, you'll need the… Read More
zimbra admin password reset October 4, 2012 To reset the administrative password: su – zimbra zmprov sp <admin email address> <new password> To get a list of all administrators: su – zimbra zmprov gaaa To access the admin console: https://YOURHOST:7071 Remember that the administrative console (sometimes) requires a full email address as the login name, so you… Read More
hello, i run CentOS 5.11 and get this message: my .repo look like yours and added 5.11 baseurl=http://vault.centos.org/5.11/os/$basearch/ I get error temorary failure in name resolution trying other mirror i can connect to http://vault.centos.org/5.11/os/x86_64/repodata/repomd.xml and see the .xml file what is wrong? Reply
Hi Hasan: Just came across your method to upgrade a legacy CentOS 5.0 system to …to something else… This is just what I was looking for, to upgrade my CentoOS 5 system to more recent components, sendmail, postfix, dns, ipop3, clamav…and a few others, but not necessarily ALL the OS (as it is working perfectly fine and runs a legacy software that requires CentOS 5 precisely). So, question is… you upgraded with this procedure …up to what version of CentOS ? How did it worked finally? Guess you made a couple of reboots due to kernel upgrades… I have to do it really carefully as to nor interrupt the operation of the server, except fo the components I mentioned above which is the ones I am interested in updating. Thanks and cheers from Mexico City. Felipe Reply
this one is for 32 bit centos 5.xx version. The updated /etc/yum.conf.d/CentOS-Vault.repo is now available Reply
Its worked for me.. THANK YOU…. MY OS is CentOS 5.5. but there is a correction in the file path…. Remove all .repo or change all .repo in-to .rep.old inside the path /etc/yum.repos.d – And create a new file called CentOS-Vault.repo inside the same path (as [root@localhost /]# vi /etc/yum.repos.d/CentOS-Vault.repo) Thats it…. After than Update ….. Reply