/etc/crypttab
/etc/fstab
Network Locations
mkdir /mnt/dvd
mount -o context=system_u:object_r:httpd_sys_content_t:s0 /dev/dvd /mnt/dvd
mount -ro loop,context=system_u:object_r:httpd_sys_content_t:s0 /path/to/image.iso /mnt/dvd
If SELinux enabled, use the default label
iso9660_t
label instead of httpd_sys_content_t
.
/etc/exports
and add the following line to it:
/mnt/dvd *(ro,async)
systemctl start rpcbind
systemctl start nfs
yum
to install the Apache web server if it is not already installed:
yum -y install httpd
ln -s /mnt/dvd /var/www/html/distro