rhel configure local cloud source

Create a new rhel-beta.repo file in the /etc/yum.repos.d directory

 

document content:

    [rhel-beta]

    name=Red Hat Enterprise Linux $releasever Beta - $basearch

    baseurl = file: /// home/soft/temp

    enabled=1

    gpgcheck=0

    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

    

    * baseurl is the yum source, that is, the mount path of the linux system

    * The value of gpgkey is the RPM-GPG-KEY-redhat-beta file in the /etc/pki/rpm-gpg path , pay attention to its version

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326570729&siteId=291194637