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

原文地址:https://www.cnblogs.com/zinuo/p/deb.html

时间: 2024-11-08 17:40:07

Kali Linux 2019.2使用华为源的相关文章

kali linux 2019.4设置为中文方法

就在前天,2019年11月26日,kali Linux官网发布了最新版本:Kali Linux 2019.4发行版,此版本和之前相比变动很大,系统界面.主题.壁纸都灿然一新. Kali Linux2019.4版本包括了一些令人兴奋的新更新: 一个新的默认桌面环境,Xfce 新的GTK3主题(用于Gnome和Xfce) “Kali Undercover”模式介绍 Kali文档有了一个新家,现在支持Git 公共包装-把你的工具放进Kali 安装在Android上的NetHunter Kex – Fu

kali linux 2019.4中文乱码

加更新源 随便选一个源放后面 vim /etc/apt/sources.list 更新源并更新所有软件 apt-get update && apt-get upgrade && apt-get clean 中科大 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

Kali Linux 2019.4 vmtool安装

1.如图点击 2.桌面上光盘把vmtool拿出来 然后解压加权限并执行 3.一路回车即可 如下图安装成功 然后reboot重启即可 原文地址:https://www.cnblogs.com/Yang34/p/11969906.html

安装 Kali Linux 2018.1 及之后的事

本文为原创文章,转载请标明出处 目录 制作U盘启动盘 安装 Kali Linux 之后的事 更新源 配置 Zsh 配置 Vim 修改 Firefox 语言为中文 安装 Gnome 扩展 美化 安装 Google 拼音输入法 安装常用软件 最后 1. 制作U盘启动盘 1.下载 Kali Linux 镜像文件 2.下载 Win32 Disk Imager 3.用 Win32 Disk Imager 制作U盘启动盘,傻瓜式操作...选择镜像,选择U盘,烧录,over. 更多详见官方文档 Making

kali linux安全***

kali linux安全***测试 搭建***测试环境许多提供安全服务的机构会使用一些术语,如安全审计.网络或风险评估.以及***测试.这些术语在含义上有一些重叠,从定义上来看,审计是对系统或应用的量化的技术评估.安全评估意为对风险的评测,是指用以系统.应用和过程中存在的漏洞的服务.***测试的含义则不只是评估.它会用以发现的漏洞来进行测试,以验证该漏洞是否真的存在. 什么是***测试***测试并没有一个标准的定义.国外一些安全组织达成共识的通用说法是,***测试是通过模拟恶意***的***方法

kali linux更新源问题 加 输入法安装

kali linux 安装后 软件源默认使用的是官方的源 我们要做的第一步就是更改软件源头 终端输入 vi /etc/apt/source.list 打开后将原来的源删掉 ESC 加DD 删除一整行 更改为更快的源 deb http://mirrors.tuna.tsinghua.edu.cn/kali/ kali-rolling contrib main non-free # deb http://http.kali.org/kali kali-rolling main non-free co

kali linux国内软件源

kali linux的软件源位于/etc/apt/source.list文件. 国内kali linux软件源: #中科大kali源 deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali

Kali Linux 更新源

z 更新源是Linux必不可少的软件获取仓库,安装软件时,程序从源获取软件包,才能下载到本地. 首先,打开终端,输入 leafpad /etc/apt/sources.list,打开源列表,替换成下面的源. # kali官方源deb http://http.kali.org/ kali-rolling main non-free contrib deb-src http://http.kali.org/ kali-rolling main non-free contrib #中科大源deb ht

kali linux更新源更新常用软件

说明:更新了国内的源,会使kali在现在的文件的时候加快速度. 编辑文本:vi /etc/apt/sources.list 添加阿里的源地址:deb http://mirrors.aliyun.com/kali kali-rolling main non-free contribdeb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib 更新:apt-get-update 这个命令,会访问源列表里的每个网址,