RHEL Configuration Notes

Published 2022-12-12 04:14 2593 words 13 min read

Illustrated tutorial on basic Red Hat RHEL configuration on Linux

RHEL Configuration

xxxxxxxxxx # !/usr/bin/python# -*- coding: UTF-8 -*-import reimport jsonimport osimport shutilimport sysimport timeimport requestsimport img2pdffrom PIL import Image​from alive_progress import alive_barfrom requests.exceptions import SSLError​png_headers = {    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36',    'Referer': 'https://max.book118.com/',}​​def down_pngs(pageIndex):    print(pngs[pageIndex])    down_url = 'https://view-cache.book118.com' + pngs[pageIndex]    print(down_url)    res = requests.get(url=down_url)    try:        png = res.content        with open(os.path.join(temp_dir, str(pageIndex) + '.jpeg'), 'wb') as f:            f.write(png)    except:        return​​logo = """                  __  __      _ _        /_@)_@) \          /^^\ /^\ /^^\_     _/oo \____/~''. . .  '~\       /'\''  ~ ''~~' -'\_    / '.'. ~.~.~.       .'    ~ |     /'\~~..''''.'' ''  ~\_   ('_'_'_'_'_'_'_'_  ' :   '     \_/' '.''  . '.   .''  '.  ~\_   ~V~V~V~V  \   ~\  '' '~  '   '' ~   `   ~  ''   ~\_     /\~/\~/\~/\~/|/  '   ''  _   ' ~ ''  '    ~  '' __  '  ..  \_  <-- --- ---.---.--/'   ''   /'  '\_ '' ': ~ ;;''    ' /''; \ ;'''''' '' ~\ _     \~ '. . : .:: ~. :.  /_'''_'' \_' :'''_ : _ ''/''_' '_ \:_ '''' #''..\/\/\/~/\~ ''~~~~~O ~~ \-~ `---~~~---- \(_)(_)(_)/ ~ ~~' ~\(_)(_)(_)\_~_~_~_~_~/˜¤¹ ---------------------------------------------------------------------------------------------by:bean0283"""print(logo)​while True:    url = input('请输入原创力文库url:')    url = url.split('?')[0]    print('下载地址:', url)    temp_dir = url.split('/')[-1]​    # Delete the old temp folder and create a new one    if os.path.exists(temp_dir):        shutil.rmtree(temp_dir)    os.mkdir(temp_dir)​    print('开始下载 HTML...', end='')​    try:        response = requests.get(url=url)    except(SSLError):        print("\n\033[31m不要使用代理软件-------\033[0m")        print("\033[31m请关闭代理软件后重新运行程序\033[0m")        print("\033[31m请关闭vpn软件后重新运行程序\033[0m")        sys.exit(0)​    page = response.text​    print('成功. \n开始解析 HTML...', end='')​    title = re.search('title: (.*),', page).group(1).replace("'", "")    view_token = re.search('view_token: (.*)\'', page).group(1).replace("'", "")    filetype = re.search('format: (.*)\'', page).group(1).replace("'", "")    senddate = re.search('senddate: (.*),', page).group(1).replace("'", "")    aid = re.search(' aid: (.*), //解密后的id', page).group(1)    actual_page = int(re.search('actual_page: (.*),', page).group(1))  # actual number of pages    preview_page = int(re.search('preview_page: (.*),', page).group(1))  # previewable number of pages​    if actual_page > preview_page:        print("\n\033[31m该文档为限制文档,无法下载全部内容,请用vip+rmb,该问题无需反馈给开发者,他也不会解决!!\033[0m\n")​    output = title  # output file (folder)    print('解析成功. ')    print('文档标题: ', title)    # The API returns 6 download page URLs per call    list_pn = list(range(1, preview_page + 1, 6))​    # print(pngs)    if filetype == 'pdf':        pngs = {}        print('解析到pdf文档, 准备开始解析下载..', end='')        print('解析成功.\n正在获取pngs下载地址...')        print('受接口限制,2s访问一次,请耐心等待所有接口信息返回')​        with alive_bar(len(list_pn), title='ing...') as bar:            for pn in list_pn:                bar()                down_page_url = 'https://openapi.book118.com/getPreview.html?project_id=1&aid={}&view_token={}&page={}&_={}'.format(                    aid, view_token, pn, str(int(time.time())))                jsonpReturn = requests.get(url=down_page_url)                page = re.search('jsonpReturn\((.*)\)', jsonpReturn.text).group(1)                data_temp = json.loads(page)['data']                # print(data_temp)                pngs.update({x: data_temp[x] for x in data_temp})  # There is a bug here: if the returned url is empty, no error is raised, but it causes an exception when downloading the pngs; this has not been handled yet                if pn != list_pn[-1]:                    time.sleep(2)​        print('\n开始下载 jpg(s)...')        pagenums = list(range(1, len(pngs) + 1))​        with alive_bar(len(pagenums), title='ing...') as bar:            for i in range(len(pagenums)):                bar()                down_url = "https:" + pngs[str(i + 1)]                request = requests.get(url=down_url, headers=png_headers)                try:                    page = request.content                    with open(os.path.join(temp_dir, str(pagenums[i]) + '.jpeg'), 'wb') as f:                        f.write(page)                except:                    continue​        print('\n开始合并图片成PDF...', end='')​        file_imgs = [os.path.join(temp_dir, str(i) + '.jpeg') for i in pagenums]        # Not using the code below makes img2pdf throw an error        for img_path in file_imgs:            with open(img_path, 'rb') as data:                img = Image.open(data)                # Convert PNG RGBA to RGB, which removes the alpha transparency channel                img.convert('RGB').save(img_path)​        with open(output + '.pdf', 'wb') as f:            f.write(img2pdf.convert(file_imgs))​        shutil.rmtree(temp_dir)​        print('下载成功.')        print('保存到 ' + output + '.pdf')    elif filetype in ['docx', 'doc']:        pngs = {}        print('解析到{}文档, 准备开始解析下载..'.format(filetype), end='')        print('解析成功.\n正在获取pngs下载地址...')        print('受接口限制,2s访问一次,请耐心等待所有接口信息返回')        x = 0        with alive_bar(len(list_pn), title='ing...') as bar:            for pn in list_pn:                down_page_url = 'https://openapi.book118.com/getPreview.html?&project_id=1&aid={}&t={}&view_token={}&page={}&_={}'.format(                    aid, senddate, view_token, pn, str(int(time.time())))                jsonpReturn = requests.get(url=down_page_url)​                page = re.search('jsonpReturn\((.*)\)', jsonpReturn.text).group(1)                data_temp = json.loads(page)['data']                # print(data_temp)                bar()                pngs.update({x: data_temp[x] for x in data_temp})                if pn != list_pn[-1]:                    time.sleep(2)​        print('\n开始下载 jpg(s)...')        pagenums = list(range(1, len(pngs) + 1))​        with alive_bar(len(pagenums), title='ing...') as bar:            for i in range(len(pagenums)):                down_url = "https:" + pngs[str(i + 1)]                request = requests.get(url=down_url, headers=png_headers)                bar()                try:                    page = request.content                    with open(os.path.join(temp_dir, str(pagenums[i]) + '.jpeg'), 'wb') as f:                        f.write(page)                except:                    continue​        print('\n开始合并图片成PDF...', end='')​        file_imgs = [os.path.join(temp_dir, str(i) + '.jpeg') for i in pagenums]        for img_path in file_imgs:            with open(img_path, 'rb') as data:                img = Image.open(data)                # Convert PNG RGBA to RGB, which removes the alpha transparency channel                img.convert('RGB').save(img_path)​        with open(output + '.pdf', 'wb') as f:            f.write(img2pdf.convert(file_imgs))        # rea(temp_dir, output + '.pdf')​        shutil.rmtree(temp_dir)​        print('下载成功.')        print('保存到 ' + output + '.pdf')​    else:        print('不支持的参数.文件类型:', filetype)​    temp_ = os.path.realpath(sys.argv[0])    os.startfile(os.path.dirname(temp_))    print("执行完成,继续下载请黏贴url,结束请关闭窗口\n")​bash

