LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-13-2015, 08: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, 09:31 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 04: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, 07:29 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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


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

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

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