#!/bin/bash # RPMForge cd /yum/rpmforge5/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./rpmforge http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./dag http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./extras http://apt.sw.be/redhat/el5/en/i386/extras/RPMS/ cd /yum/rpmforge5/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./rpmforge http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./dag http://apt.sw.be/redhat/el5/en/x86_64/dag/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./extras http://apt.sw.be/redhat/el5/en/x86_64/extras/RPMS/ cd /yum/rpmforge6/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./rpmforge http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./dag http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./extras http://apt.sw.be/redhat/el6/en/i386/extras/RPMS/ cd /yum/rpmforge6/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./rpmforge http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./dag http://apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./extras http://apt.sw.be/redhat/el6/en/x86_64/extras/RPMS/ # EPEL cd /yum/epel5/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://download.fedora.redhat.com/pub/epel/5/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386/debug http://download.fedora.redhat.com/pub/epel/5/i386/debug/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://download.fedora.redhat.com/pub/epel/5/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64/debug http://download.fedora.redhat.com/pub/epel/5/x86_64/debug/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://download.fedora.redha t.com/pub/epel/testing/5/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://download.fedora.red hat.com/pub/epel/testing/5/x86_64/ cd /yum/epel6/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://download.fedora.redhat.com/pub/epel/6/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386/debug http://download.fedora.redhat.com/pub/epel/6/i386/debug/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://download.fedora.redhat.com/pub/epel/6/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64/debug http://download.fedora.redhat.com/pub/epel/6/x86_64/debug/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://download.fedora.redhat.com/pub/epel/testing/6/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://download.fedora.redhat.com/pub/epel/testing/6/x86_64/ # Remi cd /yum/remi5/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://rpms.famillecollet.com/enterprise/5/remi/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://rpms.famillecollet.com/enterprise/5/olds/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://rpms.famillecollet.com/enterprise/5/remi/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://rpms.famillecollet.com/enterprise/5/olds/x86_64/ cd /yum/remi6/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://rpms.famillecollet.com/enterprise/6/remi/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://rpms.famillecollet.com/enterprise/6/olds/i386/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://rpms.famillecollet.com/enterprise/6/remi/x86_64/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://rpms.famillecollet.com/enterprise/6/olds/x86_64/ # CentOS cd /yum/centos5 wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://mirror.centos.org/centos/5/os/i386/CentOS/ wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://mirror.centos.org/centos/5/os/x86_64/CentOS/ #cd /yum/centos6/ #wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./i386 http://mirror.centos.org/centos/6/os/i386/ #wget --accept=rpm --level=1 --recursive --no-parent -N --no-directories --directory-prefix=./x86_64 http://mirror.centos.org/centos/6/os/x86_64/
2011/03/25
架設 Yum 伺服器
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言