How to set up local repository in rhel-9/CentOS-9 ( NO VOICE OVER )within 3 minutes.
#like #linux #linuxkernel #linuxadministrator #linux_tutorial #linuxterminal #kernal #troubleshooting #troubleshootingguide #linuxinhindi #linuxforbeginners #rhel8 #rhel9 #rhel #installation #centos8 #centos7 #centos
RHEL 9 local repo config
df -Th ( to view the /dev/sr0 )
once it visible go for the below command
mount /dev/sr0 /mnt ( mount the dev/sr0 in mnt )
cd /mnt
ls
cd /etc/yum.repos.d
rm -rf /etc/yum.repos.d/*
ls
vim rhel9.repo
[BaseOS]
name=BaseOS
baseurl=file:///mnt/BaseOS
gpgcheck=0
enabled=1
[AppStream]
name=AppStream
baseurl=file:///mnt/AppStream
gpgcheck=0
enabled=1
yum clean all
yum repolist all
yum install httpd -y
centos 7