Projekt

Allgemein

Profil

Repo vault » Historie » Version 4

Jeremias Keihsler, 04.07.2024 19:27

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 4 Jeremias Keihsler
dnf update
10 2 Jeremias Keihsler
</code></pre>
11
12
13
<pre><code class="shell">
14 1 Jeremias Keihsler
cd /tmp
15
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-release-8.5-1.2111.el8.noarch.rpm
16
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-repos-8-3.el8.noarch.rpm
17
wget https://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm
18
rpm -ivh ./centos-gpg-keys-8-3.el8.noarch.rpm  --force
19
rpm -ivh ./centos-linux-release-8.5-1.2111.el8.noarch.rpm ./centos-linux-repos-8-3.el8.noarch.rpm --force
20
</code></pre>