Wednesday, 15 June 2011

Simple steps to Install YUM Update Server in Linux

There are several ways. I provided one of the simple way with simple steps.. Follow the steps mentioned below.

1.Copy all data to /var/ftp/pub/Server
2. Install the createrepo rpm (If its not inistalled)
3. cd /etc/yum.repos.d/
4. vi parthi.repo

[parthi]
name=repository
baseurl=file:///var/ftp/pub/Server (Use ftp URL to setup this in client side)
enabled=1
keepcache=0



(there should not be any other *.repo file exists..remove or rename the other repositories)

5. createrepo -v /var/ftp/pub/Server
6. yum clean all
7. yum update
8. You are done… Start using yum, it should work :) 

No comments:

Post a Comment

Twitter Bird Gadget