LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setup yum repo for CentOS 6 (https://www.linuxquestions.org/questions/linux-newbie-8/setup-yum-repo-for-centos-6-a-4175426584/)

bluforce 09-10-2012 02:25 PM

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

acid_kewpie 09-10-2012 03:29 PM

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.

bluforce 09-10-2012 03:35 PM

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?

acid_kewpie 09-10-2012 03:40 PM

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.

bluforce 09-10-2012 03:46 PM

Ok, thank you Chris


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