LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2012, 03:25 PM   #1
bluforce
Member
 
Registered: Apr 2012
Posts: 39

Rep: Reputation: Disabled
Setup yum repo for CentOS 6


Guys,
What steps do I take to add a yum repo for:
http://mirror.mcs.anl.gov/

This is for CentOS6 32bit.

TIA
 
Old 09-10-2012, 04:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
this doesn't make sense, that is a mirror site, it contains dozens of different repos, and is just one of dozens or mirrors around the world that do the same thing. it already IS reachable via yum if the mirrorlist you use just so happens to reference it.
 
Old 09-10-2012, 04:35 PM   #3
bluforce
Member
 
Registered: Apr 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Sorry, guess I could've worded this better.
How could I setup a new Centos6 install to point to mirror.mcs.anl.gov for updates?
 
Old 09-10-2012, 04:40 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well again there's just no need to. By definition those updates can come from ANY mirror site. But if you relaly do want that one, you'd edit the repo files under /etc/yum.repos.d/, comment out the mirrorlist option and replace it with a baseurl option that points the the right location on that one specific non-resilient, no uptime guarentee, server.
 
1 members found this post helpful.
Old 09-10-2012, 04:46 PM   #5
bluforce
Member
 
Registered: Apr 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Ok, thank you Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
some yum repo help please cwc Fedora 6 09-24-2009 08:35 PM
yum grouplist setup on custom repo rowanu Linux - Software 2 07-15-2008 06:02 AM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 08:28 AM
yum update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 08:10 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM


All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration