LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-28-2010, 11:44 PM   #1
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Rep: Reputation: 0
how to use yum server configured on centos 5.5 on red hat?


hi everybody,
i have installed centos 5.5 and rhel5 on vmware but i want to use rhel5 as a yum-client of centos 5.5 . but it is not working for me.i have worked on rhel5 with yum already but there was no problem at all.i am using centos 5.5 first time so i want to know whether there is any difference b/w configuring rhel5 and centos5.5?

my centos 5.5 yum server file is given below

Code:
[CentOS]
name=client3.example.com
baseurl=file:///var/ftp/pub/CentOS
enabled=1
gpgcheck=0

[repodata]
name=client3.example.com
baseurl=file:///var/ftp/pub/repodata
enabled=1
gpgcheck=0
my rhel5 client file is given below

Code:
[CentOS]
name=client3.example.com
baseurl=ftp://192.168.0.3/pub/CentOS
gpgcheck=0
enabled=1

[repodata]
name=client3.example.com
baseurl=ftp://192.168.0.3/pub/repodata
gpgcheck=0
enabled=1

please help me i am in great confusion

Last edited by piyusharora420; 12-28-2010 at 11:58 PM. Reason: i posted wrong file
 
Old 12-29-2010, 12:06 AM   #2
veeruhs
LQ Newbie
 
Registered: Feb 2010
Posts: 17

Rep: Reputation: 0
Hi,

Is the url ftp://192.168.0.3/var/ftp/pub/CentOS accessible from the RHEL 5.5 client browser and can you download packages from the browser. If the url is not accessible then it seems to be ftp problem.

If you are able to access the url from the browser, run the command CREATEREPO /var/ftp/pub/CentOS on the server once again and check if it works

Thanks,
Veerendra
 
Old 12-29-2010, 01:40 AM   #3
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
its working but only if i have removed server.example.com.repo
that is my rhel5 server repo file.if i keep it then rhel5 client does not pick client3.example.com.repo.
what is the reason behind it ?
 
  


Reply

Tags
yum



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
LXer: Tutorial: Red Hat / CentOS - Chroot Apache 2 Web Server LXer Syndicated Linux News 0 12-25-2008 02:40 AM
Red Hat or CentOS on Dell server PE1955 toyk Linux - Hardware 0 08-20-2008 04:07 AM
LXer: How to Build Remote Snapshot Backup Server Using Red Hat/CentOS LXer Syndicated Linux News 0 07-10-2008 01:20 AM
Wrongly configured X server on Red Hat AS parthiv108 Linux - Hardware 8 06-18-2006 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:13 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
Open Source Consulting | Domain Registration