關於Debian源

 感覺linux 真的不適合圖形界面,又大又臃腫。 但是命令行的話就真的相當不錯。 有源的linux 真的不錯。 方便,一切都顯得那麼簡單 

Debian 源 。

 
        國內比較好用的debian源還是debian.cn99.com,但是不知道什麼原因這個國內最快的源掛了,現在設置debian就比較麻煩了。還好有了apt-spy,可以自動測試到哪個源的下載速度最快。
       當然,剛裝完系統是沒有apt-spy的,但是我們可以找個暫時先替代的。譬如:
在/etc/apt/sources.list 中添加
deb deb http://debian.ustc.edu.cn/debian/ sid main non-free contrib
執行以下命令更新軟件包列表:
apt-get update
然後執行以下命令安裝 apt-spy:
apt-get install apt-spy
從源上下載一份源的鏡像列表:[url]http://http.us.debian.org/debian/README.mirrors.txt[/url]
apt-spy update
測試亞洲地區的源的速度,自動寫入sources.list
apt-spy -d unstable -a asia -t 5
最後,sources.list中出現
deb [url]ftp://ftp.debianclub.org/debian/[/url] unstable main #contrib non-free
deb-src [url]ftp://ftp.debianclub.org/debian/[/url] unstable main #contrib non-free
#deb [url]http://security.debian.org/[/url] stable/updates main
---------------
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章