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模板怎么做 知道番号怎么下载 黄褐斑是怎么形成的 网卡怎么用 面瘫怎么办 天美时手表怎么样 隶字怎么读 qq邮箱密码怎么改