胡无人汉道昌 發表於 2020-10-19 18:40:00

Debian镜像源-阿里

<h1>1. 阿里Debian 镜像</h1>
<p>地址:https://developer.aliyun.com/mirror/debian</p>
<h1>2. 更新源</h1>
<div class="cnblogs_code">
<pre>更新Debian <span style="color: rgba(128, 0, 128, 1)">9</span>

<span style="color: rgba(0, 0, 255, 1)">cp</span>   /etc/apt/sources.list /etc/apt/<span style="color: rgba(0, 0, 0, 1)">sources.list.conf


</span><span style="color: rgba(0, 0, 255, 1)">cat</span> &gt; /etc/apt/sources.list &lt;&lt;<span style="color: rgba(0, 0, 0, 1)">EOF
deb http:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch main non-free contrib</span>
deb-src http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch main non-free contrib</span>
deb http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian-security stretch/updates main</span>
deb-src http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian-security stretch/updates main</span>
deb http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch-updates main non-free contrib</span>
deb-src http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch-updates main non-free contrib</span>
deb http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch-backports main non-free contrib</span>
deb-src http:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ stretch-backports main non-free contrib</span>
<span style="color: rgba(0, 0, 0, 1)">EOF



apt</span>-get update</pre>
</div>
<p>&nbsp;</p><br><br>
来源:https://www.cnblogs.com/-k8s/p/13841963.html
頁: [1]
查看完整版本: Debian镜像源-阿里