LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Yum help (https://www.linuxquestions.org/questions/linux-server-73/yum-help-725325/)

Sanjay177 05-11-2009 10:29 PM

Yum help
 
How can we use the yum placed in server side and we r client side...we dont have any copy of there .repo file..
Server had configured yum but didnt proide there .repo files to client
ftp is running....it had the Server (all rpms r here) folder in pub directory...
also there is a folder name updates and in which there r repodata directory which has the files named filelists.xml,primary.xml..etc.
PLease help
ReDHAT LiNUX

chitambira 05-12-2009 03:07 AM

check the mrepo project:
http://dag.wieers.com/home-made/mrepo/
http://www.brandonhutchinson.com/mre...iguration.html

priyophan 05-13-2009 11:19 PM

hi share the yum repository (e.g /var/ftp/pub/yumrepository) through an ftp server or http server and access the repository by specifying the location of the server in the client file
/etc/yum.repos.d/rhel-debuginfo.repo
....
....
ftp://pub/yumrepository
enabled=1
..


#service yum-updatesd restart
#yum install perl*

it will show whether the yum repository is available in the client side .

better to check ftp connections from the client side beforehand .
#ftp servername
check with anonymous login if the repo is available ....

cheers priyo


All times are GMT -5. The time now is 09:46 PM.