kali最新国内更新源sources

1. 换源地址

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
 
#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
 
#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
 
#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
 
#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
 
#官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
 
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

2. kali 换源

方法1

使用下列命令可以直接打开 sources.list

 sudo mousepad /etc/apt/sources.list

方法2

①在命令行打开记事本
sudo mousepad

kali最新国内更新源sources_第1张图片

② 随便复制一条地址到记事本

kali最新国内更新源sources_第2张图片

③ 点击x退出,弹出保存框 然后选择save

kali最新国内更新源sources_第3张图片

④ 上一步 save 保存后 出现下面这个页面

kali最新国内更新源sources_第4张图片

⑤ 选择 FilesyStem root—>etc—>apt目录

kali最新国内更新源sources_第5张图片
kali最新国内更新源sources_第6张图片

⑥ 双击sources.list 选择replace

kali最新国内更新源sources_第7张图片kali最新国内更新源sources_第8张图片

⑦ 保存成功后 命令行输入 sudo apt update更新软件源
sudo apt update

参考:
https://blog.csdn.net/key_nothing/article/details/90055845

你可能感兴趣的:(攻防)