Ubuntu 更換國內源

2021-07-27 18:27:49 字數 2297 閱讀 5894

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #備份

sudo vim /etc/apt/sources.list #修改

sudo apt-get update #更新列表

阿里雲源

deb  trusty main restricted universe multiverse

deb trusty-security main restricted universe multiverse

deb trusty-updates main restricted universe multiverse

deb trusty-proposed main restricted universe multiverse

deb trusty-backports main restricted universe multiverse

deb-src trusty main restricted universe multiverse

deb-src trusty-security main restricted universe multiverse

deb-src trusty-updates main restricted universe multiverse

deb-src trusty-proposed main restricted universe multiverse

deb-src trusty-backports main restricted universe multiverse

附:2023年國內開源映象站點彙總

2.網易:

3.阿里雲:

5.蘭州大學:

6.中國科技大學:當前已用容量估計:21.32t)

7.大連東軟資訊學院:當前已用容量估計:2.5t)

8.東北大學:

9.大連理工大學:

10.哈爾濱工業大學:部分聯通運營商出口狀況不佳,無法訪問)

11.北京交通大學:

12.天津大學:無法訪問,ping超時)

13.中國地質大學:當前已用容量估計:2.3t)

14.浙江大學:

15.廈門大學:

16.中山大學:

17.重慶大學:當前已用容量估計:3.93t)

18.北京化工大學: sdk映象僅供校內使用,當前已用容量估計:1.72t)

19.南陽理工學院:

20.中國科學院:

2.中國電信天翼雲:

3.noc.im:當前已用容量估計:3.74t)

4.常州貝特康姆軟體技術****:只做centos映象,當前已用容量估計:140gb)

5.公雲pubyun(母公司為貝特康姆):

6.linux運維派:使用阿里雲伺服器,介面使用浙江大學的模板,首頁維護,內容可訪問)

7.中國網際網路絡資訊中心:只做apache映象,當前已用容量估計:120gb)

8.fayea工作室:只做apache映象,當前已用容量估計:120gb)

二、軟體版

(一)、作業系統類

1.ubuntu

阿里雲:ubuntu-releases/

網易:ubuntu-releases/

2.centos

網易:centos/

阿里雲:centos/

(二)、伺服器類

1.tomcat、apache

中國網際網路絡資訊中心:

華中科技大學:

北京理工大學:

2.mysql

北京理工大學:

中國電信天翼雲:mysql/

3.postgresql

浙江大學:postgresql/

4.mariadb

中國電信天翼雲:mariadb/

5.videolan

大連東軟資訊學院:

中國科技大學:

(三)、開發工具類

1.eclipse

中國科技大學:

中國科學院:

東北大學:http://ftp.neu.edu.cn/mirrors/eclipse/,eclipse/

2.安卓sdk

中國科學院:

南洋理工學院:android/repository/

中國科學院:

archlinux:

ubuntu:

debian:

fedora linux/fedora epel:

apache:

cygwin:

ubuntu 更換國內源

安裝好ubuntu系統後,預設的軟體更新源是國外的,在國內使用速度很慢,用 apt install 安裝軟體時可能出現 網路不可達 你的網路需要認證嗎 無法定位軟體包 等錯誤,所以我們需要更換成國內的源,這樣才能正常安裝和更新軟體。桌面開啟終端,執行命令 sudo cp etc apt source...

Ubuntu18 04更換國內源

sudo cp etc apt sources.list etc apt sourses.list.backup 163源 deb bionic main restricted universe multiverse deb bionic security main restricted unive...

Ubuntu18 04 更換 國內源

1.進入root模式sudo s 2.進入ubuntu源的目錄cd etc apt 3.備份sources.listcp sources.listsources.list.bak 4.修改sources.list 刪除sources.list中的內容,把阿里雲的源複製進source.list中 ge...