debian9、10快速更换阿里云源和其他的源

- QQ%E5%9B%BE%E7%89%8720220224235057

修改源列表,按着键盘DD删除原来的源,并按键盘的i键进入插入下面的源

vi /etc/apt/sources.list

阿里云源

deb http://mirrors.aliyun.com/debian stretch main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free

其他源

# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main

#deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main

deb http://mirror.clayer.net/debian/ buster main
deb-src http://mirror.clayer.net/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://mirror.clayer.net/debian/ buster-updates main
deb-src http://mirror.clayer.net/debian/ buster-updates main

完成后,两条命令敲下更新即可

apt-get update

apt-get upgrade
上一篇 使用centos7创建用户并授权操作方法
下一篇 debian10一键配置安装lnmp1.8搭建wordpress环境

投稿邮箱:
[email protected] (投稿详情)

TG订阅频道:
t.me/ivpsr_news 网站最新内容推送

TG交流群:
(点击加入) 用户交流

文章列表
1
OrangeVPS香港DC2机房VPS测评,移动线路优化BGP、支持Netflix与ChatGPT解锁
OrangeVPS香港DC2机房VPS测评,移动线路优化BGP、支持Netflix与ChatGPT解锁
2
设计小白福音《Adobe2018-2021全家桶》全套设计软件懒人包免费分享
设计小白福音《Adobe2018-2021全家桶》全套设计软件懒人包免费分享
3
Exoscale:瑞士苏黎世VPS简单测评,1Gbps带宽,Exoscale怎么样?直接看测评反馈数据
Exoscale:瑞士苏黎世VPS简单测评,1Gbps带宽,Exoscale怎么样?直接看测评反馈数据
4
linux运用zip和unzip进行压缩解压缩实战操作详解
linux运用zip和unzip进行压缩解压缩实战操作详解
5
UFOVPS国庆促销VPS低至7折,充值最高返1000元、香港、日本、美国机房
UFOVPS国庆促销VPS低至7折,充值最高返1000元、香港、日本、美国机房
6
SmokyHosts:美国VPS,1GB内存/10GB SSD/800GB流量/1Gbps带宽,低至 $12.95/年,可选纽约&洛杉矶机房
SmokyHosts:美国VPS,1GB内存/10GB SSD/800GB流量/1Gbps带宽,低至 $12.95/年,可选纽约&洛杉矶机房
7
SoftShellWeb年付16.95美元,单核1G、20G SSD、1Gbps带宽2TB流量、荷兰、美国、台湾机房可选
SoftShellWeb年付16.95美元,单核1G、20G SSD、1Gbps带宽2TB流量、荷兰、美国、台湾机房可选
8
Evoxt优化线路VPS月付2.99美元起,香港、日本、马来西亚机房、国内直连、大带宽
Evoxt优化线路VPS月付2.99美元起,香港、日本、马来西亚机房、国内直连、大带宽
9
提升VPS性能必备!超全Windows 10深度清理脚本教程
提升VPS性能必备!超全Windows 10深度清理脚本教程
10
免费领百度网盘VIP白薅羊毛
免费领百度网盘VIP白薅羊毛