操作方法
root@kali:~# cd /Desktoproot@kali:~# cd /root/Desktoproot@kali:~/Desktop# cd ..root@kali:~# dirDesktop Documents Downloads Music Pictures Public Templates Videosroot@kali:~# cd /root/Desktoproot@kali:~/Desktop# dirroot@kali:~/Desktop# ..bash: ..: command not foundroot@kali:~/Desktop# cd ..root@kali:~# dirDesktop Downloads Pictures TemplatesDocuments Music Public Videosroot@kali:~# cd ..root@kali:/# cd ..root@kali:/# cd ..root@kali:~# cd /media/cdrom0/root@kali:/media/cdrom0# root@kali:/media/cdrom0# dirmanifest.txt VMwareTools-10.1.6-5214329.tar.gz vmware-tools-upgrader-64run_upgrader.sh vmware-tools-upgrader-32root@kali:/media/cdrom0# root@kali:/media/cdrom0# root@kali:/media/cdrom0# lsmanifest.txt VMwareTools-10.1.6-5214329.tar.gz vmware-tools-upgrader-64run_upgrader.sh vmware-tools-upgrader-32root@kali:/media/cdrom0# root@kali:/media/cdrom0# root@kali:/media/cdrom0# root@kali:/media/cdrom0# cp VMwareTools*.tar.gz /tmp root@kali:/media/cdrom0# root@kali:/media/cdrom0# root@kali:/media/cdrom0# root@kali:/media/cdrom0# lsmanifest.txt VMwareTools-10.1.6-5214329.tar.gz vmware-tools-upgrader-64run_upgrader.sh vmware-tools-upgrader-32root@kali:/media/cdrom0# cp VMwareTools*.tar.gz /tmproot@kali:/media/cdrom0# cd /tmproot@kali:/tmp# dirssh-x5QQqFohBixisystemd-private-ca711afd109042249992f19f88947bfc-colord.service-pBSPIKsystemd-private-ca711afd109042249992f19f88947bfc-rtkit-daemon.service-z0ukBCtracker-extract-files.0VMwareDnDvmware-rootVMwareTools-10.1.6-5214329.tar.gzroot@kali:/tmp# root@kali:/tmp# root@kali:/tmp# lsssh-x5QQqFohBixisystemd-private-ca711afd109042249992f19f88947bfc-colord.service-pBSPIKsystemd-private-ca711afd109042249992f19f88947bfc-rtkit-daemon.service-z0ukBCtracker-extract-files.0VMwareDnDvmware-rootVMwareTools-10.1.6-5214329.tar.gzroot@kali:/tmp# root@kali:/tmp# tar -zxvf VMwareTools*.tar.gzroot@kali:/tmp# lsssh-x5QQqFohBixisystemd-private-ca711afd109042249992f19f88947bfc-colord.service-pBSPIKsystemd-private-ca711afd109042249992f19f88947bfc-rtkit-daemon.service-z0ukBCtracker-extract-files.0VMwareDnDvmware-rootVMwareTools-10.1.6-5214329.tar.gzvmware-tools-distribroot@kali:/tmp# root@kali:/tmp# cd vmware-tools-distribroot@kali:/tmp/vmware-tools-distrib# root@kali:/tmp/vmware-tools-distrib# root@kali:/tmp/vmware-tools-distrib# lsbin caf doc etc FILES INSTALL installer lib vgauth vmware-install.plroot@kali:/tmp/vmware-tools-distrib# ./vmware-install.pl The installer has detected an existing installation of open-vm-tools packages on this system and will not attempt to remove and replace these user-space applications. It is recommended to use the open-vm-tools packages provided by the operating system. If you do not want to use the existing installation of open-vm-tools packages and use VMware Tools, you must uninstall the open-vm-tools packages and re-run this installer.The packages that need to be removed are:open-vm-toolsThe installer will next check if there are any missing kernel drivers. Type yesif you want to do this, otherwise type no [yes] yes Creating a new VMware Tools installer database using the tar4 format. Installing VMware Tools. In which directory do you want to install the binary files? [/usr/bin] What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc] What is the directory that contains the init scripts? [/etc/init.d] In which directory do you want to install the daemon files? [/usr/sbin] In which directory do you want to install the library files? [/usr/lib/vmware-tools] The path "/usr/lib/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?[yes] yes In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] The installation of VMware Tools 10.1.6 build-5214329 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl". Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] yes You have chosen to install VMware Tools on top of an open-vm-tools package. You will now be given the option to replace some commands provided by open-vm-tools. Please note that if you replace any commands at this time and later remove VMware Tools, it may be necessary to re-install the open-vm-tools. The file /usr/bin/vmware-hgfsclient that this program was about to install already exists. Overwrite? [no] no The file /sbin/mount.vmhgfs that this program was about to install already exists. Overwrite? [no] no The file /usr/bin/vmhgfs-fuse that this program was about to install already exists. Overwrite? [no] nio The answer "nio" is invalid. It must be one of "y" or "n". The file /usr/bin/vmhgfs-fuse that this program was about to install already exists. Overwrite? [no] y Initializing... Making sure services for VMware Tools are stopped. The module vmci has already been installed on this system by another installer or package and will not be modified by this installer. The module vsock has already been installed on this system by another installeror package and will not be modified by this installer. The module vmxnet3 has already been installed on this system by another installer or package and will not be modified by this installer. The module pvscsi has already been installed on this system by another installer or package and will not be modified by this installer. The module vmmemctl has already been installed on this system by another installer or package and will not be modified by this installer. The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [yes] The vmxnet driver is no longer supported on kernels 3.3 and greater. Please upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e) VMware automatic kernel modules enables automatic building and installation ofVMware kernel modules at boot that are not already present. This feature canbe enabled/disabled by re-running vmware-config-tools.pl. Would you like to enable VMware automatic kernel modules?[yes] Creating a new initrd boot image for the kernel.update-initramfs: Generating /boot/initrd.img-4.9.0-kali3-amd64WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.The configuration of VMware Tools 10.1.6 build-5214329 for Linux for this running kernel completed successfully. Enjoy, --the VMware team Found VMware Tools CDROM mounted at /media/cdrom0. Ejecting device /dev/sr0 ... root@kali:/tmp/vmware-tools-distrib#
主要步骤 1、 打开虚拟机VMware---->install vmware tools (然后桌面会出现一个ROM光光盘符)。 2、root@kali:~# cd /media/cdrom0/ 3、root@kali:/tmp# ls 4、root@kali:/media/cdrom0# cp VMwareTools*.tar.gz /tmp 5、root@kali:/media/cdrom0# cd /tmproot@kali:/tmp# dir 6、root@kali:/tmp# tar -zxvf VMwareTools*.tar.gz7、root@kali:/tmp# ls 8、root@kali:/tmp# cd vmware-tools-distribroot@kali:/tmp/vmware-tools-distrib# lsbin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl9、root@kali:/tmp/vmware-tools-distrib# ./vmware-install.pl 按照提示输入yes /no即可 出现enjoy后 按照提示即可完成。 10 、root@kali:/tmp/vmware-tools-distrib#