Kali Linux 2019.2使用华为源
Posted zinuo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Kali Linux 2019.2使用华为源相关的知识,希望对你有一定的参考价值。
一、将默认的配置源注释掉 [email protected]:~# 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 二、查看更改后的文件 [email protected]:~# 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
注意:更新系统的时候会提示个问题就是如下图:
非超级用户是否应该能够捕获数据包?,选择否就行,其实测试环境无所谓。
更新完后执行命令清理包并重启:
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
以上是关于Kali Linux 2019.2使用华为源的主要内容,如果未能解决你的问题,请参考以下文章
不能为虚拟电脑 Kali-Linux-2019.2 打开一个新任务
Linux Kali Linux update Source