LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 08:15 AM   #2
mddnix
Member
 
Registered: Mar 2013
Location: Bengaluru, India
Distribution: Redhat, Arch, Ubuntu
Posts: 498

Rep: Reputation: 137Reputation: 137
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 mddnix; 03-27-2013 at 08:18 AM.
 
1 members found this post helpful.
Old 03-27-2013, 03:27 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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 02:43 AM.
 
Old 03-28-2013, 02: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


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


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