We have several CENTOS 4.X which inside Firewall.? I can NOT run "yum" inside firewall to upgrade O.S. to new release. ? Does there has way I can download all RPM to otherside firewall server then transfer those files into servers inside firewall and upgrade. ? Anyone have procedure dicuments or website can be reference? ? Thanks. ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081204/9da90fc6/attachment-0003.html>
mcclnx mcc wrote:> We have several CENTOS 4.X which inside Firewall.? I can NOT run "yum" > inside firewall to upgrade O.S. to new release. > ? > Does there has way I can download all RPM to otherside firewall server then > transfer those files into servers inside firewall and upgrade. > ? > Anyone have procedure dicuments or website can be reference? > ?establish a mirror using rsync, this is what I run for CentOS 5.x rsync -av --delete rsync://mirrors.kernel.org/centos/5/updates/x86_64/ latest/x86_64/ rsync -av --delete rsync://mirrors.kernel.org/centos/5/updates/i386/ latest/i386/ replace 5 with 4 to get CentOS 4.x Then put those files on a system which your systems can access and point yum to it. In my case an example would be to put this in your yum config and disable all other external repositories [updates] name=CentOS-$releasever - Updates baseurl=http://10.1.30.139/updates/centos_5/latest/$basearch/ gpgcheck=0 # this one specific to centos 5.1 32-bit [base] name=CentOS-$releasever - Base baseurl=http://10.1.30.139/OS/centos_5_1_32/ gpgcheck=0 nate
On Wed, Dec 3, 2008 at 16:48, mcclnx mcc <mcclnx at yahoo.com.tw> wrote:> We have several CENTOS 4.X which inside Firewall. I can NOT run "yum" > inside firewall to upgrade O.S. to new release. > > Does there has way I can download all RPM to otherside firewall server then > transfer those files into servers inside firewall and upgrade. > > Anyone have procedure dicuments or website can be reference?Sure download the rpms and tranfer to a machine behind the firewall. Use createrepo, I believe, to create a local repository. Point the servers behind the firewall to this machine and use yum to update. ne... -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. Bob Dole - "The internet is a great way to get on the net."
ne... wrote:> On Wed, Dec 3, 2008 at 16:48, mcclnx mcc <mcclnx at yahoo.com.tw> wrote: > >> We have several CENTOS 4.X which inside Firewall. I can NOT run "yum" >> inside firewall to upgrade O.S. to new release. >> >> Does there has way I can download all RPM to otherside firewall server then >> transfer those files into servers inside firewall and upgrade. >> >> Anyone have procedure dicuments or website can be reference? >> > Sure download the rpms and tranfer to a machine behind the firewall. > Use createrepo, I believe, to create a local repository. Point the servers > behind the firewall to this machine and use yum to update. > > ne... >I use dag wiers excellent mrepo from rpmforge (can also be used for RHEL repos). Works great for me, cinch to setup and run mrepo -u as a cronjob to keep things up to date (and email me with updated rpms). Best of luck. Regards Andy