自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

最新修改CentOS源代碼更新

系統(tǒng) Linux
由于CentOS源代碼更新,以CentOS5.3的上海交大更新源為例來進(jìn)行講解最新修改CentOS源代碼更新,應(yīng)該修改的具體步驟。

針對(duì)CentOS源代碼更新的問題,有很多版本的修改方法,根據(jù)最近的CentOS源代碼更新,我們以CentOS5.3的上海交大更新源為例來進(jìn)行講解。

1.CentOS源代碼修改/etc/yum.repos.d/CentOS-Base.repo為:

  1. base]  
  2. name=CentOS-5-Base  
  3. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&  
  4. repo=os 
  5. #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/  
  6. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/os/$basearch/  
  7. gpgcheck=1 
  8. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  9.  
  10. #releasedupdates  
  11. [update]  
  12. name=CentOS-5-Updates  
  13. #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates 
  14. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/updates/$basearch/  
  15. gpgcheck=1 
  16. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  17.  
  18. #packagesused/producedinthebuildbutnotreleased  
  19. [addons]  
  20. name=CentOS-***ddons  
  21. #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons 
  22.  
  23. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/addons/$basearch/  
  24. gpgcheck=1 
  25. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  26.  
  27. #additionalpackagesthatmaybeuseful  
  28. [extras]  
  29. name=CentOS-5-Extras  
  30. #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=extras 
  31.  
  32. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/extras/$basearch/  
  33. gpgcheck=1 
  34. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  35.  
  36. #additionalpackagesthatextendfunctionalityofexistingpackages  
  37. [centosplus]  
  38. name=CentOS-5-Plus  
  39. #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=centosplus 
  40. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/centosplus/$basearch/  
  41. gpgcheck=1 
  42. enabled=0 
  43. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  44.  
  45. #contrib-packagesbyCentosUsers  
  46. [contrib]  
  47. name=CentOS-5-Contrib  
  48. #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=contrib 
  49. baseurl=http://ftp.sjtu.edu.cn/centos/5.3/contrib/$basearch/  
  50. gpgcheck=1 
  51. enabled=0 
  52. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5  
  53.  

2.CentOS源代碼校驗(yàn)Key導(dǎo)入:執(zhí)行rpm --import http://ftp.sjtu.edu.cn/centos/5.3/os/i386/RPM-GPG-KEY-CentOS-5

3.CentOS源代碼進(jìn)行升級(jí):執(zhí)行yum update

好了,這樣我們就完成了修改CentOS源代碼更新。

【編輯推薦】

  1. 簡(jiǎn)單介紹CentOS安裝
  2. 打造安全的CentOS服務(wù)器
  3. 如何對(duì)CentOS防火墻進(jìn)行配置
  4. 解答CentOS配置常見問題
  5. 快速解決CentOS安裝后的初始化問題
責(zé)任編輯:小霞
相關(guān)推薦

2010-03-29 17:38:18

CentOS源代碼

2010-03-29 15:18:52

CentOS系統(tǒng)

2013-12-18 16:18:23

CentOShttpd源代碼

2020-11-13 13:05:27

Java開發(fā)代碼

2010-04-16 08:37:38

Java 7Java 1.7性能測(cè)試

2022-09-22 08:18:28

JavaAssistJboss開源

2009-04-03 08:28:39

2011-02-23 14:54:58

FileZilla

2011-02-23 14:46:21

FileZilla

2023-03-27 18:22:05

2020-11-14 11:20:56

滲透測(cè)試Cobalt Stri源代碼

2011-02-23 14:16:43

FileZilla

2011-02-23 14:39:27

FileZilla

2019-05-21 14:40:03

美國GitHub代碼

2021-03-12 14:06:03

谷歌代碼開發(fā)

2011-05-26 14:17:16

Android 源代碼

2011-02-23 14:26:28

FileZilla

2010-03-12 14:28:45

Python if語句

2011-02-23 15:26:01

FileZilla

2011-02-23 15:33:42

FileZilla
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)