设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 数据 手机 公司
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

如何在CentOS中添加、启用和禁用一个仓库(5)

发布时间:2018-11-12 15:46 所属栏目:117 来源:Prakash Subramanian
导读:运行 yum repolist 命令检查 epel-testing 和 ius 仓库是否被禁用。它被禁用了,我不能看到那些仓库,除了 epel。 # yum repolist Loaded plugins: fastestmirror, security Loading mirror speeds from cached hos

运行 yum repolist 命令检查 “epel-testing” 和 “ius” 仓库是否被禁用。它被禁用了,我不能看到那些仓库,除了 “epel”。

  1. # yum repolist
  2. Loaded plugins: fastestmirror, security
  3. Loading mirror speeds from cached hostfile
  4. * epel: mirror.us.leaseweb.net
  5. repo id repo name status
  6. base CentOS-6 - Base 6,706
  7. centos-sclo-sclo CentOS-6 - SCLo sclo 495
  8. epel Extra Packages for Enterprise Linux 6 - x86_64 12,505
  9. extras CentOS-6 - Extras 53
  10. updates CentOS-6 - Updates 1,288
  11. repolist: 21,051

或者,我们可以运行以下命令查看详细信息:

  1. # yum repolist all | grep "epel*\|ius*"
  2. * epel: mirror.steadfast.net
  3. epel Extra Packages for Enterprise Linux 6 enabled: 12,509
  4. epel-debuginfo Extra Packages for Enterprise Linux 6 disabled
  5. epel-source Extra Packages for Enterprise Linux 6 disabled
  6. epel-testing Extra Packages for Enterprise Linux 6 disabled
  7. epel-testing-debuginfo Extra Packages for Enterprise Linux 6 disabled
  8. epel-testing-source Extra Packages for Enterprise Linux 6 disabled
  9. ius IUS Community Packages for Enterprise disabled
  10. ius-archive IUS Community Packages for Enterprise disabled
  11. ius-archive-debuginfo IUS Community Packages for Enterprise disabled
  12. ius-archive-source IUS Community Packages for Enterprise disabled
  13. ius-debuginfo IUS Community Packages for Enterprise disabled
  14. ius-dev IUS Community Packages for Enterprise disabled
  15. ius-dev-debuginfo IUS Community Packages for Enterprise disabled
  16. ius-dev-source IUS Community Packages for Enterprise disabled
  17. ius-source IUS Community Packages for Enterprise disabled
  18. ius-testing IUS Community Packages for Enterprise disabled
  19. ius-testing-debuginfo IUS Community Packages for Enterprise disabled
  20. ius-testing-source IUS Community Packages for Enterprise disabled

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读