Re: local yum server

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux