Sunteți pe pagina 1din 14

7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

11   More    Next Blog»

My Solutions
HOME Microsoft Exchange Server ▼ Linux ▼ Ms­Office ▼

INFOLINKS Thursday, 6 February 2014 ABOUT ME

YUM Server Configuration in RHEL 6
BLOG ARCHIVE
How to configure YUM Server in RHEL 6
►  2015 (36)
▼  2014 (12) What is YUM ? View my complete p
►  December (3)
►  November (1) YUM is a tool for automating package maintenance for a network of workstations running any operating system
that use the Red Hat Package Management (RPM) system for distributing packaged tools and applications. It is MY SOLUTIONS V
►  March (1) derived from YUP, an automated package updater originally developed for Yellowdog Linux, hence its name:
Excel 2013 Tutorial
▼  February (7) yum is "Yellowdog Updater, Modified".  (Whole Number, De
NFS Server
Configuration YUM stands for Yellow dog Updater, Modified because it is based on YUP, the Yellow dog Updater. Yellow Excel 2013 Tutorial
in RHEL 6 Dog is a version of Linux for the Power Architecture hardware. YUP, and later YUM, were written by the Linux Columns
community as a way to maintain an RPM­based system.
Web Server Or Excel 2013 Tutorial
Apache entries in Excel 201
Server YUP was originally written and maintained by Dan Burcaw, Bryan Stillwelll, Stephen Edie, and Troy Bengerdes of
Configuration Yellowdog Linux ( an RPM­based Linux distribution that runs on Apple Macintoshes of various generation).  Excel 2013 Tutorial
in RHEL ... Values in Excel 201
Samba Server YUM was originally written by Seth Vidal and Michael Stenner, both at Duke University at the time. Since then
Excel 2013 Tutorial
Configuration both Michael and Seth have moved on, Seth to working for Red Hat, where he remians the dominant force
Values Using Vlook
in RHEL 6 behind yum developement and maintenance.
YUM Server
Configuration It is important to note that yum is an open source GPL project and that many people have contributed code,
in RHEL 6 ideas, bug fixes and documentation. RECENT POSTS
How to access VMware Tools Insta
the Windows YUM is a Gnu Public License (GPL) tool; it is freely available and can be used, modified, or redistributed
share in without any fee or royalty provided that the terms of its associated license are followed.  Sort Command in L
RHEL 6 ?
How to disable Grep Command in L
IPv6 in Advantages of YUM :‑ Autofs Configuratio
Windows
Server 2008
R2 thro... Automatic resolution of software dependencies. If a package installation or upgrade request is made and Virtual Box Guest A
RHEL 7
N+ TechNotes ­ requires the installation or upgrade of additional packages, YUM can list these dependdencies and prompt the
TCP/IP user to install or upgrade them.
Troubleshooti
ng Tools POPULAR POSTS
Other RHEL 6 Videos :‑ Windows 7 Tips & T
►  2013 (6)
►  2012 (1) Click here to load RHEL 6 Videos  RHEL 7 Videos

C Language Program

My youtube channel :‑ RHEL 6 Videos

RHEL 6 Tutorials
Click here to open My Solutions
RHEL 6 Video Play

EXCEL 2013 Video
URL :­ https://www.youtube.com/user/MySolutions7/
EXCEL 2013 Tutor

My Youtube Channe
Yum Server Practical Videos :‑

CATEGORIES
Part 1 :­ 
C Language

Java (1)

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 1/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

N+ (1)
Yum Server Conἀ渄guration in RH...
RHEL 5 (1)

RHEL 6 (9)

RHEL 7 (1)

Windows 7

Windows Server 200

FOLLOWERS

Join this site
Part 2 :­  with Google Friend Co

Members

Yum Server Conἀ渄guration in RH...

Already a member?

Part 3 :­ 

Yum Server Conἀ渄guration in RH...

Part 4 :­

Yum Server Conἀ渄guration in RH...

YUM Server Con뫿✃iguration Lab :‑

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 2/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

YUM Server step by step con뫿✃igurations :‑

STEP 1 :­ Insert RHEL 6 installation media in your computer and mount it into your PC.

to mount RHEL 6 DVD into your PC, execute the following command

# mount /dev/cdrom /mnt

Now go to "/mnt/" directory and check it.

to go to "/mnt/" directory, use the following command 

cd /mnt

to check the content of "/mnt/" directory, use the following command 

ls 

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 3/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

STEP 2 :­ Go to "/mnt/Server/Packages/" directory and installed the required packages for YUM Server.

following packages are required for YUM Server :

vsftpd­2.2.2­6.el6.x86_64.rpm
deltarpm­3.5­0.5.20090913git.el6.x86_64.rpm
python­deltarpm­3.5­0.5.20090913git.el6.x86_64.rpm
createrepo­0.9.8­4.el6.noarch.rpm

to go to "/mnt/Server/Packages/", use the following command

# cd /mnt/Server/Packages/

to install the above packages, execute the following command

# rpm ­ivh vsftpd­2.2.2­6.el6.x86_64.rpm
# rpm ­ivh deltarpm­3.5­0.5.20090913git.el6.x86_64.rpm
# rpm ­ivh python­deltarpm­3.5­0.5.20090913git.el6.x86_64.rpm
# rpm ­ivh createrepo­0.9.8­4.el6.noarch.rpm 

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 4/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

STEP 3 :­ In the next step start the FTP Service.

to check the status of FTP Service execute the following command

# service vsftpd status

to start the FTP Service execute the following command

# service vsftpd start

to permanently start FTP Service execute the following command

# chkconfig vsftpd on

STEP 4 :­ Now go to "/var/ftp/pub/" directory and then create a directory in it named "IT".

to go to "/var/ftp/pub/", execute the following command

# cd /var/ftp/pub/

to create a directory named IT, execute the following command

# mkdir IT

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 5/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

STEP 5 :­ Copy the entire RHEL 6 DVD in the "/var/ftp/pub/IT/" directory. 

to copy the entire RHEL 6 DVD in the "/var/ftp/pub/IT/", use the following command

# cp ­rf  /mnt/*  /var/ftp/pub/IT/

Note :­  I used here "/mnt/" as source location, because i mounted the RHEL 6 DVD into "/mnt/" directory in the
STEP 1. 

STEP 6 :­ Create the reposatory of  RPM Packages of  "/var/ftp/pub/IT/" directory. 

to create the reposatory of RPM Packages, use the following command

# createrepo ­v /var/ftp/pub/IT/

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 6/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

STEP 7 :­ In the next step create the configuration file of YUM Server in "/etc/yum.repos.d/" directory and add
the following line in it.

[server]
name=YUM­Server
baseurl=ftp://172.18.209.9/pub/IT
enabled=1
gpgcheck=0

Note :­ where 172.18.209.9 is the IP address of your PC on which you configure YUM­Server.

to create the configuration file of YUM Server in "/etc/yum.repos.d/", use the following command

# vim /etc/yum.repos.d/server.repo 

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 7/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

to add the above line to this file, press "i" or "insert" key on your keyboard.

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 8/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

Now add the above line to this file and save it

to save the file, press "ESC" key­­­­­­­­­­>type ":wq!" ­­­­­­­­­­>and then press "Enter" key. 

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 9/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

STEP 8 :­ Now install any  packages using YUM­Server.

 to install any packages using YUM­Server, execute the following command

# yum install <package­name>

In this example i am going to install "httpd" packages, to install "httpd" package, use the following command

# yum install httpd* 

Note :­ To install all the packages of "httpd" , you have to use * with your package name. 

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 10/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

Share Photos
On Facebook
Find & Share
Photos with
Friends On
Facebook. Sign
up Today!
Facebook.com

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 11/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 12/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6

YUM Client Con뫿✃iguration :‑

Back to RHEL 6 Tutorials

POSTED BY MY SOLUTIONS at 19:05   
+11   Recommend this on Google

LABELS RHEL 6

17 comments

Add a comment

Top comments

MY SOLUTIONS 10 months ago


 YUM Server Conἀ渄guration in RHEL 6

MY SOLUTIONS 2 years ago  -  Shared publicly


 
Step by step guide of con᐀�guring a YUM Server in RHEL 6
How to conἀ渄gure YUM Server in RHEL 6

1  ·  Reply

MY SOLUTIONS 11 months ago


 https://www.youtube.com/playlist?list=PLE5WvHdqqZ7TLaEYhZaz0NTbXBSddU5Q0

Vaibhav Jain 4 months ago  -  Shared publicly


 Hi, do we need to deploy any package on client side, to use yum server? If yes, please let me know.

1  ·  Reply

MY SOLUTIONS 4 months ago


 Yum Client Conἀ渄guration steps:-

Step 1:- Check your NIC Conἀ渄guration.


To check NIC Conἀ渄guration, use the following command: -
# ifconἀ渄g eth0
MY SOLUTIONS 4 months ago
 If you have any doubt, then watch the third video of yum server conἀ渄guration series.

follow the link which given below:- 

Rajendra Prasad Nvr 1 year ago  -  Shared publicly


 excellent

1  ·  Reply

MY SOLUTIONS 1 year ago


 My youtube channel :-

https://www.youtube.com/user/MySolutions7

sikan batu 1 year ago  -  Shared publicly


 Thank you Boss, Superb

1  ·  Reply

MY SOLUTIONS 1 year ago


http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 13/14
7/7/2016 My Solutions: YUM Server Configuration in RHEL 6
MY SOLUTIONS 1 year ago
 My youtube channel :-

https://www.youtube.com/user/MySolutions7

Siva Sankar 1 year ago  -  Shared publicly


 
Really useful information, i am a AIX Admin every time i am trying to learn RHEL i used to feel like
tough your blog is simply awsome :)
will you please share YUM client conἀ渄guration

