How to smartly manage Scientific Linux repositories

Discussion in 'all things UNIX' started by Mrkvonic, Sep 3, 2011.

Thread Status:
Not open for further replies.
  1. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,224
    I've written a very important and useful tutorial explaining how to safely manage Scientific Linux third-party repositories, including enabling them automatically or manually, importing GPG keys, setting repository priority and protection, resolving conflicts, and more. This is a must-read article for any RHEL, CentOS and Fedora users, but Scientific Linux fans get a special treatment. Enjoy.

    http://www.dedoimedo.com/computers/scientific-linux-repos.html


    Cheers,
    Mrk
     
  2. Trespasser

    Trespasser Registered Member

    Joined:
    Mar 1, 2005
    Posts:
    1,204
    Location:
    Virginia - Appalachian Mtns
    A lot of good information, Mrk. And, well written and presented, as usual.

    Have you ever written any books before? The reason I ask is because, obviously, you've got the writer in you. :).

    Thanks, Mrk.

    Later...
     
  3. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,224
    Well, I did write a few books, but I didn't publish much yet.
    I have a self-published book, if that counts.
    There's gonna be a fantasy-genre book toward the end of the year.
    And I'm always negotiating, low-intensity, with all kinds of publishers.

    Cheers,
    Mrk
     
  4. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,417
    Scary stuff for Linux newbies.

    As you've recommended elsewhere,
    I'd would add, "and stay with one mainstream distro" for as long as possible!
     
  5. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    vasa1, you are so right there - remember 'jack of all trades; master of none."
    RHEL is of course mainstream - big time. :)
     
  6. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,417
    But RHEL is more for corporates, isn't it?
     
  7. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    thanks Mrkvonic

    like Trespasser said lot of great stuff + i like to add i didnt know about yum-protectbase never used it thats for putting light on it as well.

    Again many many thanks great stuff :)
     
  8. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Sure, but many 'private' users with server setups swear by it. Also there are those pretty clueless beyond a certain level of linuxdom, like me, who have found the RHEL clones like
    CentOS and Scientific Linux quite straightforward and not outside anyone's capabilities in a non-server setup, especially if you are already familiar with Ubuntu(s).
    Besides the repo stuff and yum/rpm it's all basically the same.

    To date I have my sights set on either SL or Kubuntu to eventually be my default distro and take pride of place
    on my first hard drive instead of Ubuntu 10.04 LTS. (I emphasise 'to date' as change is ever present in the linux world it seems.)
     
  9. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Damn, forgot to thank Mrk. for looking after us SL users. Thanks !

    I personally prefer using priorities.
    Whatever you use it is important to edit all .repo files in /etc/yum.repos.d with protect=1 or protect=0 unless you know that you will never enable a currently disabled repo.
    I have assigned priorities to every .repo file in /etc/yum.repos.d, even those that are disabled,
    just in case I find something of interest in say a testing repo.
     
  10. wilbertnl

    wilbertnl Registered Member

    Joined:
    Dec 29, 2004
    Posts:
    1,850
    Location:
    Tulsa, Oklahoma
    Very VERY wonderful, I was contemplating a minimal CentOS server as music server and I found the missing mpd application in rpmForge.
    Now I' m confident that I can go ahead without spending hours trying to rpmbuild the missing software.

    Thank You!
    I serve you a beer when you are in my neck of the woods.

    By the way, it's common that repository providers offer an easy way to add their repo by installing their configuration file.
    RpmForge: http://pkgs.repoforge.org/rpmforge-release/
    ATrpms: http://packages.atrpms.net/dist/el6/atrpms-repo/
    EPEL: http://download.fedora.redhat.com/pub/epel/6/x86_64/repoview/epel-release.html
     
    Last edited: Sep 5, 2011
  11. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Just a note - not nitpicking.

    I see Mrk mentions install of both protectbase and priorities.
    This is not recommended at all ..

    http://wiki.centos.org/PackageManagement/Yum/ProtectBase

    (As mentioned in my previous post I only use priorities and assign them to every .repo file.)
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.