[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: local yum server



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]