linux kali虚拟机镜像用户名密码,Kali Linux 安全镜像使用帮助

Kali Linux 安全镜像使用帮助

地址

说明

Kali Linux 的安全更新

仓库已于 2016 年停止更新

使用说明

详细的步骤

此步骤假定你是一位 Linux 的小白,且你需要这份已经多年未更新的源库

1:打开并备份 sources.list

以下基于 vim 进行编写

$cd /etc/apt/

------------------------------------

$sudo cp sources.list sources.list.txt

------------------------------------

$sudo vim sources.list

------------------------------------

一般未编写 source.list 的文档内容如下

------------------------------------

#

# deb cdrom:[Debian GNU/Linux 2019.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free

#deb cdrom:[Debian GNU/Linux 2019.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free

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.

2: 添加源

1:在键盘按下 i 键 进入编辑模式

2:添加下列代码

deb http://mirrors.cqu.edu.cn/kali-security sana/updates main contrib non-free

# deb http://mirrors.cqu.edu.cn/kali-security sana/updates main contrib non-free

3:按下 Esc 退出编辑模式,同时按下 shift+; 键,在输入 w+q,回车保存

3:刷新缓存

$ sudo apt update

一般更替步骤

在终端中执行下列语句以执行

sudo sed -i '1a deb http://old.kali.org/kali-security sana/updates main contrib non-free\

# deb http://old.kali.org/kali-security sana/updates main contrib non-free' /etc/apt/sources.list

相关链接

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值