LinuxQuestions.org
Help answer threads with 0 replies.
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 03-27-2013, 06:56 AM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
YUM configuration issue


I have configured yum server successfully.
the repository is in /root/Desktop/Repository

I tested it in the server side and was successful.

In the client side I don't know what I have to mention as the base URL in the clienside configuration file.


Please advise.
 
Old 03-27-2013, 07:15 AM   #2
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
you have to install httpd or vsftpd on server to allow clients to use files on repository.

create repo file in client (same as the one you have for local repo) and replace baseurl

if httpd,
baseurl=http://x.x.x.x/<path-to-repo-Packages>

if vsftpd,
baseurl=ftp://x.x.x.x/<path-to-repo-Packages>

where x.x.x.x is server ip address

Last edited by Madhu Desai; 03-27-2013 at 07:18 AM.
 
1 members found this post helpful.
Old 03-27-2013, 02:27 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a question ?
Quote:
the repository is in /root/Desktop/Repository
Why ?

why are you using the "special folder" " Desktop" and in the ROOT home folder ?

linux is not windows
please do not use the very special "Desktop" folder as a install location

Last edited by John VV; 03-28-2013 at 01:43 AM.
 
Old 03-28-2013, 01:31 AM   #4
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Rep: Reputation: Disabled
Have u installed FTP on your server
if u have done it then place ur repository contents in /var/ftp/pub/ directory

And go to ur client machine
open /etc/yum.repos.d/rhel-debuginfo.repo file
that file should look like
baseurl=ftp://serverip/pub
enable=1
gpgcheck=0

#yum clean all
#yum list

Now try to install
 
  


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
Yum configuration? gowrishankar_rh Linux - Newbie 1 01-13-2013 02:07 AM
Issue on yum configuration shwethavb Red Hat 5 06-16-2011 05:58 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum configuration ashish_1985@ymail.com Linux - Newbie 1 02-11-2011 05:43 AM
Urgent--yum Configuration JIBIN S CHAVARA Linux - Hardware 1 06-27-2007 09:34 PM

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

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