Kali更换apt源为国内源

Kali更换apt源为国内源

简介

Kali默认的apt源是官方源,在国内使用会受到网络等因素影响使用体验

这个时候我们就要更换apt源为国内的镜像源

更换APT源

通过 vim 修改 /etc/apt/sources.list 文件

vim /etc/apt/sources.list

中科大(推荐)

deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free non-free-firmware contrib

阿里

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

华为

deb https://mirrors.huaweicloud.com/kali kali-rolling main non-free contrib
deb-src https://mirrors.huaweicloud.com/kali kali-rolling main non-free contrib

清华

deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main non-free contrib non-free-firmware
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main non-free contrib non-free-firmware

验证

apt update

看到更新源是从修改的国内镜像源拉取的即为成功

kaliaptupdate

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容