SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stephen Berg (Contractor)" <[log in to unmask]>
Reply To:
Stephen Berg (Contractor)
Date:
Fri, 7 Feb 2014 04:57:08 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
On 02/06/2014 02:49 PM, olli hauer wrote:
> Since I'm running also a internal mirror the first thing I do is to
> disable all external repos with by extending the site conf with 'enabled=0'.
>
> The second is to install a conf file pointing to my mirror and and using explicit release ver.
I took a slightly different route.  I added a reposdir= directive in 
/etc/yum.conf that points to repo files that define my local mirrors.  
That leaves all the normal repo files in /etc/yum.repos.d intact in case 
I ever have problems with my local mirrors I can comment out that one 
line in yum.conf and still get updates from the external repos.  Don't 
have to edit each repo file.

This also let me use an NFS share to hold my local repo file so all my 
systems use that one file.  If I ever need to exclude a specific package 
from a repo I change that file on NFS and all of my systems see the 
change.  I do have separate directories on that NFS share so can add 
repos to specific systems per user requests for a few things like 
google-chrome, google-earth and Dell repos for Dell hardware.

-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[log in to unmask]

ATOM RSS1 RSS2