Dell DX Object Storage – File Gateway Deployment Guide
NEXT STEP: Create the YUM Repository and Install Packages
Create the YUM Repository and Install Packages
The CFS installation process is dependent on additional rpm packages that are not installed on the
system by default. These packages are available on the Red Hat Enterprise Linux distribution media
included with the system. Running these packages requires a local YUM repository.
To create a local YUM repository on your system:
1. Ensure the CFS is powered on.
2. Insert the operating system media that came with the system into the optical drive and allow the
file system to auto mount.
The default directory path for the auto mounted file system is /media/RHELx.x\x86_64\ DVD. The
white spaces in this file path cause errors during the YUM setup process.
3.
Create an .iso image of RHEL6.
# dd if=/dev/dvd of=RHEL-6.0_x86_64.iso
Create the yum repository.
4.
# mkdir
/root/RHEL6
# mount –o loop,ro /root/RHEL-6.0-x86_64.iso
NOTE: Do not use root as your yum repository. Create a designated folder for the repository (such as RHEL6 in
the example above).
NOTE: The mount must be recreated each time you reboot the system.
5. Remove any cached packages from the system and enable the local YUM repository.
# yum clean all
# yum repolist
Edit the repository to remove packagekit-media.repo.
6.
# cd /etc/yum.repos.d
# rm packagekit-media.repo
# vi rhel6.repo
NOTE: The packagekit-media.repo file must be deleted each time you reboot the system.
7. Add the following to rhel6.repo file.
[InstallMedia]
BEFORE YOU BEGIN: Did you Disable SELinux?
/root/RHEL6
Page 25