网络连接正常情况下配置yum源
备份/etc/yum.repos.d原repo文件
生成新的repo文件
vim CentOS6-Base-163.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-6 - Base - 163.com
#baseurl=http://mirrors.163.com/centos/6/os/$basearch/
baseurl=https://mirrors4.tuna.tsinghua.edu.cn/centos-vault/6.9/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
gpgcheck=0
yum clean
yum makecache
yum -y install telnet-server
即可使用yum