How to install older CentOS 7.9 in 2024:
https://www.voxfor.com/how-to-continue-installing-centos/
if you trying to make «yum update» command and got an error like «Could not resolve host: mirrorlist.centos.org; Unknown error» or «Could not retrieve mirrorlist http://mirrorlist.centos.org/»
Then you need to change old mirror host «mirror.centos.org» to new «vault.centos.org».
You need to run the next commands in a shell:
sed -i.bak 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i.bak 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
then:
yum clean all yum update
Rating of article:
[Total: 1 Average: 5]