How to Mounting CD-ROM for Make Repository Local in RHEL 7
All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the filesystem found on some device to the big file tree. Conversely, the umount command will detach it again.
Preparation
For this simulation, i will use the VM-Ware for my Workstation, and don't forget to insert .iso to this VM, bellow is capture make mount is worked.
# mount -t iso9600 /dev/cdrom /media # ll /media
If using iso dvd , mount the iso with the following command:
# mount -o loop filename.iso /mnt/cdrom (replace filename.iso according to the file used, for example: rhel7.iso)
Setup Local.repo
Next we setup config for this repo with this script
# vi /etc/yum.repos.d/local.repo
Post a Comment for "How to Mounting CD-ROM for Make Repository Local in RHEL 7"