*AT SERVER : (which has internet, and not 10.10.4.1)*

$ *mkdir /rsrch2/lug/pub/Linux/Fedora/updates/9/i386/ -p*

First transfer the content /rsrch2/lug/pub/Linux/extra/9 to
/rsrch2/lug/pub/Linux/Fedora/releases/9

*make a new file --  fedora9.cron*

Just Copy paste these lines

rsync -avrt 
rsync://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/9/Everything/i386/os/Packages/
/rsrch2/lug/pub/Linux/Fedora/releases/9/Everything/i386/os/Packages/
rsync -avrt rsync://ftp.jaist.ac.jp/pub/Linux/Fedora/updates/9/i386/
--exclude=debug/  /rsrch2/lug/pub/Linux/Fedora/updates/9/i386/

put this file in /etc/cron.daily directory -- (or whatever frequecny you want)

Before that just checkout they are mount point of rsrch2 --
here I am assuming that /rsrch2 of 10.10.4.1 is mounted on other
server(which has internet) at /rsrch2
and at 10.10.4.1, document web root for apache is /rsrch2/lug ,

*AT CIENT :*

*You need to make .repo fils to get updates from server
*


   - cd /etc/yum.repo.d/
   - gedit local-base.repo

   [local-base]
   name=Eklavya Fedora $releasever - $basearch
   failovermethod=priority
   
baseurl=http://10.10.4.1/pub/Linux/Fedora/releases/$releasever/Everything/$basearch/os/Packages/
   
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
   enabled=1
   gpgcheck=0



SAVE AND CLOSE


   - cd /etc/yum.repo.d/
   - gedit local-updates.repo

   [local-updates]
   name=Eklavya - Fedora $releasever - $basearch - Updates
   failovermethod=priority
   baseurl=http://10.10.4.1/pub/Linux/Fedora/updates/$releasever/$basearch/
   
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
   enabled=1
   gpgcheck=0



*SAVE AND CLOSE*
*--- Hope Mayank or You will be able to run Fedora 9 updates as well.
*




On Tue, Sep 9, 2008 at 5:45 PM, gajendra khanna <[EMAIL PROTECTED]>wrote:

>
> Update.
>
> >
>


-- 
┌───[ Narendra Sisodiya ]──────────────┐
└────────────[ +91-93790-75930 ]──────┘

--~--~---------~--~----~------------~-------~--~----~
[EMAIL PROTECTED] mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to