Manual Yum Updates — No Connectivity To Outside Yum Server

Home » CentOS » Manual Yum Updates — No Connectivity To Outside Yum Server

2 thoughts on - Manual Yum Updates — No Connectivity To Outside Yum Server

  • 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

LEAVE A COMMENT