In order to mount the DVD, insert the DVD into the server and it should auto-mount into the /media directory.
In order to mount an ISO image we will need to run the following command as root, substituting the path name of your ISO image for the field "myISO.iso":
mkdir /media/myISO
mount -o loop myISO.iso /media/myISOIn order to install and configure the http daemon we will first need to configure the machine that will host the repository for all other machines to use the DVD image locally. Create the file/etc/yum.repos.d/local.repo and input the following:
[local]
name=Local Repository
baseurl=file:///media/myISO/Server/
gpgcheck=0
enabled=0
Now we will install the Apache service daemon with the following command which will also temporarily enable the local repository for dependency resolution:
yum -y install httpd --enablerepo=local