On 3/9/17, 5:49 PM, "Chuck Anderson" <cra(a)WPI.EDU> wrote:
On Thu, Mar 09, 2017 at 10:17:10PM +0000, Brian Long (brilong) wrote:
On 3/9/17, 4:44 PM, "Kevin Fenzi" <kevin(a)scrye.com>
wrote:
For many years, I have maintained a private mirror but I only mirror
fedora-enchilada/fedora/linux/ to my local /var/www/fedora directory. I also only mirror
the releases and updates subdirectories.
In looking through your q-f-m website and config file, I’m not sure I can limit my mirror
to that specific subdirectory and take advantage of the speed increases. I have plenty of
disk space, so I believe I’ll make a “fedora-enchilada” directory in /var/www, move the
existing /var/www/fedora directory into the proper /var/www/fedora-enchilada/fedora/linux
directory, and make symlink /var/www/fedora -> /var/www/fedora-enchilada/fedora/linux.
You can exlude things via the FILTEREXP option in
quick-fedora-mirror.conf, e.g.:
FILTEREXP='(^alt/|^archive/|^epel/|^fedora-secondary/|^fedora/linux/core/|^fedora/linux/extras/|^fedora/linux/development/)'
That would get you Fedora release content and updates. You can also
get more granular to exclude specific arches or debuginfo content,
etc.
Chuck, thanks for the feedback and explanation of the FILTEREXP. Do you agree with my
migration plan as far as moving the existing content? I’m also mirroring EPEL, but it’s
under /var/www/epel.
I’ve provided internal clients with yum config RPMs that specifically point to my
mirror:/fedora and mirror:/epel directories so I need to avoid breaking those URLs.
Looks like I’ve got some testing to do. ☺
/Brian/