Local Yum Repository using the ISO file

Опубликовано: 09 Октябрь 2024
на канале: S & S Technical Training Institute
2,789
30

Above Video describes step by step procedure to use a locally mounted RHEL 7 DVD iso as yum repository.

Below are the commands used for mounting a Local ISO file as a Repository.
mount -o loop rhel-server-7.1-x86_64-dvd.iso /mnt/repos/local
df -kh
cd /mnt/repos/local
cd /etc/yum.repos.d/
vim local-sstecnical.repo with Below content
[local-sstecnical-repo]
name=SStechnical Red Hat Local Repository
baseurl=file:///mnt/repos/local
enabled=1
gpgcheck=0

yum clean all
yum repolist
yum install emacs