Ubuntu for ARM 更換為阿里云鏡像源

1. 簡介

該鏡像適用于配置 ARM, PowerPC 等其他架構的 ubuntu系統,不適用 x86 !!!
各種版本的Ubuntu for ARM下載地址:https://cdimage.ubuntu.com/releases

2. 配置方法

打開 sources.list 文件。

vim /etc/apt/sources.list

將其中內容全部刪除(最好自己備份一個),為其中填充如下對應版本的鏡像源內容。

ubuntu 14.04 LTS (trusty) (EOL) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ trusty main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ trusty-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty-updates main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ trusty-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ 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

ubuntu 16.04 LTS (xenial) (EOL) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ xenial main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial maindeb https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates maindeb https://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universedeb https://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe

ubuntu 18.04 LTS (bionic) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

ubuntu 20.04 LTS (focal) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu-ports/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse

ubuntu 22.04 LTS (jammy) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse

ubuntu 23.04 (lunar) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ lunar main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ lunar-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ lunar-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu-ports/ lunar-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ lunar-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-backports main restricted universe multiverse

ubuntu 24.04 (noble) 配置如下

deb https://mirrors.aliyun.com/ubuntu-ports/ noble main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ noble-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ noble-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu-ports/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu-ports/ noble-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-backports main restricted universe multiverse

3. 更新源

執行更新命令。

apt-get update

#完

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/913202.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/913202.shtml
英文地址,請注明出處:http://en.pswp.cn/news/913202.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

HTML與JavaScript:構建動態交互式Web頁面的基石

HTML與JavaScript:構建動態交互式Web頁面的基石 在現代Web開發中,HTML和JavaScript是不可或缺的兩位主角。HTML負責頁面的結構和內容,而JavaScript則賦予頁面生命,使其能夠響應用戶交互、動態更新內容,并與后端服務進…

Python數據分析基礎03:探索性數據分析

相關文章: 《python數據分析基礎02:數據可視化分析》 《Python數據分析基礎01:描述性統計分析》 探索性數據分析(Exploratory Data Analysis, EDA) 的深度解析,涵蓋核心目標、方法論框架、關鍵技術及可視…

D3 面試題100道之(41-60)

這里是D3的面試題,我們從第 41~60題 開始逐條解答。一共100道,陸續發布中。 ?? 面試題(第 41~60 題) 41. D3 中如何添加圖例? 圖例可以通過手動創建 SVG 元素或使用 D3 的輔助函數來實現。常見做法是結合 d3.scaleOrdinal() 和 .range() 創建顏色映射圖例。 示例: c…

Spring Boot事件驅動模型深度解析

目錄 一、什么是Spring事件機制? 與傳統方法調用的對比: 二、四大核心組件解析 1. ApplicationEvent:事件對象 2. ApplicationEventPublisher:事件發布器 3. ApplicationListener:事件監聽接口 4. EventListener…

Python gmssl.SM4使用案例

Python gmssl.SM4使用案例 摘要:在異構計算系統驗證中,通常會有數據加解密的要求,例如用戶數據、權重參數等,本文將詳細介紹在UVM驗證環境中,調用Python的gmssl庫,用SM4實現加解密的驗證方案。 一、Python gmssl 庫介紹 gmssl 是一個開源的、純Python實現的國密算…

迅為高情性6TOPS算力的RK3576開發板NPU rknn-model-zoo例程演示

迅為iTOP-3576開發板采用瑞芯微RK3576高性能、低功耗的應用處理芯片,集成了4個Cortex-A72和4個Cortex-A53核心,以及獨立的NEON協處理器。它適用于ARM PC、邊緣計算、個人移動互聯網設備及其他多媒體產品。支持INT4/INT8/INT16/FP16/BF16/TF32混合運算&am…

rsync 命令詳解