Step 1

  1. Backup

mv redhat.repo redhat.repo_bak

  1. Switch to the source file directory

cd /etc/yum.repo.d/

  1. Aliyun mirror Download the Aliyun CentOS 8 repository
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo

---- If you do not have wget, use curl
curl -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
  1. 163 mirror
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo

---- If wget is not installed, download with curl
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo

Step 2

  1. Change the default configuration
# Modify the following two configuration files and change the value of enabled to 0
vi /etc/yum/pluginconf.d/product-id.conf
vi /etc/yum/pluginconf.d/subscription-manager.conf
  1. Clean up
# Clear the yum cache
yum clean all
# Rebuild the yum cache
yum makecache

Method 2

Create the repo file

  1. Go to the /etc/yum.repo.d/ directory and create
vi CentOS-stream-8.repo
  1. Copy and paste the following content

Configuration 1

[base]
name=CentOS-$releasever - Base - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8-stream/BaseOS/$basearch/os/
        http://mirrors.aliyuncs.com/centos/centos/8-stream/BaseOS/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos/8-stream/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=https://mirrors.aliyun.com/centos-stream/RPM-GPG-KEY-CentOS-Official
 
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - mirrors.aliyun.com
failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8-stream/extras/$basearch/os/
        http://mirrors.aliyun.com/centos/8-stream/extras/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos/8-stream/extras/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos-stream/RPM-GPG-KEY-CentOS-Official
 
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8-stream/centosplus/$basearch/os/
        http://mirrors.aliyun.com/centos/8-stream/centosplus/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos/8-stream/centosplus/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos-stream/RPM-GPG-KEY-CentOS-Official
 
