Saturday, December 3, 2011

Rhel6 YUM Server Configuration

Yum is a yellow dog update manager it is a new package manager introduced by redhat with RHEL5 in year 2007 but now in RHEL6 they also have this facility to manage the packages. By using YUM we can manage the packages in many ways. YUM is always working in Server /Client environment. To configure YUM Server and Client perform the steps given below

# mount /dev/dvd /mnt
# cd /mnt/Packages
# rpm -ivh vsftpd<tab>
NOTE : Because YUM only can be configured either by using FTP or HTTP
# rpm -ivh createrepo<tab>
NOTE : There will be two dependencies just install them
#cd ..
# cp -rfv * /var/ftp/pub
This will start copy of dvd data into the /var/ftp/pub
# cd
# umount  /mnt
# cd /var/ftp/pub
# createrepo -v Packages
NOTE: This will create the private repository of our database

 

0 comments:

Post a Comment