insert CD rOM
mount -t iso9660 /dev/cdrom /mnt/cdrom
vim /etc/yum.repos/cdrom.repo
add the following lines
[dvd-source]
name=RHEL dvd repo
baseurl=file:///mnt/cdrom/Server/
enabled=1
gpgcheck=0
yum repolist
yum repolist all
to see new active repo
No comments:
Post a Comment