1、配置本地的yum源配置文件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/
yum install wget -y
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
如果没有wget命令,则复制http://mirrors.aliyun.com/repo/Centos-6.repo
,在新标签中打开,下载Centos-6.repo,再将
Centos-6.repo上传到CentOS-Base.repo目录下
3、生成缓存
yum makecache
4、安装man
yum install man 或者 yum install man -y