Projekt

Allgemein

Profil

Repo vault » Historie » Version 3

Jeremias Keihsler, 27.06.2024 14:02

1 1 Jeremias Keihsler
h1. Repo vault
2
3
taken from: https://hostkey.com/documentation/technical/centos_migrating/rockylinux/#step-9-verification-of-the-services-operation
4
5
<pre><code class="shell">
6 2 Jeremias Keihsler
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
7
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
8 3 Jeremias Keihsler
dnf makecache
9 2 Jeremias Keihsler
</code></pre>
10
11
12
<pre><code class="shell">
13 1 Jeremias Keihsler
cd /tmp
14
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-release-8.5-1.2111.el8.noarch.rpm
15
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-repos-8-3.el8.noarch.rpm
16
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm
17
rpm -ivh ./centos-gpg-keys-8-3.el8.noarch.rpm  --force
18
rpm -ivh ./centos-linux-release-8.5-1.2111.el8.noarch.rpm ./centos-linux-repos-8-3.el8.noarch.rpm --force
19
</code></pre>