Re: Yum upgrade inside firewall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux