How to Mount and Unmount an ISO Image in RHEL ( Version 5,6,7 )

If you want to install this package from the oracle installation DVD, you first need to mount the dvd and identify the address of the dvd to the oracle repository.

#
 cd /etc/yum.repos.d
# vi public-yum-ol6.repo

Add the following code to the repository. ( public-yum-ol6.repo )

[Install_DVD_base]
name=Install DVD
baseurl=file:///cdrom/Server
gpgcheck=0
enabled=1
skip_if_unavailable=True

Create a new folder and mount the DVD in this folder.

# mkdir /cdrom
# mount -t iso9660 -o ro /dev/cdrom /cdrom

You can install the preinstall package using the yum command.

# yum install oracle-rdbms-server-11gR2-preinstall

Hits: 2

Leave a Reply

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