kali linux 添加国内软件源

步骤:
1  打开/etc/apt/sources.list文件,命令:nano /etc/apt/sources.list
2  在官方软件源地址前加上 #号,以注释掉kali linux官方软件源
3  目前所知国内的kali linux镜像站有:
1)  中国科学技术大学开源镜像站
deb http://mirrors.ustc.edu.cn/kali-security/ kali/updates main contrib non-free
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
2)  东软信息学院开源镜像站
deb http://mirrors.neusoft.edu.cn/kali-security/ kali/updates main contrib non-free
deb http://mirrors.neusoft.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali main non-free contrib
3)  阿里云开源镜像站
deb http://mirrors.aliyun.com/kali-security/ kali/updates main contrib non-free
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
将以上任一镜像站的地址添加到/etc/apt/sources.list文件中,然后保存。
4  执行命令apt-get update更新软件源。

为这篇文章评分
[Total: 13 Average: 3.6]

Leave a Reply

Your email address will not be published.

The maximum upload file size: 2 MB. You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here