Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Trinn for å opprette YUM lokalt repositorium på RHEL 8 ved hjelp av OS iso-filen montert gjennom IDRAC Virtual Media

Summary: Se trinnene nedenfor for å opprette og konfigurere lokalt YUM-repositorium fra OS iso-imaget montert via IDRAC Virtual Media på RHEL 8 OS-miljøet

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Monter RHEL OS iso-filen via virtuelle IDRAC-medier i GUI, eller bruk RACADM CLI-kommandoen nedenfor for å montere det eksterne OS-iso-imaget.

Kan referere til RACADM CLI-kommandoguide for å konfigurere mediefilen på en ekstern server
(Side 111) Integrated Dell Remote Access Controller 9 RACADM CLI-veiledning 
#racadm remoteimage -c [-u <username> -p <password> -l <image_path>]
RACADM RemoteImage:

Opprett en katalog for å montere OS iso-imaget i denne katalogen
#mkdir /root/DVD
#mount /dev/sr0 /root/DVD/
#lsblk
MKDIR og montering

lsblk

Opprett en lokal repo-fil (local.repo) under katalogen


Opprett en lokal repositoriell fil
/etc/yum.repos.dLegg til parametrene nedenfor på local.repo-filen for å konfigurere lokalt YUM-depot fra det monterte OS-iso-imaget
#vi local.repo
[InstallMedia-BaseOS]
name=Red Hat Enterprise Linux 8 - BaseOS
baseurl=file:///root/DVD/BaseOS
gpgcheck=0
enabled=1

[InstallMedia-AppStream]
name=Red Hat Enterprise Linux 8 - AppStream
baseurl=file:///root/DVD/AppStream
gpgcheck=0
enabled=1

[InstallMedia-BaseOS]

ll totalt
#yum clean all
#yum repolist all
#yum install <package-name>
#yum rengjør alle

#yum installere <pakkenavn>

DNF-installasjon

 
 

Affected Products

Red Hat Enterprise Linux Version 9, Red Hat Enterprise Linux Version 8
Article Properties
Article Number: 000208302
Article Type: How To
Last Modified: 09 Dec 2024
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.