LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   YUM configuration issue (https://www.linuxquestions.org/questions/linux-newbie-8/yum-configuration-issue-4175455767/)

thirstonlinux 03-27-2013 06:56 AM

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.

Madhu Desai 03-27-2013 07:15 AM

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

John VV 03-27-2013 02:27 PM

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

suresh.k 03-28-2013 01:31 AM

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


All times are GMT -5. The time now is 12:53 AM.