vmware内kali Linux安装其他工具的方法
程序员文章站
2022-06-19 16:35:41
以安装telnet为例apt-get install xinetd telnety此过程可能报错,源不对,无法安装找到 文件系统 / etc / apt / sources.list 配置如下# #deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non...
以安装telnet为例
apt-get install xinetd telnet
y
此过程可能报错,源不对,无法安装
找到 文件系统 / etc / apt / sources.list 配置如下
# #deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free #deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free # 官方源 # deb-src 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 http://http.kali.org/kali kali-rolling main non-free contrib # 中科大源 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://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free
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
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
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
deb 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-get update
如果想复制粘贴的话,新建记事本,然后共享到虚拟机内就好了,虚拟机能联网直接复制也可以,下面是共享文件夹的步骤,需要的话可以看看
1.安装vmware Tools
启动图形化kali虚拟机,找到桌面上的vmware-tools-distrib光盘图标文件夹内的压缩包,解压到内部的任意文件夹内,不能解压到当前目录下,会提示无权限,我这里解压到了公共文件夹下
找到刚才解压的文件夹,打开后右键vmware-install.pl选择“在这里打开终端”,在终端内输入
./vmware-install.pl
一路enter,直到再次出现命令行
如果安装中如果权限不够,需要切换root用户
打开终端
sudo passwd root
输入当前密码
输入两次新密码 su 切换用户
安装完vmware tools后,可以共享文件
点击vmware内的 虚拟机>设置 弹窗内点击“选项”标签,找到共享文件夹选择总是启用,在下边添加路径,创建共享文件夹,随后将需要共享的文件放进刚才创建的文件夹内就可以了,kali对应路径是文件系统>mnt>hgfs , 这之后客户机就可以和虚拟机交互了
本文地址:https://blog.csdn.net/weixin_44369335/article/details/107913735
推荐阅读
-
在VMware虚拟机中安装Linux(Fedora16)的方法
-
虚拟机中的Linux安装VMware Tools的方法
-
虚拟机VMware中安装VMware Tools for Linux的方法(Fedora16)
-
Linux下安装VMware Tools 的方法
-
VMware Workstation/Fusion 中安装 Fedora 23/24 及其他 Linux 系统时使用 Open VM Tools 代替 VMware Tools 增强工具的方法
-
Linux安装使用系统监控工具Collectl的方法
-
虚拟机中的Linux安装VMware Tools的方法
-
虚拟机VMware中安装VMware Tools for Linux的方法(Fedora16)
-
linux下安装Python及Python安装工具包pip的方法
-
VMware Workstation/Fusion 中安装 Fedora 23/24 及其他 Linux 系统时使用 Open VM Tools 代替 VMware Tools 增强工具的方法