1  ·  Reply

MY SOLUTIONS 1 year ago


 My youtube channel :-

https://www.youtube.com/user/MySolutions7

Yemireddy nagarjuna reddy 11 months ago  -  Shared publicly


 
very very thanks.
please send the samba conἀ渄guration materiel 

1  ·  Reply

MY SOLUTIONS 11 months ago


 Samba Server Conἀ渄guration Video On my youtube channel

https://www.youtube.com/playlist?list=PLE5WvHdqqZ7TLaEYhZaz0NTbXBSddU5Q0

HariKrishnan .T 9 months ago  -  Shared publicly


 Hi Sumer Singh,

You're awesome, i've done it with use of this page. Thank you so much, and would like to get more
help and clear my doubts. please advise me how could i contact you. thanks again

1  ·  Reply

Gurupal Sandhu 1 year ago  -  Shared publicly


 
Nice tutorial but still getting errors .. I am running REHL 6 in Virtual Box ..i did what you have
explained .
Please help me out & resolve the following error :-

[root@localhost]# yum install httpd*


Loaded plugins : product-id subscription-manager
1  ·  Reply

Easy 4u shared this 6 months ago  -  Red Hat Certiἀ渄ed Security Specialist (RHCSS®) (Discussion)
  1

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Download Pdf Packages Youtube Videos Cdrom Configurations Contributed Duke


Fixes How to configure Ip Addresses Download Pdf Packages Youtube Videos

Powered by Blogger.

http://sumersinghtanwar9.blogspot.in/2014/02/step­by­step­guide­of­configuring­yum.html 14/14

S-ar putea să vă placă și