local yum server

François Patte francois.patte at math-info.univ-paris5.fr
Wed Mar 15 05:32:14 UTC 2006


Adel ESSAFI a écrit :
> Hi all
> I want to ask if it is possible, to make a local server for yum. In
> fact, we have a very slow band width and I want to install a local
> server. So I will have only to update my server.
> Thanks
> 

Here is what I have done:

Install httpd  on your server.

create in /var/www/html/ a symlink named "updates-released" pointing to:

/var/cache/yum/updates-released/

Every time you update your server, run:

createrepo /var/www/html/updates-released/

On every client add a line in /etc/yum.repo.d/fedora-update-released.repo:

baseurl=http://myserver.mydomain/updates-released

And you're done.
-- 
François Patte
UFR de mathématiques et informatique
Université Paris 5 - Paris
http://www.math-info.univ-paris5.fr/~patte




More information about the fedora-list mailing list