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 kali-rolling main non-free contrib # deb-src 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 sana/updates main contrib non-free # deb sana/updates main contrib non-free
3:按下 Esc 退出编辑模式,同时按下 shift+; 键,在输入 w+q,回车保存 3:刷新缓存 $ sudo apt update 一般更替步骤 在终端中执行下列语句以执行 sudo sed -i '1a deb sana/updates main contrib non-free\ # deb sana/updates main contrib non-free' /etc/apt/sources.list 相关链接