Ga naar de inhoud
Home » Update CentOS na 31-12-2021

Update CentOS na 31-12-2021

CentOS Linux 8 had reached the End Of Life (EOL) on December 31st, 2021. It means that CentOS 8 will no longer receive development resources from the official CentOS project. After Dec 31st, 2021, if you need to update your CentOS, you need to change the mirrors to vault.centos.org where they will be archived permanently. Alternatively, you may want to upgrade to CentOS Stream.

Naar Oracle Linux:

https://docs.oracle.com/en/solutions/migrate-centos-ora-linux/switch-oracle-linux1.html

Naar vault.centos.org

cd /etc/yum.repos.d/
sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
sudo yum update -y

Naar CentOS Steam:

sudo dnf update -y
sudo dnf install centos-release-stream -y --allowerasing
sudo dnf distro-sync -y