November 21, 2024, 01:25:18 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: YUM configuration- How to make local yum repository in RHEL5  (Read 30014 times)

Offline gargsachin_ait

  • Linux Noob !
  • *
  • Posts: 27
YUM configuration- How to make local yum repository in RHEL5
« on: December 19, 2008, 11:05:24 AM »
Hi all
I am using RHEL5 in my pc. I  want to make a ONLINE yum repositery so that i can resolve dependies error easily as we can do in Fedora 9.
Please help me in getting the solution of this problem
« Last Edit: December 19, 2008, 12:10:59 PM by Ricky »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: YUM configuration- How to make local yum repository in RHEL5
« Reply #1 on: December 19, 2008, 12:13:00 PM »
You want to make a local YUM repository  so that you can update files locally inside LAN etc?

You should see this then :
linux.com/articles/37660

Offline sarunkumar3

  • New Member
  • Posts: 1
Re: YUM configuration- How to make local yum repository in RHEL5
« Reply #2 on: December 22, 2008, 08:05:11 AM »
You want to make a local YUM repository  so that you can update files locally inside LAN etc?

You should see this then :
linux.com/articles/37660
8)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: YUM configuration- How to make local yum repository in RHEL5
« Reply #3 on: December 23, 2008, 02:40:37 PM »
Looking for something ?

Offline gnunifier_007

  • Linux Noob !
  • *
  • Posts: 6
Re: YUM configuration- How to make local yum repository in RHEL5
« Reply #4 on: May 12, 2009, 04:19:45 PM »
You can follow this :-

Install vsftpd,
copy entire contents of RHEL install dvd to /var/ftp/pub.
start/restart vsftpd.

on the clients-
cd /etc/yum.repos.d
cp rhel-debuginfo.repo local.repo
edit the file to look like this -
[local-rhel]
name = RHEL 5
baseurl=ftp://<IP OF FTP SERVER>/pub/Server


keep the gpg check & gpg key files lines intact.


now you can install packages from this ftp server on ur LAN.

Offline somnath03

  • New Member
  • Posts: 1
Re: YUM configuration- How to make local yum repository in RHEL5
« Reply #5 on: October 02, 2011, 04:06:54 AM »
when i try to install thru yum , got message like below:

Damaged or Bad header.info from Red Hat Linux 4ES - i386 - Base
This is probably because of a downed server or an invalid header.info on a repository.
pls  help me.


Somnath