YUM is the Linux package management tool that help to install or update the packages, it does automatic installation of dependent packages which is required by main installation package. To setup the YUM repository we need ( For testing purpose ) one server system where all the packages are hosted and the client system where you want to install or update the packages.
Hosting The Packages:
Client must have to communicate through any one type of medium to get the packages from server system, Normally server uses FTP or Apache as the medium to transfer the packages. From the above hosting the packages depend on the services we used, we need to copy those downloaded packages on to /var/ftp or /var/www/html receptively for FTP and Apache. You can use either FTP or Apache.
Mount the DVD on the /cdrom
copy the packages from the DVD to FTP folder.
copy the packages from the DVD to apache home directory.
Edit Apache configuration file to enable the indexes.
Verify the above using the web browser by visiting ftp://ip-address or http://ip-address.
Configure YUM under Linux
Configure YUM on the Linux
Configure YUM on CentOS
Configure YUM on RHEL
Configure YUM on CentOS 5
Configure YUM on CentOS 6
Configre YUM on RHEL 6
Cnfigure YUM on RHEL 5
Setup YUM on CentOS 6
Setup YUM on Linux