1、卸载自身yum
# rpm -aq|grep yum|xargs rpm -e --nodeps
2、下载centos6相关包
python-iniparse-0.3.1-2.1.el6.noarch.rpm
yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm
yum-3.2.27-14.el6.centos.noarch.rpm
yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm

3、安装
# rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
# rpm -ivh yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm
# rpm -ivh yum-3.2.27-14.el6.centos.noarch.rpm  yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
# rpm -ivh vsftpd-2.2.2-11.el6.x86_64 O(∩_∩)O~可以独立运行也可托管给xinetd(超级守护进程)


CentOS-Base.repo

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base - 163.com
#baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
baseurl=ftp://127.0.0.1/OS6/
gpgcheck=1

#vim The-little-vole .repo    --------~~~~(>_<)~~~~
[local1]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6
enable=1
gpgcheck=0

[local2]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6/Server/
enable=1
gpgcheck=0

[local3]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6/ScalableFileSystem/
enable=1
gpgcheck=0

[local4]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6/ResilientStorage/
enable=1
gpgcheck=0

[local5]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6/LoadBalancer/
enable=1
gpgcheck=0

[local6]
name=list yum liunx
baseurl=ftp://127.0.0.1/el6/HighAvailability/
enable=1
gpgcheck=0
##442518064-file