国产成人精品18p,天天干成人网,无码专区狠狠躁天天躁,美女脱精光隐私扒开免费观看

新聞動(dòng)態(tài)

為您提供行業(yè)資訊、活動(dòng)公告、產(chǎn)品發(fā)布,匯聚最前沿流行的云計算技術(shù)

新聞公告


掃一掃添加企業(yè)微信客服

掃一掃添加企業(yè)微信客服


掃一掃添加微信客服

掃一掃添加微信客服

< 返回新聞公共列表

20253181725.gif

debian系統更換軟件源鏡像優(yōu)化國內下載速度

發(fā)布時(shí)間:2024-01-06 11:10:46 文章來(lái)源:互聯(lián)網(wǎng)

debian系統更換軟件源鏡像提高國內下載速度呢?使用國內小眾云主機經(jīng)常會(huì )遇到的問(wèn)題,下載更新軟件速度慢。如果預裝系統沒(méi)有根據位置選擇合適軟件源鏡像,建議手動(dòng)修改 debian 軟件源鏡像以加快速度。所以,Debian使用國外鏡像源,在國內使用會(huì )造成更新軟件慢或者找不到等問(wèn)題,裝完系統,應對軟件源進(jìn)行設置,改為國內源,下載速度就變快。本文將指導新手用戶(hù)更換軟件源,希望對用戶(hù)有所幫助。


國內debian軟件源鏡像

列出幾個(gè)常用國內 Debian軟件源鏡像。點(diǎn)此可查看完整鏡像節點(diǎn)。

鏡像節點(diǎn)鏡像地址
Debianhttp://ftp.cn.debian.org/debian/
阿里云http://mirrors.aliyun.com/debian/
華為云http://mirrors.aliyun.com/debian/
網(wǎng)易http://mirrors.163.com/debian/
清華大學(xué)http://mirrors.tuna.tsinghua.edu.cn/debian/
中國科大http://mirrors.ustc.edu.cn/debian/
蘭州大學(xué)http://mirror.lzu.edu.cn/debian/

更換Debian軟件源鏡像

在操作前,先重命名備份軟件源配置文件,以便在需要時(shí)可以還原。

mv /etc/apt/sources.list /etc/apt/sources.list.bak

創(chuàng )建新的配置文件。

vi /etc/apt/sources.list

內容如下(通常只需按需修改其中發(fā)行版代號和鏡像地址,詳細查看后面備注介紹)。

deb http://ftp.cn.debian.org/debian/ buster main contrib non-free

deb-src http://ftp.cn.debian.org/debian/ buster main contrib non-free

deb http://ftp.cn.debian.org/debian-security/ buster/updates main contrib non-free

deb-src http://ftp.cn.debian.org/debian-security/ buster/updates main contrib non-free

deb http://ftp.cn.debian.org/debian/ buster-updates main contrib non-free

deb-src http://ftp.cn.debian.org/debian/ buster-updates main contrib non-free

deb http://ftp.cn.debian.org/debian/ buster-backports main contrib non-free

deb-src http://ftp.cn.debian.org/debian/ buster-backports main contrib non-free

逐個(gè)介紹配置內容里的參數含義:

deb:二進(jìn)制軟件包;

deb-src:源代碼軟件包;

網(wǎng)址:軟件包鏡像地址;

發(fā)行版代號:適用對應發(fā)行版的軟件包,可用 lsb_release -c 命令查詢(xún)代號名稱(chēng);

發(fā)行版代號跟隨參數:軟件包類(lèi)型(xxxxx/updates 安全錯誤更新,xxxxx-updates 普通維護更新,xxxxx-backports 向后移植軟件包,將較新軟件補丁移植到舊版軟件上);

main:遵循 DFSG 標準的自由軟件;

contrib:遵循 DFSG 標準的自由軟件,但存在 non-free 依賴(lài);

non-free:不符合 DFSG 標準的軟件;

更新配置文件后重建軟件包索引生效。

apt-get update

如果你用的是 https 軟件源鏡像地址,那么需要確保已安裝下面兩個(gè)軟件。

apt-get install apt-transport-https ca-certificates



更多資訊:更多資訊

【文章聲明】

本站發(fā)布的【debian系統更換軟件源鏡像優(yōu)化國內下載速度】?jì)热荩▓D片、視頻和文字)以原創(chuàng )、轉載和分享為主,文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng)

如果涉及侵權請盡快告知,我們將會(huì )在第一時(shí)間立刻刪除涉嫌侵權內容,本站原創(chuàng )內容未經(jīng)允許不得轉載,或轉載時(shí)需注明出處。

/template/Home/twy/PC/Static
HD老熟女BBN老淑女| 第四色播日韩AV第一页| 一本色道久久88精品综合| 小婷又软又嫩又紧水又多的软件| 国产成人A∨激情视频厨房| 成人毛片100部免费看|