Linux: February 2020 Archives

RHEL Switch to CentOS repo

Vote 0 Votes

因為 RHEL 的 $releasever 的變數和 CentOS 不同,無法直接使用 CentOS repo,需將 repo 檔中的變數寫死後使用

以上是 7 版的 repo 檔,若是 8 版,把檔案裡面的 7 改成 8 即可
curl > /etc/yum.repos.d/CentOS-Base.repo
curl > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
yum -y update

About this Archive

This page is an archive of entries in the Linux category from February 2020.

Linux: August 2019 is the previous archive.

Linux: March 2020 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Linux: Monthly Archives

Monthly Archives