How to use the cdrom RedHat .iso
I tested using Vmware ESX and RedHat 5.7
1 . Mount or insert the RedHat CD
2. Mount the cdrom
mount /dev/cdrom /mnt/cdrom
3. Write the repo file
vim /etc/yum.repos.d/rhel-cdrom.repo
[rhel-cdrom]
name=rhel-cdrom
baseurl=file:/mnt/cdrom/Server
enabled=1
gpgcheck=0
4. Run the yum command using only the cdrom repository
yum -y -v –disablerepo=* –enablerepo=rhel-cdrom install libstdc++-devel.x86_64

Tags: , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *