LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-2015, 09:56 AM   #1
linux_student_007
LQ Newbie
 
Registered: Jul 2014
Posts: 7

Rep: Reputation: Disabled
Smile RHEL Repo Sync to Local system


Hi Team,

I have RHEL satellite login credentials and I am able to update successfully my machine.Updating single worked for sometime.

My current requirement is to keep a separate VM locally in my environment and sync the RHEL repo to my machine.

How do I do it.

Thanks in advance
 
Old 02-13-2015, 10:31 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by linux_student_007 View Post
Hi Team,
I have RHEL satellite login credentials and I am able to update successfully my machine.Updating single worked for sometime. My current requirement is to keep a separate VM locally in my environment and sync the RHEL repo to my machine. How do I do it.
Simple: you contact Red Hat support for help, since you're PAYING FOR IT, and ask them. There is also ample documentation on Red Hat's website about how to configure satellite servers, and move them if need be, and how to update the repositories. Satellite is not free, nor is RHEL...you are PAYING for both (and a LOT...satellite is not cheap), so using the support you've paid for is your best bet.
 
Old 02-23-2015, 05:44 PM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
What I do in my closed networks is download all the update packages using yum-downloadonly and then just pointing my repo file to it. It's quick and dirty, but works for test networks.

Code:
[base]
name=CentOS-$releasever - Base
baseurl=file:///mnt/hgfs/rhel6/yum/base
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

[update]
name=CentOS-$releasever - Update
baseurl=file:///mnt/hgfs/rhel6/yum/update
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
 
Old 02-24-2015, 08:29 AM   #4
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,164
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
Create_a_Local_Yum_Repository says CentOS5.xx but it likely will work with minor effort on 6 or 7 also.
 
  


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
[SOLVED] RHEL 6 local YUM repo help xion824 Linux - Server 13 11-28-2012 02:15 PM
local repo srinivasmmdl Linux - Newbie 2 10-07-2011 10:00 AM
building a local RHEL repo mzrh Linux - Enterprise 1 09-28-2010 10:33 PM
Building a Custom repo... pacman -S fails to sync Alexvader Arch 2 05-24-2010 10:21 AM


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