本文主要是介绍Kali的换源骨灰级教程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
阿里巴巴开源镜像站,找镜像源非常方便:阿里巴巴开源镜像站-OPSX镜像站-阿里云开发者社区
在命令行打开sources.list
目录,需要root权限
sudo vim /etc/apt/sources.list
打开目录后按i键编辑目录,将原本的镜像源注释掉,把新镜像粘贴进去
deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
按 ESC键推出编辑,然后按 wq 保存,完成换源
更新一次
最后一步按 ESC键,然后按 :wq
放一些镜像源 ,可以自行选择
#官方源
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.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.zju.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.zju.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.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#新加坡kali源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
以上就是本文所有内容,如果有问题请大佬们帮助改正,入坑新同志关注不迷路,谢谢!
这篇关于Kali的换源骨灰级教程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!