歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 改善Ubuntu網速的終極殺手锏

改善Ubuntu網速的終極殺手锏

日期:2017/2/28 16:32:18   编辑:Linux教程

1.軟件源下載慢問題

備份軟件源:sudo cp /etc/apt/sources.list /etc/apt/sources.list

打開sources.list:sudo gedit /etc/apt/sources.list

把原有deb開頭的內容全部去掉,聯網狀態下,把下面的源一組一組地拷進去(保證每次只拷貝一組),具體也用不著那麼壯烈,可以借鑒旁邊的推薦意見試試其中幾個。每送進一組,Ctrl+S保存,啟動更新管理器,點擊“檢查更新”,這時Ubuntu就會從你設定的源下載軟件列表,你這時觀察一下下載速度,如果很快的話,就選他了!(參考:我使用徐州校園網電信,教育網連接時廈門大學的非常快)。

此外,也並不能完全照著拷貝這些,Ubuntu每個穩定版本都有一個代號,譬如8.04叫hardy,9.10叫karmic,10.04叫lucid,有些軟件源為了區分版本有這個代號。相信你的安裝光盤應該有這個代號,具體軟件源最好是到網上查一下某版本的軟件源,查不到的話,直接把下面軟件源裡的hardy替換成你的版本的代號即可

Ubuntu.cn99.com更新服務器(江蘇省常州市電信,推薦電信用戶使用):
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse

台灣大學更新服務器(推薦網通用戶使用,強烈推薦此源,比較完整):
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ intrepid-proposed main restricted universe multiverse

廈門大學更新服務器(教育網服務器):
deb ftp://ubuntu.realss.cn/ubuntu/ intrepid main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ intrepid-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ intrepid-updates main restricted universe multiverse

對於電信網絡用戶,推薦CN99的源,速度非常快。
deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

推薦網通用戶使用台灣大學的源:
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

校園網的朋友,推薦廈門大學Ubuntu服務器:
deb ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse

LUPA軟件源
deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse

2.浏覽網速慢的問題

Firefox:網址欄輸入about:config,在過濾器中輸入IPv6,就會有一個是關於使用IPV6地址解析協議的,把它的Disable屬性設為true即可(具體我也忘了,仔細看語義)

其它至於dns設定問題,我因為沒有太多了解,而且操作非常復雜,這裡只提供一個下載文件。

祝你好運!

Copyright © Linux教程網 All Rights Reserved