WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

RedHat YUM

Add to Favourites
Post to:

Description
About RedHat YUM

Comments
Presentation Transcript Presentation Transcript

Slide 1 : YUM : Yellodog Updater Modified Presented by : Abhishek Chib

Slide 2 : What is Yum ? yum is an interactive, automated update program which can be used for maintaining systems using rpm. Front-end to rpm Designed to resolve package dependencies Can locate packages across multiple repositories Replacement for up2date Command : yum [options] [command] [package ...]

Slide 3 : Yum Repositories : Creation of yum repositories is handled by a separate tool called "createrepo", which generates the necessary XML metadata. The mrepo tool (formerly known as Yam) can help in the creation and maintenance of repositories. Depends on Two Ways : Server : Where we create YUM Repositories Client : Where we use YUM Repositories

Slide 4 : About YUM Service : For Server and Client : Service name : yum-updatesd File Location : /etc/init.d/yum-updatesd Handle Service : # service yum-updatesd start # chkconfig yum-updatesd on On Server : ( How to Create YUM Repo ) Copy all RPMs to any one Directory Run command # createrepo –v Dir_Path

Slide 5 : Client Repo file Creations : File Location : /etc/yum.repo.d/ Open one file with vi editor with Ext. .repo : vi test.repo Edit this file with following syntax : [repo-name] name=A nice description baseurl=http or ftp or file ://yourserver.com/path/to/repo enabled=1 or 0 gpgcheck=1 or 0 Save and Exit, Now your Repo ready to use

Slide 6 : Using yum : Install/Remove/Update yum install package... yum remove package... yum update package... Searching packages/files Searching packages yum search searchterm yum list (all|available|extras|installed|recent|updates) yum info packagename Searching files yum whatprovides filename

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
2 Followers

Your Facebook Friends on WizIQ