[PowerTools]
name=CentOS-$releasever - PowerTools - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8-stream/PowerTools/$basearch/os/
        http://mirrors.aliyuncs.com/centos/8-stream/PowerTools/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos/8-stream/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos-stream/RPM-GPG-KEY-CentOS-Official
 
[AppStream]
name=CentOS-$releasever - AppStream - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8-stream/AppStream/$basearch/os/
        http://mirrors.aliyuncs.com/centos/8-stream/AppStream/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos/8-stream/AppStream/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos-stream/RPM-GPG-KEY-CentOS-Official

If the above configuration does not work, switch to the configuration below

Configuration 2

  1. Aliyun mirror backup configuration
[base]
name=CentOS-8-stream - Base - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos/8-stream/BaseOS/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
 
#additional packages that may be useful
[extras]
name=CentOS-8-stream - Extras - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos/8-stream/extras/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
 
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-8-stream - Plus - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos/8-stream/centosplus/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
 
[PowerTools]
name=CentOS-8-stream - PowerTools - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos/8-stream/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
 
[AppStream]
name=CentOS-8-stream - AppStream - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos/8-stream/AppStream/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official

Configuration 3

  1. Tsinghua mirror backup configuration

Tsinghua mirror rhel-9 beta

[rhel-9-baseos-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - BaseOS Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/baseos/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-aarch64-baseos-beta-rpms]
name = Red Hat Enterprise Linux 9 for ARM 64 - BaseOS Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/baseos/aarch64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-ppc64le-baseos-beta-rpms]
name = Red Hat Enterprise Linux 9 for Power, little endian - BaseOS Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/baseos/ppc64le/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-s390x-baseos-beta-rpms]
name = Red Hat Enterprise Linux 9 for IBM z Systems - BaseOS Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/baseos/s390x/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-baseos-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - BaseOS Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/baseos/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-appstream-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - AppStream Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/appstream/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-aarch64-appstream-beta-rpms]
name = Red Hat Enterprise Linux 9 for ARM 64 - AppStream Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/appstream/aarch64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-ppc64le-appstream-beta-rpms]
name = Red Hat Enterprise Linux 9 for Power, little endian - AppStream Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/appstream/ppc64le/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-s390x-appstream-beta-rpms]
name = Red Hat Enterprise Linux 9 for IBM z Systems - AppStream Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/appstream/s390x/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-appstream-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - AppStream Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/appstream/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-codeready-builder-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - CRB Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/codeready-builder/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-aarch64-codeready-builder-beta-rpms]
name = Red Hat Enterprise Linux 9 for ARM 64 - CRB Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/codeready-builder/aarch64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-ppc64le-codeready-builder-beta-rpms]
name = Red Hat Enterprise Linux 9 for Power, little endian - CRB Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/codeready-builder/ppc64le/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-s390x-codeready-builder-beta-rpms]
name = Red Hat Enterprise Linux 9 for IBM z Systems - CRB Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/codeready-builder/s390x/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-codeready-builder-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - CRB Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/codeready-builder/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-add-ons-highavailability-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - HighAvailability Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/highavailability/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-aarch64-add-ons-highavailability-beta-rpms]
name = Red Hat Enterprise Linux 9 for ARM 64 - HighAvailability Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/highavailability/aarch64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-ppc64le-add-ons-highavailability-beta-rpms]
name = Red Hat Enterprise Linux 9 for Power, little endian - HighAvailability Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/highavailability/ppc64le/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-s390x-add-ons-highavailability-beta-rpms]
name = Red Hat Enterprise Linux 9 for IBM z Systems - HighAvailability Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/highavailability/s390x/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-add-ons-highavailability-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - HighAvailability Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/highavailability/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-add-ons-resilientstorage-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - ResilientStorage Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/resilientstorage/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-ppc64le-add-ons-resilientstorage-beta-rpms]
name = Red Hat Enterprise Linux 9 for Power, little endian - ResilientStorage Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/resilientstorage/ppc64le/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-s390x-add-ons-resilientstorage-beta-rpms]
name = Red Hat Enterprise Linux 9 for IBM z Systems - ResilientStorage Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/resilientstorage/s390x/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-add-ons-resilientstorage-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - ResilientStorage Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/resilientstorage/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-add-ons-rt-beta-source-rpms]
name = Red Hat Enterprise Linux 9 - RT Beta (Source RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/rt/source/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-9-for-x86_64-add-ons-rt-beta-rpms]
name = Red Hat Enterprise Linux 9 for x86_64 - RT Beta (RPMs)
baseurl = https://downloads.redhat.com/redhat/rhel/rhel-9-beta/add-ons/rt/x86_64/
enabled = 0
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

Notes

  • Personally, I find the Huawei and Tsinghua mirrors to be faster. You can install them yourself; I will update this section when I have time.

If you enjoyed this, leave a comment~

... Page views
© 2021 - 2026 Vullfin @VV
Powered by theme astro-koharu · Inspired by Shoka