Redhat6.4未注册 ,yum改成 CentOS6.4 的方法
来源:互联网 发布:鑫圣金业行情软件 编辑:程序博客网 时间:2024/05/22 15:30
1.删除rhel6.4自带的yum,
命令如下: rpm -qa | grep yum | xargs rpm -e --nodeps
2.下载CentOS 6.4的yum,命令如下:
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
4.安装yumrpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
rpm -ivh yum-3.2.29-40.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm //这两个有依赖性一起安装
新建CentOS-Base.repo文件,内容为:
[base]
name=CentOS-$releasever - Base - 163.com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates - 163.com
baseurl=http://mirrors.163.com/centos/6/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - 163.com
baseurl=http://mirrors.163.com/centos/6/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - 163.com
baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/6/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
6. yum clean all 清除原有缓存
7. yum makecache 获取yum列表
完成全部操作- Redhat6.4未注册 ,yum改成 CentOS6.4 的方法
- Redhat6.4未注册 ,yum改成 CentOS6.4 的方法
- 解决redhat6.4的yum未注册无法使用的问题
- RedHat6配置CentOS6的yum源方法
- redhat6.4 配置centos6 yum替换
- redhat6.4配置centos6 yum替换
- redhat6.4配置centos6 yum替换
- Linux - redhat6.4 配置centos6 yum替换
- redhat6.4使用yum时提示需要注册问题
- VM redhat6.4 yum
- redhat6.4配置yum
- redhat6 配置centos6 yum替换
- redhat6.4简便安装yum
- RedHat6.4配置yum源
- 卸载redhat6.5的yum,安装centos6的yum,配置第三房yum源
- centos6.4配置163 yum源的方法
- centos6.4配置163 yum源的方法
- Redhat6.4 配置本地网络的FTP YUM源
- JBoss7 安装配置
- qemu-kvm 内存虚拟化---ept
- MongoDB的搭建
- 最美的时光
- Could not build module "Darwin"
- Redhat6.4未注册 ,yum改成 CentOS6.4 的方法
- Oracle 导入导出命令
- 拖拽改变td大小,同时td内容显示不完整时用。。。表示
- redhat oracle备份
- static作用(修饰函数、局部变量、全局变量)
- json与ajax
- python推荐资料
- 简单下载者学习
- 如何在IE6下让input框 居中,本人测试在IE8和火狐测试都可以通过,但在坑爹的IE6下是不可以的。