Site Tools


linux:rhel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:rhel [2025/02/17 23:37] – created - external edit 127.0.0.1linux:rhel [2025/12/04 23:05] (current) – [Create a local repo] Name
Line 106: Line 106:
  
  
-====Backlinks====+=====Linux CentOS 9===== 
 +====Create a local repo==== 
 +[[https://learn.redhat.com/t5/Platform-Linux/Create-a-local-repo-in-RHEL-9/td-p/38823|RHEL 9 Create a Local Repo]]\\  
 + 
 +  - mount /dev/cdrom /media/cdrom 
 +  - vi /etc/yum.repos.d/rhel9.repo 
 +  - cat /etc/yum.repos.d/rhel9.repo 
 +    - <code>[BaseOS] 
 +name=BaseOS Packages Red Hat Enterprise Linux 9 
 +metadata_expire=-1 
 +gpgcheck=1 
 +enabled=1 
 +baseurl=file:///media/cdrom/BaseOS/ 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 
 + 
 +[AppStream] 
 +name=AppStream Packages Red Hat Enterprise Linux 9 
 +metadata_expire=-1 
 +gpgcheck=1 
 +enabled=1 
 +baseurl=file:///media/cdrom/AppStream/ 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release</code> 
 +  - dnf clean all 
 +  - dnf repolist 
 +  - dnf install -y bind bind-utils 
 + 
 + 
 + 
 + 
 +=====Backlinks=====
 [[:linux|Linux]] [[:linux|Linux]]
linux/rhel.1739835429.txt.gz · Last modified: by 127.0.0.1