In This Article, You will see how to mount DVD / ISO image through Kernel Terminal in Redhat /CentOS 7. You will have to do this as You need packages for making Yum repository. Yum repository simple reduces system admin work by automatically include dependencies while installation of any Packages.
With Yum repository, You do not need to find any dependencies of any packages as it’s now work of yum server.
Click on Vmware Setting and choose in devices section DVD as shown in figure
And Select device status > connected
In Connection, choose Use ISO image File and give the path of image where it has been kept.
Then click on Okay
You will get the Redhat image on your Server
Now Open Kernel Terminal
Type a command to mount the ISO Image
Now check ISO image will be mounted on /mnt/
This is only be temporary mounted, Once system gets reboot it will be gone. So if you want permanent mount ISO image then follow these steps
Make a directory I have made with the name of ” pk ”
Now copy the Packages and repodata directory in that folder ‘pk’
It will take some time to copy as there are almost 5100 Packages in redhat 7.5 Version
Check it by ls pk/