LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02:25 PM   #1
bluforce
Member
 
Registered: Apr 2012
Posts: 51

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, 03:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 03:35 PM   #3
bluforce
Member
 
Registered: Apr 2012
Posts: 51

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, 03:40 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 03:46 PM   #5
bluforce
Member
 
Registered: Apr 2012
Posts: 51

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


Reply



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 07:35 PM
yum grouplist setup on custom repo rowanu Linux - Software 2 07-15-2008 05: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 07:28 AM
yum update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 07:10 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 AM.

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
Open Source Consulting | Domain Registration