|
|
(未显示41个用户的99个中间版本) |
第1行: |
第1行: |
| {{TOCright}} | | {{TOCright}} |
− | {{Qref}}
| + | {{Qref}} |
− |
| + | |
| | | |
− | == 如何使用我们推荐的源 == | + | <br style="clear:both"/> |
| + | 適用於 20.04 的基礎配置([[Template:Ubuntu source|詳細]]): |
| | | |
− | {{Qref Info}} 不同的网络状况连接以下源的速度不同, 所以cn99并不一定是最快的源, 建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通ADSL用户连接cn99就非常慢(Then what's the fastest source for Beijing Netcom? ),而ftp.sjtu.edu.cn是相对较快的源,选择最快的源可以节省大批下载时间 | + | {{Ubuntu source|distro=focal|src=1}} |
− |
| + | |
| | | |
− | :1 首先备份源列表:
| + | 如要用於其他版本,把 '''focal''' 換成版本代號就好: |
| | | |
− | sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
| + | ;21.04:{{code|hirsute}}([[Template:21.04source|詳細]]) |
| + | ;20.10:{{code|groovy}}([[Template:20.10source|詳細]]) |
| + | ;18.04:{{code|bionic}}([[Template:18.04source|詳細]]) |
| + | ;16.04:{{code|xenial}}([[Template:16.04source|詳細]]) |
| + | ;14.04:{{code|trusty}}([[Template:14.04source|詳細]]) |
| | | |
− | :2 而后用gedit或其他编辑器打开:
| + | == 自動測速 == |
| | | |
− | {{Qref Ubuntu Logo}} gksu gedit /etc/apt/sources.list
| + | Ubuntu 設置中的「軟件與更新」可以設置從哪裡的服務器下載,免去抄服務器和編配置的麻煩<small>(本來這事就不該這麼折騰,不是嗎?)</small>。點擊那個下拉框的最後一個選項可以看到完整列表,右側有一個自動測速按鈕。 |
− | {{Qref Kubuntu Logo}} kdesu kate /etc/apt/sources.list
| + | |
− | {{Qref Xubuntu Logo}} gksu mousepad /etc/apt/sources.list
| + | |
− | {{Qref Edubuntu Logo}} gksu gedit /etc/apt/sources.list
| + | |
| | | |
− | :3 从下面列表中选择合适的源,替换掉文件中所有的内容,保存编辑好的文件:
| + | == 如何修改源列表 == |
| | | |
− | :{{Qref Alarm}} <font color="red">注意:一定要选对版本</font> <font style="font-size:120%">{{Qref Info}} [[Template:9.10source|9.10]] {{Qref Info}} [[Template:9.04source|9.04]] {{Qref Info}} [[Template:8.10source|8.10]] {{Qref Info}} [[Template:8.04source|8.04]] {{Qref Info}} [[Template:6.06source|6.06]]</font>
| + | {{Qref Info}} 不同的網絡狀況連接以下源的速度不同, 建議在添加前手動驗證以下源的連接速度(ping下就行),選擇最快的源可以節省大批下載時間。 |
− | | + | |
− | :4 然后,刷新列表:
| + | |
| | | |
| + | *首先備份源列表(for sure): |
| + | sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup |
| + | *而後用gedit或其他編輯器打開: |
| + | {{Qref Ubuntu Logo}} gksu gedit /etc/apt/sources.list |
| + | {{Qref Kubuntu Logo}} kdesudo kate /etc/apt/sources.list |
| + | {{Qref Xubuntu Logo}} gksu mousepad /etc/apt/sources.list |
| + | {{Qref Xubuntu Logo}} gksu leafpad /etc/apt/sources.list # 12.04 |
| + | sudo apt edit-sources # CLI |
| + | |
| + | *從下面列表中選擇合適的源,替換掉文件中所有的內容,保存編輯好的文件: |
| + | :{{Qref Alarm}} <font style="font-size:120% color="red">注意:一定要選對版本</font> |
| + | *然後,刷新列表: |
| sudo apt-get update | | sudo apt-get update |
| + | :{{Qref Alarm}} <font style="font-size:120% color="red">注意:一定要執行刷新</font> |
| | | |
− | :{{Qref Alarm}} <font color="red">注意:一定要执行刷新</font>
| + | == 停止維護的版本 == |
− | | + | |
− | == 源列表 == | + | |
− | === Lucid(10.04) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{10.04source}}
| + | |
− | 武汉大学更新服务器
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ lucid main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ lucid-backports main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ lucid-proposed main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ lucid-security main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ lucid-updates main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ lucid main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ lucid-backports main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ lucid-proposed main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ lucid-security main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ lucid-updates main restricted universe multiverse
| + | |
− | === Karmic(9.10) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{9.10source}}
| + | |
− | 武汉大学更新服务器
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ karmic main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ karmic-backports main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ karmic-proposed main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ karmic-security main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ karmic-updates main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ karmic main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ karmic-backports main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ karmic-proposed main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ karmic-security main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ karmic-updates main restricted universe multiverse
| + | |
− | | + | |
− | === Jaunty(9.04) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{9.04source}}
| + | |
− | 武汉大学更新服务器
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ jaunty main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ jaunty-backports main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ jaunty-proposed main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ jaunty-security main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ jaunty-updates main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ jaunty main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ jaunty-backports main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ jaunty-proposed main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ jaunty-security main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ jaunty-updates main restricted universe multiverse
| + | |
− | | + | |
− | === Intrepid(8.10) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{8.10source}}
| + | |
− | 武汉大学更新服务器
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ intrepid main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ intrepid-backports main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ intrepid-proposed main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ intrepid-security main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ intrepid-updates main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ intrepid main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ intrepid-backports main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ intrepid-proposed main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ intrepid-security main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ intrepid-updates main restricted universe multiverse
| + | |
− | | + | |
− | === Hardy(8.04) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{8.04source}}
| + | |
− | 武汉大学更新服务器
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ hardy main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ hardy-backports main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ hardy-proposed main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ hardy-security main restricted universe multiverse
| + | |
− | deb http://linux.ziqiang.net/ubuntu/ hardy-updates main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ hardy main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ hardy-backports main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ hardy-proposed main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ hardy-security main restricted universe multiverse
| + | |
− | deb-src http://linux.ziqiang.net/ubuntu/ hardy-updates main restricted universe multiverse
| + | |
− | | + | |
− | === Dapper (6.06) 版本 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {{6.06source}}
| + | |
− |
| + | |
− | | + | |
− | === 停止维护的版本 ===
| + | |
− | | + | |
− | ----
| + | |
| | | |
− | [[Template:7.10source|7.10]] 、[[Template:7.04source|7.04]]、[[Template:6.10source|6.10]]、5.10、5.04、4.10 | + | [[Template:17.04source|17.04]][[Template:16.10source|16.10]][[Template:15.10source|15.10]][[Template:15.04source|15.04]]、[[Template:14.10source|14.10]]、[[Template:13.10source|13.10]]、[[Template:13.04source|13.04]]、[[Template:12.10source|12.10]]、[[Template:11.10source|11.10]]、[[Template:11.04source|11.04]]、[[Template:10.10source|10.10]]、[[Template:10.10source|10.04]]、[[Template:9.10source|9.10]]、[[Template:9.04source|9.04]]、[[Template:8.10source|8.10]]、[[Template:7.10source|7.10]] 、[[Template:7.04source|7.04]]、[[Template:6.10source|6.10]]、6.06、5.10、5.04、4.10 |
| | | |
| 停止維護版本的官方軟件源:http://old-releases.ubuntu.com/releases/ | | 停止維護版本的官方軟件源:http://old-releases.ubuntu.com/releases/ |
| | | |
− | 以5.04 (hoary) 為例:
| + | '''6.06(Dapper)、8.04(Hardy)的源部分第三方鏡像如中科大、交大等有''',詳情請查閱各鏡像地址下的 dists 目錄中是否有 dapper 子目錄 |
− | <pre>
| + | |
− | deb http://old-releases.ubuntu.com/ubuntu/ hoary main restricted universe multiverse
| + | |
− | deb http://old-releases.ubuntu.com/ubuntu/ hoary-security main restricted universe multiverse
| + | |
− | deb http://old-releases.ubuntu.com/ubuntu/ hoary-updates main restricted universe multiverse
| + | |
− | deb http://old-releases.ubuntu.com/ubuntu/ hoary-proposed main restricted universe multiverse
| + | |
− | deb http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse
| + | |
− | deb-src http://old-releases.ubuntu.com/ubuntu/ hoary main restricted universe multiverse
| + | |
− | deb-src http://old-releases.ubuntu.com/ubuntu/ hoary-security main restricted universe multiverse
| + | |
− | deb-src http://old-releases.ubuntu.com/ubuntu/ hoary-updates main restricted universe multiverse
| + | |
− | deb-src http://old-releases.ubuntu.com/ubuntu/ hoary-proposed main restricted universe multiverse
| + | |
− | deb-src http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse
| + | |
− | </pre>
| + | |
| [[Category:速配指南]] | | [[Category:速配指南]] |