LinuxQuestions.org
Help answer threads with 0 replies.
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 02-13-2016, 11:32 PM   #1
jaydul
Member
 
Registered: Sep 2012
Posts: 51

Rep: Reputation: Disabled
Question CentOS - Yum - Specify Mirror


Is it possible to specify a mirror for YUM to target when doing updates?
I want use only update from this mirror.
http://lug.mtu.edu/centos/
 
Old 02-14-2016, 03:56 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545
Disable the fastest mirror plugin, create a /etc/yum.repos.d/somename.repo with a custom repo name and the repo address you want then use (or create alias for) 'yum --disable-repo=\* --enable-repo=somename check-update;'?
 
  


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
where does YUM get all its software from which mirror? vitalstrike82 Red Hat 6 07-29-2012 08:42 PM
Problem using local mirror for yum rockor Fedora 2 01-13-2010 02:09 AM
Problem using yum with local mirror willdawg Fedora 1 01-10-2007 04:50 PM
Setting up YUM to update from local mirror klnasveschuk Fedora 3 04-21-2005 07:11 AM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 04:24 PM

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

All times are GMT -5. The time now is 02:49 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