debian更换国内软件源
备份原软件源
1 | mv /etc/apt/sources.list /etc/apt/sources.list.bak |
主要域名
1 | http://mirrors.163.com/debian/ |
Debian 6
阿里
1 | cat >> /etc/apt/sources.list << EOF |
中科大
1 | cat >> /etc/apt/sources.list << EOF |
163
1 | cat >> /etc/apt/sources.list << EOF |
Debian 7
阿里
1 | cat >> /etc/apt/sources.list << EOF |
中科大
1 | cat >> /etc/apt/sources.list << EOF |
163
1 | cat >> /etc/apt/sources.list << EOF |
Debian 8
阿里
1 | cat >> /etc/apt/sources.list << EOF |
中科大
1 | cat >> /etc/apt/sources.list << EOF |
163
1 | cat >> /etc/apt/sources.list << EOF |
Debian 9
阿里
1 | cat >> /etc/apt/sources.list << EOF |
中科大
1 | cat >> /etc/apt/sources.list << EOF |
163
1 | cat >> /etc/apt/sources.list << EOF |
Debian 10
阿里源
1 | cat >> /etc/apt/sources.list << EOF |
中科大
1 | cat >> /etc/apt/sources.list << EOF |
清华大学
1 | cat >> /etc/apt/sources.list << EOF |
Debian 11
1 | cat >> /etc/apt/sources.list << EOF |