Thursday, January 21, 2010

Configuring YUM server for LInux on Windows FTP server

Hi all,
          In this artical i am going to setup YUM ( Yellowdog Update Modified) server on a Windows based FTP server.Here we go;
First of all copy Full DVD  of your linux distribution on a windows ftp server.
In my case i have copied all the contented of Fedora core-11dvd on my windows ftp server (192.168.5.52\fedora11)
The exact link location is ftp://192.168.5.52/fedora11

Now on Linux system follow the following steps
1. Move all the repo file to a backup location in my case /backup/yum.repod

[root@satish.malanch.com tmp ]# mv /etc/yum.repod/*  /backup/yum.repod/
[root@satish.malanch.com tmp ]# cp /backup/yum.repod/fedora.repo  /etc/yum.repod/satishmalanch.repo

Now edit this file with vim edtior:
root@satish.malanch.com tmp ]# vim /etc/yum.repod/satishmalanch.repo



  Edit the file as shown in above figure.
Now run following command:


[root@satish.malanch.com tmp ]# yum clean all 
Now you have configured the yum repositry on a windows based ftp server on network.
You can now install the packages without any dependancy.


...........................  Satish Kr Malanch







 

No comments:

Post a Comment