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