博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Kali Linux 2019.2使用华为源
阅读量:4921 次
发布时间:2019-06-11

本文共 3816 字,大约阅读时间需要 12 分钟。

一、将默认的配置源注释掉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 contribdeb-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-freedeb https://mirrors.huaweicloud.com/kali kali-rolling main non-free contribdeb-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 contribdeb 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

转载于:https://www.cnblogs.com/zinuo/p/deb.html

你可能感兴趣的文章
ESXi主机和NTP server快速进行时间同步
查看>>
Python使用random.shuffle()打乱列表顺序
查看>>
(二)
查看>>
浏览器内核引擎
查看>>
SqlServer中怎么删除重复的记录(表中没有id)
查看>>
操作系统基础知识之————单线程(Thread)与多线程的区别
查看>>
PAT 1022 Digital Library[map使用]
查看>>
由于目标计算机积极拒绝,无法连接。
查看>>
hive常用命令
查看>>
Nmap使用教程 - 一
查看>>
java深入解析
查看>>
js返回上一页并刷新的几种方法
查看>>
POJ 3320 Jessica's Reading Problem 尺取法
查看>>
Unity Json 之三
查看>>
linux java -jar startup.sh
查看>>
DDD的思考
查看>>
类型转换及返回json对象的问题
查看>>
模拟题 找出不能拼凑的最小数
查看>>
ivew实现table的编辑保存追加删除
查看>>
poj 1904(强连通分量+输入输出外挂)
查看>>