Repo vault » Historie » Revision 3
Revision 2 (Jeremias Keihsler, 27.06.2024 14:00) → Revision 3/4 (Jeremias Keihsler, 27.06.2024 14:02)
h1. Repo vault
taken from: https://hostkey.com/documentation/technical/centos_migrating/rockylinux/#step-9-verification-of-the-services-operation
<pre><code class="shell">
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-*
dnf makecache
</code></pre>
<pre><code class="shell">
cd /tmp
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-release-8.5-1.2111.el8.noarch.rpm
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-repos-8-3.el8.noarch.rpm
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm
rpm -ivh ./centos-gpg-keys-8-3.el8.noarch.rpm --force
rpm -ivh ./centos-linux-release-8.5-1.2111.el8.noarch.rpm ./centos-linux-repos-8-3.el8.noarch.rpm --force
</code></pre>