国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
redhat5.2 x64上使用yum
1、看看系統(tǒng):
uname -a
Java代碼
  1. Linux hostname 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux   
  2. cat /etc/redhat-release    
  3. Red Hat Enterprise Linux Server release 5.2 (Tikanga)  


2、卸載掉自帶的yum:
Java代碼
  1. rpm -aq|grep yum|xargs rpm -e --nodeps  


3、 下載centos的安裝包
Java代碼
  1. wget http://ftp.sjtu.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm   
  2. wget http://ftp.sjtu.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm   
  3. wget http://ftp.sjtu.edu.cn/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm   
  4. wget http://ftp.sjtu.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm   
  5. wget http://ftp.sjtu.edu.cn/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm  
4、生成/etc/yum.repos.d/CentOS-Base.repo 文件,內(nèi)容如下:

Java代碼
  1. [base]   
  2. name=CentOS-5 - Base   
  3. baseurl=http://ftp.sjtu.edu.cn/centos/5/os/x86_64/   
  4. gpgcheck=1  
  5. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5   
  6.   
  7. #released updates   
  8. [update]   
  9. name=CentOS-5 - Updates   
  10. baseurl=http://ftp.sjtu.edu.cn/centos/5/updates/x86_64/   
  11. gpgcheck=1  
  12. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5   
  13.   
  14. #packages used/produced in the build but not released   
  15. [addons]   
  16. name=CentOS-5 - Addons   
  17. baseurl=http://ftp.sjtu.edu.cn/centos/5/addons/x86_64/   
  18. gpgcheck=1  
  19. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5   
  20.   
  21. #additional packages that may be useful   
  22. [extras]   
  23. name=CentOS-5 - Extras   
  24. baseurl=http://ftp.sjtu.edu.cn/centos/5/extras/x86_64/   
  25. gpgcheck=1  
  26. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5   
  27.   
  28. #additional packages that extend functionality of existing packages   
  29. [centosplus]   
  30. name=CentOS-5 - Plus   
  31. baseurl=http://ftp.sjtu.edu.cn/centos/5/centosplus/x86_64/   
  32. gpgcheck=1  
  33. enabled=0  
  34. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5   
  35.   
  36. #contrib - packages by Centos Users   
  37. [contrib]   
  38. name=CentOS-5 - Contrib   
  39. baseurl=http://ftp.sjtu.edu.cn/centos/5/contrib/x86_64/   
  40. gpgcheck=1  
  41. enabled=0  
  42. gpgkey=http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-centos5  

5、換了一個Key
Java代碼
  1. rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5  
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Centos5.5國內(nèi)更新源
CentOS yum源設(shè)定使用方法的整理
RHEL5下使用centos源更新設(shè)置 - 我們不分梨 - 博客大巴
解決Redhat Linux5 yum出現(xiàn)This system is not registered with RHN的方案 | 黃克業(yè)的博客
【yum】 自從有了yum,紅帽變得好美麗!~
設(shè)置RED HAT升級源使用CENTOS源
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服