Al Sparks
2013-Mar-12 00:16 UTC
[CentOS] Manual Yum Updates -- No connectivity to Outside Yum Server
I want to update a CentOS 6.x install.? But it's located behind a firewall with no connectivity to the external internet. What are my options? ??? === Al
John R Pierce
2013-Mar-12 00:34 UTC
[CentOS] Manual Yum Updates -- No connectivity to Outside Yum Server
On 3/11/2013 5:16 PM, Al Sparks wrote:> I want to update a CentOS 6.x install. But it's located behind a firewall with no connectivity to the external internet.make a local copy of the centos repository section(s) you need, and point your server at that via /etc/yum.repos.d/CentOS-Base.repo ... I use this script (on an internet connected machine) to grab all the 32 and 64bit centos releases, but not source RPMs #!/usr/bin/sh /usr/local/bin/lftp -c 'open ftp://mirrors.kernel.org && lcd /export/mirror && mirror --continue --verbose=1 -x ia64 -x s390 -x s390x -x alpha -x SRPMS centos' then, my CentOS-Base.repo looks like... [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://xx.yy.ww.zz/mirror/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 (where that xx.yy.ww.zz is the internal/private IP of my mirror server...) -- john r pierce 37N 122W somewhere on the middle of the left coast
Clint Dilks
2013-Mar-12 00:35 UTC
[CentOS] Manual Yum Updates -- No connectivity to Outside Yum Server
Hi 1. On a system with internet access mirror the CentOS and Additional repositories that you need. You can use things like rsync or lftp (A Google Search will help with this). 2. Make the content you have mirrored available to your internal system. (USB Stick or similar may be an option here) 3. Configure yum to look at your mirrored info. /etc/yum.repos.d/CentOS-Media.repo should help you work out what you need. If you need to update a number of systems I suggest that you set up a permanent local mirror on your internal system so that once you update the repository information you can easily apply it to all systems. I hope this helps :) On Tue, Mar 12, 2013 at 1:16 PM, Al Sparks <data345 at yahoo.com> wrote:> I want to update a CentOS 6.x install. But it's located behind a firewall > with no connectivity to the external internet. > > What are my options? > === Al > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Apparently Analagous Threads
- Yum updates packages for other arch too
- Could not retrieve mirror list while using yum command
- problems installing parted tool
- can't install software, "not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet"
- YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet