How to Configure Local Yum Repository using ISO in Linux Step by Step | RHEL | CentOS | Ubuntu

Опубликовано: 09 Октябрь 2024
на канале: Nischal Tech Support
601
8

How to Configure Local Yum Repository using ISO in Linux Step by Step | RHEL | CentOS | Ubuntu

Create a directory and mount the ISO file on that directory.


cat /etc/yum.repo.d/yumlocal.repo

[AppStream]
name=RHEL
baseurl=file:///RHELiso/AppStream
enabled=1
gpgcheck=0

[BaseOS]
name=RHEL
baseurl=file:///RHELiso/BaseOS
enabled=1
gpgcheck=0

wq!

yum clean all
yum repolist all
yum install httpd

How to Mount CD/DVD Drive Permanently in Linux Step by Step
   • How to Mount CD/DVD Drive Permanently...  

How to configure RAID level 5 in Linux step by step
   • How to configure RAID level 5 in Linu...  

How to reset root user password in redhat
   • How to reset root user password in re...  

how to Extend /Increase swap memory in linux
   • how to Extend /Increase swap memory |...  

How to Install Anydesk In Linux
   • How to Install Anydesk In Linux | Cen...  

How to change hostname in Linux
   • How to change hostname in Linux | RHE...  

How to add/delete user and group in linux
   • How to add/delete user and group in l...  


#nischaltechsupport #redhat #rhel #centos8 #ubuntu