88971730 2013-09-04
# rpm -aq | grep yum|xargs rpm -e --nodeps
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
下载后放默认放在此目录下
RHEL6.0 下$releasever 变量的值默认为6Server,
替换为6
echo "6" > /etc/yum/vars/releasever
# yum clean all
提示错误用如下命令
mkdir /var/cache/yum/i386
mkdir /var/cache/yum/i386/6
# yum makecache #将软件包信息缓存到本地,以提高搜索安装软件的速度
# yum list java* 测试一下
yum install "@Chinese Support" 安装中文支持