欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

Kali Linux 2019.2使用华为源

程序员文章站 2022-03-28 21:27:28
注意:更新系统的时候会提示个问题就是如下图: 非超级用户是否应该能够捕获数据包?,选择否就行,其实测试环境无所谓。 更新完后执行命令清理包并重启: 其他一些源: 官方介绍:https://docs.kali.org/general-use/kali-linux-sources-list-reposi ......
一、将默认的配置源注释掉
root@zinuo:~# vim /etc/apt/sources.list
注释:
#deb http://http.kali.org/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


二、查看更改后的文件
root@zinuo:~# cat /etc/apt/sources.list
# 

# deb cdrom:[debian gnu/linux 2019.2 _kali-rolling_ - official snapshot amd64 live/install binary 20190508-08:43]/ kali-last-snapshot contrib main non-free

#deb cdrom:[debian gnu/linux 2019.2 _kali-rolling_ - official snapshot amd64 live/install binary 20190508-08:43]/ kali-last-snapshot contrib main non-free

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 http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib

# this system was installed using small removable media
# (e.g. netinst, live or single cd). the matching "deb cdrom"
# entries were disabled at the end of the installation process.
# for information about how to configure apt package sources,
# see the sources.list(5) manual.

三、更新系统
apt update && apt upgrade -y

注意:更新系统的时候会提示个问题就是如下图:

Kali Linux 2019.2使用华为源

非超级用户是否应该能够捕获数据包?,选择否就行,其实测试环境无所谓。

更新完后执行命令清理包并重启:

apt-get clean && reboot

 

其他一些源:

# kali官方源
deb http://http.kali.org/ moto main non-free contrib 
deb-src http://http.kali.org/ moto main non-free contrib

deb http://security.kali.org/ moto/updates main contrib non-free 
deb-src http://security.kali.org/ moto/updates main contrib non-free

#中科大kali源 
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 
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free

#新加坡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源 
deb http://mirrors.aliyun.com/kali kali main non-free contrib 
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib 
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free

#163 kali源 
deb http://mirrors.163.com/debian wheezy main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy main non-free contrib 
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib 
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib 
#auto 
deb 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 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://http.kali.org/kali kali-rolling main non-free contrib 
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

 

官方介绍:https://docs.kali.org/general-use/kali-linux-sources-list-repositories