Redhat7更换centos7的yum源

 时间:2026-04-21 17:15:42

1、已加载插件product-id, search-disabled-repos, subscription-manager


This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repolist: 0

Redhat7更换centos7的yum源

2、卸载红帽的源,具体操作如下图

Redhat7更换centos7的yum源

3、查询有redhat的源 删除redhat的源包

Redhat7更换centos7的yum源

4、下载centos 中的源安装包,如果没有下载可以通过xftp工具上传。


Redhat7更换centos7的yum源

5、安装centos源,需要下载如图软件(经验没办法加上)

Redhat7更换centos7的yum源

6、更换系统的源,下载163的centos源

Redhat7更换centos7的yum源

7、然后修改源配置文件,将centos信息改一下。将该文件中的版本替换为对应的版本号,此系统中为7

Redhat7更换centos7的yum源

8、清理原有缓存 .然后安装软件试一下。

Redhat7更换centos7的yum源

9、重建缓存,提高搜索安装软件的速度

Redhat7更换centos7的yum源

10、然后安装测试一下,看看是不是可以使用了

Redhat7更换centos7的yum源

Redhat7更换centos7的yum源

  • centos(Linux)系统如何挂载数据盘
  • CentOS6.5与CentOS7下网络配置(永久生效)
  • openfire进程关闭怎么解决
  • suse9如何限制ftp用户权限
  • centos6 升级防火墙iptables
  • 热门搜索
    红烧泥鳅的家常做法 李小龙简介 减肥肚脐贴 怎么下载ppt模板 西安华山旅游攻略 巴黎圣母院简介 服装搭配图 红烧青鱼 红烧羊排 宝宝咳嗽的厉害怎么止咳最快