LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1721|回复: 12

无语...yum自动更新把我的RHEL升级为CentOS

[复制链接]
发表于 2006-4-26 15:39:18 | 显示全部楼层 |阅读模式
在网上看到别人说 CentOS 与 RHEL 包完全兼容,我就为rhel安装了yum并添加了CentOS的源。

自动更新了一下,重启动发现系统变了许多......变成了CentOS..........
发表于 2006-4-26 19:23:39 | 显示全部楼层
哈哈。。。你yum update啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-26 20:09:06 | 显示全部楼层
Post by jsqin
哈哈。。。你yum update啊?


是啊~~~~~~~~唉....................
回复 支持 反对

使用道具 举报

发表于 2006-4-26 21:39:10 | 显示全部楼层
标题还是RHEL么?挖哈哈
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-26 22:11:00 | 显示全部楼层
[redhat@traveller etc]$ cat /etc/issue
CentOS release 4.3 (Final)
Kernel \r on an \m

变成这个了
回复 支持 反对

使用道具 举报

发表于 2006-4-26 22:35:38 | 显示全部楼层
哈哈 我也下个试试 源在哪啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-26 22:46:55 | 显示全部楼层
  1. # CentOS-Base.repo
  2. #
  3. # This file uses a new mirrorlist system developed by Lance Davis for CentOS.
  4. # The mirror system uses the connecting IP address of the client and the
  5. # update status of each mirror to pick mirrors that are updated to and
  6. # geographically close to the client.  You should use this for CentOS updates
  7. # unless you are manually picking other mirrors.
  8. #
  9. # If the mirrorlist= does not work for you, as a fall back you can try the
  10. # remarked out baseurl= line instead.
  11. #
  12. #
  13. [base]
  14. name=CentOS-$releasever - Base
  15. mirrorlist=http://mirrorlist.centos.org/?release=4_3&arch=i386&repo=os
  16. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/os/i386/
  17.         ftp://202.38.97.230/centos/4.3/os/i386/
  18. gpgcheck=0
  19. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
  20. #released updates
  21. [update]
  22. name=CentOS-$releasever - Updates
  23. mirrorlist=http://mirrorlist.centos.org/?release=4_3&arch=i386&repo=updates
  24. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/updates/i386/
  25.         ftp://202.38.97.230/centos/4.3/updates/i386/
  26. gpgcheck=0
  27. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
  28. #packages used/produced in the build but not released
  29. [addons]
  30. name=CentOS-$releasever - Addons
  31. #mirrorlist=http://mirrorlist.centos.org/?release=4_3&arch=i386&repo=addons
  32. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/addons/i386/
  33.         ftp://202.38.97.230/centos/4.3/addons/i386/
  34. gpgcheck=0
  35. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
  36. #additional packages that may be useful
  37. [extras]
  38. name=CentOS-$releasever - Extras
  39. mirrorlist=http://mirrorlist.centos.org/?release=4_3&arch=i386&repo=extras
  40. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/extras/i386/
  41.         ftp://202.38.97.230/centos/4.3/extras/i386/
  42. gpgcheck=0
  43. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
  44. #additional packages that extend functionality of existing packages
  45. [centosplus]
  46. name=CentOS-$releasever - Plus
  47. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
  48. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/centosplus/$basearch/
  49. gpgcheck=0
  50. enabled=0
  51. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
  52. #contrib - packages by Centos Users
  53. [contrib]
  54. name=CentOS-$releasever - Contrib
  55. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
  56. baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.3/contrib/$basearch/
  57. gpgcheck=0
  58. enabled=0
  59. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-4-26 23:24:08 | 显示全部楼层
centos 与 rhel是一样的,只不过redhat是注册商标不能使用,就改成centos了,放心使用没问题的。也感谢redhat一直以来以 rpm方法发布源代码,方便编译。
回复 支持 反对

使用道具 举报

发表于 2006-4-27 21:03:25 | 显示全部楼层
fc5可不可以啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-27 21:29:08 | 显示全部楼层
Post by 晴天1
fc5可不可以啊


fc5干嘛????
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表