Linux.com

You may also use the file:// protocol

Posted by: Administrator on July 23, 2004 08:45 PM
If you share files via NFS, you don't need to use the web server to serve the packages. Just let your YUM reposity visible in the NFS share, and use the file:// protocol. For example:
<TT>[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=file:///nfsshare/Fedora/Core/$relea<nobr>s<wbr></nobr> ever/$basearch/base/

[updates-released]
name=F edora Core $releasever - $basearch - Released Updates
baseurl=file:///nfsshare/Fedora/Core/$re<nobr>l<wbr></nobr> easever/$basearch/updates/</TT>
I've found the file protocol to be much faster than the http.

#

Return to How to run your own yum repository