Re: local yum server

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

 



James Wilkinson a écrit :
> François Patte wrote:
> 
>>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.
> 
> 
> What about software installed on the clients but not on the server? Yum
> on the server won't pull down any updates (because the software to be
> updated is not installed on the server), so the clients won't see any
> updates.

If you only add your server url; the other url (mirror,...) are still
active and what is not found on the local server will be find on an
other "official" server".

For the extras, same thing can be done.


> (I should also have thought that you might have to relabel
> /var/cache/yum/undates-released and descendants periodically, or SELinux
> will stop httpd from accessing those files. But that's just a guess.)

I did not try with Selinux active.


-- 
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