You are on page 1of 1

YUM: Feature=> 1. Package management 2. Auto -dependency resolution 3. Ability to specify multiple package source Task: 1.

Mirror "Package directory in Local system I mirror in /var/ftp/pub/rhel6 2.Run "createrepo" againt "/var/ftp/pub/rhel6" create sub directory : "repodata" and various DB file to serve packages to 'yum' clients a. Confirm that 'createrepo' RPM is installed b.run 'createrepo -v /var/ftp/pub/rhel6' queres all package and generate db in 'repodata' directory 3. setup first 'yum' client: localhost a. /etc/yum.repos.d/rhel6.repo [rhel6] name=rhel6 baseurl=ftp://127.0.0.1/pub/rhel6 4. search and install package: a. rpm -e dos2unix unix2dos b. yum search unix2dos remoes both package search for package

You might also like