新聞中心
因?yàn)樵诰€安裝需要在服務(wù)器上下載需要軟件和依賴(lài)關(guān)系文件,所以下載的速度很影響使用體驗(yàn)。一般來(lái)說(shuō),Linux默認(rèn)的源安裝和更新速度很慢,所以安裝好系統(tǒng)一般會(huì)選擇換源,本篇文章重點(diǎn)為大家講解一下CentOS,Ubuntu,Debian更換依賴(lài)源具體方法。

創(chuàng)新互聯(lián)公司,為您提供重慶網(wǎng)站建設(shè)公司、網(wǎng)站制作、網(wǎng)站營(yíng)銷(xiāo)推廣、網(wǎng)站開(kāi)發(fā)設(shè)計(jì),對(duì)服務(wù)成都邊坡防護(hù)網(wǎng)等多個(gè)行業(yè)擁有豐富的網(wǎng)站建設(shè)及推廣經(jīng)驗(yàn)。創(chuàng)新互聯(lián)公司網(wǎng)站建設(shè)公司成立于2013年,提供專(zhuān)業(yè)網(wǎng)站制作報(bào)價(jià)服務(wù),我們深知市場(chǎng)的競(jìng)爭(zhēng)激烈,認(rèn)真對(duì)待每位客戶(hù),為客戶(hù)提供賞心悅目的作品。 與客戶(hù)共同發(fā)展進(jìn)步,是我們永遠(yuǎn)的責(zé)任!
CentOS 7 yum源
rm -rf /etc/yum.repos.d/*.repo #刪除repo文件,或者自己備份
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum makecache #更新緩存
CentOS 6 yum源
rm -rf /etc/yum.repos.d/*.repo #刪除repo文件,或者自己備份
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
curl -o/etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
yum makecache #更新緩存
Ubuntu 18 apt源
mv /etc/apt/sources.list{,bak} #備份sources.list
cat > /etc/apt/sources.list
Ubuntu 16 apt源
mv /etc/apt/sources.list{,bak} #備份sources.list
cat > /etc/apt/sources.list
Debian 9 apt源
mv /etc/apt/sources.list{,bak} #備份sources.list
cat > /etc/apt/sources.list
Debian 8 apt源
mv /etc/apt/sources.list{,bak} #備份sources.list
cat > /etc/apt/sources.list 本文題目:CentOS,Ubuntu,Debian更換依賴(lài)源具體方法
鏈接地址:http://m.fisionsoft.com.cn/article/cohcsoo.html


咨詢(xún)
建站咨詢(xún)
