Debian Linux 更换阿里源
<p>刚安装好的Debian系统的默认源一般是国外链接,资源获取效率很低,可以指定为国内源,比如阿里的,步骤如下:</p><p><strong>步骤 1.备份系统默认源</strong><br>cp /etc/apt/sources.list /etc/apt/sources.list.bak</p>
<p><strong>步骤 2. 清空/etc/apt/sources.list</strong><br>echo "" > /etc/apt/sources.list</p>
<p><strong>步骤 3. 将以下内容添加到/etc/apt/sources.list</strong><br>deb https://mirrors.aliyun.com/debian stable main contrib non-free<br>deb https://mirrors.aliyun.com/debian stable-updates main contrib non-free</p>
<p><strong>步骤 4. 更新源列表</strong><br> apt-get update</p><br><br>
来源:https://www.cnblogs.com/dygao/p/16264402.html
頁:
[1]