亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Ubuntu設(shè)置國內(nèi)鏡像的全部流程

 更新時間:2024年06月11日 09:14:36   作者:我就是菜  
Ubuntu作為廣泛使用的Linux發(fā)行版,其默認的鏡像源可能因為地理位置和網(wǎng)絡(luò)問題導致下載速度緩慢,本文將指導用戶如何根據(jù)自己所在的地理位置,選擇并設(shè)置最適合的國內(nèi)鏡像源,需要的朋友可以參考下

01.簡介

Ubuntu作為廣泛使用的Linux發(fā)行版,其默認的鏡像源可能因為地理位置和網(wǎng)絡(luò)問題導致下載速度緩慢。本文將指導用戶如何根據(jù)自己所在的地理位置,選擇并設(shè)置最適合的國內(nèi)鏡像源。

02.查詢版本

使用命令 lsb_release -a 查詢自己的系統(tǒng)版本號

icai@CSJMOVE:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
icai@CSJMOVE:~$

注意Codename 這個發(fā)行版代號, Ubuntu的每個發(fā)行版都擁有一個獨特的代號,開發(fā)代號需要與鏡像源對應(yīng)。

03.鏡像源(阿里云)

(1)ubuntu 14.04 LTS (trusty) (EOL)

deb https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

## Not recommended
# deb https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

(2)ubuntu 16.04 LTS (xenial) (EOL)

deb https://mirrors.aliyun.com/ubuntu/ xenial main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial main

deb https://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-updates main

deb https://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial universe
deb https://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-updates universe

deb https://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-security main
deb https://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-security universe

(3)ubuntu 18.04 LTS (bionic)

deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

(4)ubuntu 20.04 LTS (focal)

deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
```(5)ubuntu 22.04 LTS (jammy)
```Shell
deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse

(5) ubuntu 23.04 (lunar)

deb https://mirrors.aliyun.com/ubuntu/ lunar main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ lunar-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ lunar-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse

(6)ubuntu 24.04 (noble)

deb https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse

04.設(shè)置方法

(1)備份

sudo cp /etc/apt/sources.list /etc/apt/sources.list.back

(2)編輯

vim /etc/apt/sources.list

(3)更新

sudo apt update
sudo apt upgrade

到此這篇關(guān)于Ubuntu設(shè)置國內(nèi)鏡像的全部流程的文章就介紹到這了,更多相關(guān)Ubuntu設(shè)置鏡像內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

  • CentOS7環(huán)境搭建python3以及與python2實現(xiàn)共存的方法

    CentOS7環(huán)境搭建python3以及與python2實現(xiàn)共存的方法

    這篇文章主要介紹了CentOS7環(huán)境搭建python3以及與python2實現(xiàn)共存的方法,結(jié)合實例形式簡單分析了CentOS7環(huán)境下安裝Python3的步驟、命令及測試代碼示例,非常簡單易懂,需要的朋友可以參考下
    2018-06-06
  • Linux獲取docker容器中的文件路徑的方法

    Linux獲取docker容器中的文件路徑的方法

    在Linux系統(tǒng)中,Docker容器中的文件路徑與宿主機上的文件系統(tǒng)是隔離的,因此我們不能直接使用宿主機的文件系統(tǒng)路徑來訪問容器內(nèi)的文件,但是,有幾種方法可以讓我們獲取或操作Docker容器中的文件,本文介紹的非常詳細,需要的朋友可以參考下
    2024-11-11
  • Linux系統(tǒng)下netstat命令詳細介紹

    Linux系統(tǒng)下netstat命令詳細介紹

    大家好,本篇文章主要講的是Linux系統(tǒng)下netstat命令詳細介紹,感興趣的同學趕快來看一看吧,對你有幫助的話記得收藏一下,方便下次瀏覽
    2021-12-12
  • Linux提示網(wǎng)絡(luò)不可達問題

    Linux提示網(wǎng)絡(luò)不可達問題

    這篇文章主要介紹了Linux提示網(wǎng)絡(luò)不可達問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2023-12-12
  • PHP程序員玩轉(zhuǎn)Linux系列 nginx初學者引導

    PHP程序員玩轉(zhuǎn)Linux系列 nginx初學者引導

    這篇文章主要為大家詳細介紹了PHP程序員玩轉(zhuǎn)Linux系列文章,帶大家初步認識一下nginx,具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2017-04-04
  • CentOS7安裝配置 Redis的方法步驟

    CentOS7安裝配置 Redis的方法步驟

    這篇文章主要介紹了CentOS7安裝配置 Redis的方法步驟,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2019-04-04
  • 詳解Linux進程調(diào)度策略

    詳解Linux進程調(diào)度策略

    這篇文章主要介紹了詳解Linux進程調(diào)度策略,以及代碼實現(xiàn)中重要環(huán)節(jié)的指點,一起來學習下。
    2017-11-11
  • centos通過yum安裝php的教程

    centos通過yum安裝php的教程

    這篇文章主要介紹了centos通過yum安裝php的教程,本文給大家提到了CentOS 7下Yum安裝PHP7.2步驟,非常不錯,具有一定的參考借鑒價值,需要的朋友可以參考下
    2020-01-01
  • Linux利用lsof/extundelete工具恢復誤刪除的文件或目錄

    Linux利用lsof/extundelete工具恢復誤刪除的文件或目錄

    這篇文章主要給大家介紹了關(guān)于Linux利用lsof/extundelete工具恢復誤刪除的文件或目錄的相關(guān)資料,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧
    2020-08-08
  • Ubuntu下Docker CE的安裝

    Ubuntu下Docker CE的安裝

    今天小編就為大家分享一篇關(guān)于Ubuntu下Docker CE的安裝,小編覺得內(nèi)容挺不錯的,現(xiàn)在分享給大家,具有很好的參考價值,需要的朋友一起跟隨小編來看看吧
    2019-01-01

最新評論