debian 9(代号为 stretch)的镜像源已经从jessie更新到了stretch。为了确保安全,首先需要备份原有配置,然后再配置新的镜像源。以下是修改debian 9镜像源的步骤:
1、备份原有镜像源配置文件:执行命令 cp /etc/apt/sources.list /etc/apt/sources.list.bak

2、打开sources.list文件,注释掉原有的CD源代码,并将镜像源地址更新为163镜像源。具体代码如下:
deb http://mirrors.163.com/debian/ stretch main non-free contrib deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.163.com/debian/ stretch main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
配置完成后,输入命令 apt update 来更新系统镜像源配置文件。


以上就是Debian9安装163镜像源的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号