Saturday, August 14, 2010

Simple steps to Install YUM Update Server in Linux


gravatar

Quick HOWTO : Simple steps to Install YUM Update Server in Linux

Posted by Parthiban Ponnusamy at Saturday, November 21, 2009 - 0 Comments
 
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 :)