
Mount the CD/DVD ROM on any directory of your wish, for testing, mount it on /cdrom. Mounting the DVD/CD ROM will lead to saving the space on HDD used by being copied to HDD.Ĭreate a directory to mount CD/DVD ROM. The repository sources can be created either using a createrepopackage or mounting the DVD on the directory. Create Sourceīefore creating new repository file, you must know the repository source ( where the packages stored locally or remotely). This document is applicable to both CentOS version, 7 and 6.

YUM is the package management tool that helps to install or update the package through the network or local, the same time it provides an easy method to install a package with its dependent packages.Ĭonfiguration files are under /etc directory, /etc/yum.conf is the mail global file that contains the global options such as cache directory, computer log directory, etc… To add new or update the existing repository, you need to go the /etc/repos.d directory and create or open a file that ends on.