目錄 rsync 傳輸備份工作原理詳解一、核心算法:差異傳輸二、傳輸流程三、關鍵技術四、與cp/scp復制的本質區別rsync的使用基本語法常用選項常用組合案例1. **本地目錄同步**2. **遠程同步(SSH協議)**3. **刪除目標端多余文件**4. **排除特定文件**5. **限速傳輸(避免占用帶…

【MySQL進階】錯誤日志,二進制日志,mysql系統庫

目錄 一.錯誤日志 1.1 配置錯誤日志 1.1.1 Windows的默認錯誤日志路徑 1.1.2 Unix和Linux系統的默認錯誤日志路徑 1.2 錯誤日志中事件的字段 1.2.1 核心錯誤事件字段 1.2.2.MySQL 錯誤消息的兩種不同輸出渠道 1.2.3 可選錯誤事件字段 1.3. 刷新錯誤日志文件和重命名 二…

day45-nginx復雜跳轉與https

1. ?nginx復雜跳轉 客戶端ip不是內網(172.16/192.168)ip時,維護文件存在時,返回503或者錯誤頁面 1.1. 📝修改配置文件 server {listen 80;server_name re.linux.cn; root /app/code/re/;set $flag 0;if ( $remote_addr !~* "^172…

基于pcl點云庫實現激光雷達數據采集

基于pcl點云庫實現倍加福R2000激光雷達數據采集 一、項目介紹二、開發詳情三、顯示效果展示四、說明 一、項目介紹 最近用pcl庫實現了倍加福R2000激光雷達的數據采集,并實時在viewer上實時更新顯示。軟件的開發是基于vs2019qt插件pcl庫實現,可以完成如下…

微信小程序61~70

1.組件wxml的slot-插槽 在使用基礎組件時,可以在組件中間寫子節點,從而將子節點內容展示到頁面中,自定義組件也可以接收子節點但是要在組件模板中定義節點,承載組件中間的子節點需要使用多個插槽時,要在組件.js中聲明…

03_性能優化:讓軟件呼吸更順暢

引言 在用戶對軟件響應速度近乎苛刻的今天,性能已成為產品競爭力的核心指標。據Google研究,頁面加載時間每增加1秒,轉化率就會下降20%。本文將從前端、后端、移動端三個維度,揭示性能優化的核心策略與實戰技巧,幫助你打…

LangChain4j 框架模仿豆包實現智能對話系統:架構與功能詳解

系統整體架構設計基于 LangChain4j 框架構建的智能對話系統采用 "前后端分離 大模型中樞" 的三層架構設計,實現了與豆包類似的智能交互體驗。系統架構圖如下所示:┌────────────────────────────────────…

基于uni-app的書法學習管理小程序的設計與實現

一、設計的目的 書法是中華民族傳統文化的瑰寶,更是人類文明的寶貴財富,具有深遠的意義和實價值。在當今數字化時代,隨著信息技術的飛速發展,傳統書法學習模式面臨著諸多挑戰和需要解決的問題。為推動書法學習的現代化轉型&#…

NumPy 函數庫在數學建模中的基本使用方法

一、引言 在數學建模的世界里,我們常常需要處理大量的數據和進行復雜的數值計算。Python 中的 NumPy 庫就像是一位得力的助手,它為我們提供了強大的多維數組對象和豐富的數學函數,讓我們能夠高效地完成各種數值計算任務。接下來,我們將深入探討 NumPy 在數學建模中的基本使…

模塊三:現代C++工程實踐(4篇)第一篇《C++模塊化開發:從Header-only到CMake模塊化》

引言:現代C工程化的核心挑戰(終極擴展版) 在云計算與物聯網時代,C項目規模呈指數級增長。傳統Header-only開發模式暴露出編譯效率低下、依賴管理混亂、版本沖突頻發等致命問題。本文通過CMake 3.22Conan 2.0工具鏈的深度集成&…

uniapp啟動圖被拉伸問題

記錄下: 安卓手機有不同的規格,很難所有規格都去適配。如果不適配所有機型,那么就會導致部分機型的啟動圖被拉伸。 安卓提供了.9.png圖片格式,允許標注部分拉伸,這樣啟動圖中間的logo就不會被拉伸。 下面2張圖是沒有…

stm32的三種開發方式

以下是針對STM32F103RC實現LED閃爍(PC13引腳)的三種開發方式示例代碼,每種方式均保持相同的核心邏輯: 1. 寄存器開發方式(直接操作寄存器) #include "stm32f10x.h"int main(void) {// 1. 開啟G…

SpringBoot問卷調查系統設計與實現

概述 基于SpringBoot開發的問卷調查系統,該系統集成了問卷管理、題目管理等多種功能模塊。 主要內容 核心功能模塊: ??個人信息管理??: 修改密碼個人信息修改 ??問卷管理??: 問卷新增問卷修改問卷刪除 ??題目管理?…

Linux進程管理:從基礎到實戰

在 Linux 系統編程中,進程(Process) 是操作系統進行資源分配和調度的基本單位。理解進程的概念是掌握系統編程、多任務處理、并發編程的基礎。 目錄 一、什么是進程? 定義: 二、進程的生命周期 示例:查…