Ubuntu 8.04 Hardy LTS 軟件源設置

一、軟件源(Software Sources)是什麼?

在Ubuntu中,軟件源是指一個由能夠得到軟件的地址組成的集合,這個地址能夠是網站、光盤,或者是硬盤上的一個目錄。軟件源上有「軟件倉庫」,軟件 倉庫中存儲着各類各樣的軟件。當你須要用到一個軟件的時候,就能夠經過工具(新立得synaptic 、 apt-get 或者 aptitude 等),自動地下載並自動地 安裝

二、軟件源(Software Sources)設置好了,我能夠得到哪些便利?

平常的軟件安裝或者更新都是採用從軟件源獲取軟件包的方式。設置好軟件源可讓你及時獲取重要的 安全更新,解決安全隱患;或者修復已知的問題,讓使用更順手。設置好軟件源一樣能夠加快以上操做的速度,節約你寶貴的時間。

三、我是新手,我不會設置,有簡單的圖形化界面的設置方法嗎?

Ubuntu的 系統(System)-系統 管理(Administration)菜單裏提供了圖形化界面的軟件源設置(Software Sources) 程序,不太小F提醒一下你們,只使用這個是不夠的!(具體設置方法請繼續往下看)

四、正確的設置方法!

在開始修改設置以前,先備份一下原來的設置。這一步看似多餘,實際上是一種很好的習慣,有利於 配置錯誤時的恢復。備份方法是:按Alt+F2,而後輸入 gksu cp /etc/apt/sources.list /etc/apt/sources.list-backup。回車後輸入你的密碼。
而後打開設置程序:系統(System)-系統管理(Administration)-軟件源設置(Software Sources)。在第一個標籤頁上,單擊「下載自(Download From)」右邊的菜單,選擇「其餘…(Others…)」。而後在彈出的窗口中單擊「選擇最佳 服務器(Select Best Server)」。下面系統會自動ping官方服務器列表中的服務器,並選擇最快的!
再按Alt+F2打開「運行程序(Run Application)」,輸入 gksu gedit /etc/apt/sources.list。回車後若是有提示輸入密碼,輸入你的密碼。把光標調到文件的最後。
(1)電信用戶加入下面的內容:
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn[/url] hardy main restricted universe multiverse
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy main restricted
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy restricted main universe
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy universe
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy restricted main universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe #Added by software-properties
deb [url]http://security.ubuntu.com/ubuntu[/url] hardy-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu[/url] hardy-security restricted main universe
deb [url]http://security.ubuntu.com/ubuntu[/url] hardy-security universe
(2)網通/教育網用戶加入下面的內容:
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn[/url] hardy main restricted universe multiverse
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy main restricted
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy restricted main universe
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy universe
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy main restricted
deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy restricted main universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy universe
deb [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe
deb-src [url]http://archive.ubuntu.com/ubuntu/[/url] hardy-updates universe #Added by software-properties
deb [url]http://security.ubuntu.com/ubuntu[/url] hardy-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu[/url] hardy-security restricted main universe
deb [url]http://security.ubuntu.com/ubuntu[/url] hardy-security universe
而後按Ctrl+S保存文檔,關掉這個窗口。

五、爲何我要設置這麼多國外源?

Ubuntu的項目是由世界各地的愛好者共同維護的,所以服務器端文件的更新很難作到同步。因爲Ubuntu的主服務器在歐洲,項目小組在挪威國,而英 語是Ubuntu用戶中使用最廣的語言,所以最新的更新版本很快被髮布到Ubuntu的歐洲主源和美國源。同時國內的Ubuntu更新源常常存在軟件包缺 失的問題,所以小F推薦你們設置歐洲和美國的官方源。

六、源越多速度越快嗎?

很不幸,Ubuntu的軟件管理程序沒 有自動判斷最快源的功能。所以不管你設置了多少源,Ubuntu只按照源列表的順序,找到第一個提供相應軟件包下載的源並鏈接下載。所以咱們在設置的時候 讓Ubuntu先自動找最快的源,而後把可能做爲補充的源加在後面。相反地,設置的源過多,反而會下降更新 (apt-get update)的速度。
附錄:官方源列表中沒有的經常使用軟件源列表(能夠本身試試哪一個更快,可是不要去掉國外源)
Ubuntu.cn99.com更新服務器(江蘇省常州市電信,推薦電信用戶使用):
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn/[/url] hardy main restricted universe multiverse
Mirror.lupaworld.com更新服務器(浙江省杭州市雙線服務器):
deb [url]http://mirror.lupaworld.com/ubuntu[/url] hardy main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-security main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-updates main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-backports main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-proposed main restricted universe multiverse
deb-src [url]http://mirror.lupaworld.com/ubuntu[/url] hardy main restricted universe multiverse
deb-src [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-security main restricted universe multiverse
deb-src [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://mirror.lupaworld.com/ubuntu[/url] hardy-proposed main restricted universe multiverse
廈門大學更新服務器( 教育網服務器):
deb [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-backports restricted universe multiverse
deb [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-proposed main restricted universe multiverse
deb-src [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]ftp://ubuntu.realss.cn/ubuntu/[/url] hardy-updates main restricted universe multiverse
成都市 電子科技大學更新服務器(教育網,推薦校園網和網通用戶使用):
deb [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]http://ubuntu.uestc.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
== 若是沒法解析uestc.edu.cn域名,請使用如下地址 ==
deb [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]http://ubuntu.dormforce.net/ubuntu/[/url] hardy-updates main multiverse restricted universe
上海市上海交通大學更新服務器(教育網,推薦校園網和網通用戶使用):
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
中國科學技術大學更新服務器(教育網,推薦校園網和網通用戶使用):
deb [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]http://debian.ustc.edu.cn/ubuntu/[/url] hardy-updates main multiverse restricted universe
北京市清華大學更新服務器(教育網,推薦校園網和網通用戶使用):
deb [url]http://mirror9.net9.org/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]http://mirror9.net9.org/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]http://mirror9.net9.org/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]http://mirror9.net9.org/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]http://mirror9.net9.org/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]http://mirror9.net9.org/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]http://mirror9.net9.org/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]http://mirror9.net9.org/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://mirror9.net9.org/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]http://mirror9.net9.org/ubuntu/[/url] hardy-updates main multiverse restricted universe
瀋陽市東北大學更新服務器(教育網,推薦校園網和網通用戶使用):
deb [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy main multiverse restricted universe
deb [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-security main multiverse restricted universe
deb [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-updates main multiverse restricted universe
deb-src [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy main multiverse restricted universe
deb-src [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-backports main multiverse restricted universe
deb-src [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-security main multiverse restricted universe
deb-src [url]ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/[/url] hardy-updates main multiverse restricted universe
中國臺灣 臺灣大學更新服務器(推薦網通用戶使用,電信PING平均響應速度41MS。強烈推薦此源,比較完整,較少出現同步問題):
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ubuntu.csie.ntu.edu.tw/ubuntu/[/url] hardy-proposed main restricted universe multiverse
Mirror.vmmatrix.net更新服務器(上海市電信,推薦電信網通用戶使用):
deb [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://mirror.vmmatrix.net/ubuntu/[/url] hardy-proposed main restricted universe multiverse
ubuntu.cnsite.org更新服務器(福建省福州市 電信):
deb [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy main restricted universe multiverse
deb-src [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy main restricted universe multiverse
deb [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-updates main restricted universe multiverse
deb [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-backports main restricted universe multiverse
deb [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-security main restricted universe multiverse
deb-src [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-security main restricted universe multiverse
deb [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-proposed main multiverse restricted universe
deb-src [url]http://ubuntu.cnsite.org/ubuntu/[/url] hardy-proposed main restricted 
相關文章
相關標籤/搜索