Configure Local Yum Repository in RHEL 7

Install and configure yum on RHEL 7


yum (yellowdog update module ) 


mount the rhel-dvd on mnt

#mount /dev/sr0 /mnt

#df -Th (for checking)

Create repo file

#cd /etc/yum.repo.d/[filename]

#vim (filename)

{

[filename]

gpccheck=0

enable=1

baseurl=file:\\\\mnt

:wq (for saving)

}

#yum clean all

#yum repolist all


Now try to install any packages, like xclock, httpd, vftpd etc.

Previous Post Next Post