In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
I. updating the system
1.1 add update source address
Root@kali:~# vi / etc/apt/sources.list
Add the update source address at the end of the file and enter: wq Save
Deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
1.2 Update the system
Repeat the following steps 2 times
Root@kali:~# apt-get update # only updates the index source root@kali:~# apt-get update of the package-- fix-missing # has a large number of errors when update, so there is no way to add parameters to update all packages installed on the root@kali:~# apt-get upgrade # upgrade system root@kali:~# apt-get dist-upgrade # for major version updates
Second, install vmtools
2.1 install Linux header files
Root@kali:~# apt-get install linux-headers-$ (uname-r)
2.2 install vmtools
1. Click vmware menu-Virtual Machine-install VMware Tools
two。 Double-click to open the optical drive and copy VMwareTools-10.1.6-5214329.tar.gz to the desktop
3. Double-click to open VMwareTools-10.1.6-5214329.tar.gz, and extract the folder inside to the desktop
4. Open the vmware-tools-distrib folder, right-click in the current directory and select-- Open it in the terminal.
5. Start installing vmtools
Root@kali:~/ Desktop / vmware-tools-distrib# lsbin caf doc etc FILES INSTALL installer lib vgauth vmware-install.plroot@kali:~/ Desktop / vmware-tools-distrib# chmod + x vmware-install.plroot@kali:~/ Desktop / vmware-tools-distrib# ls- l Total usage 392drwxr-xr-x 2 root root 4096 March 17 2017 bindrwxr-xr-x 5 root root 4096 March 17 2017 cafdrwxr-xr-x 2 root root 4096 March 17 2017 docdrwxr-xr-x 5 root root 4096 March 17 2017 etc-rw-r--r-- 1 root root 149442 March 17 2017 FILES-rw-r--r-- 1 root root 2538 March 17 2017 INSTALLdrwxr-xr-x 2 root root 4096 March 17 2017 installerdrwxr-xr-x 15 root root 4096 March 17 2017 libdrwxr-xr-x 3 root root 4096 March 17 2017 vgauth-rwxr-xr-x 1 root root 216748 March 17 2017 vmware-install.plroot@kali: ~ / Desktop / vmware-tools-distrib#. / vmware-install.pl
6. Then go all the way back and restart the system.
After rebooting the system, it is found that the virtual machine in vmware is not full-screen. Click vmware menu-- View-- Auto-resize-- automatically adapt to the client. Then you can see that the virtual machine can be full-screen.
7. Vmtools was previously installed, but did not install successfully, prompt the following code:
A previous installation of VMware Tools has been detected.The previous installation was made by the tar installer (version 4). Keeping the tar4 installer database format.You have a version of VMware Tools installed. Continuing this install will first uninstall the currently installed version. Do you wish to continue? (yes/no) [yes] Error: Unable to find the binary installation directory (answer BINDIR) in the installer database file "/ etc/vmware-tools/locations" .Uninstall failed. Please correct the failure and re run the install.Execution aborted.
Solution:
Rm-rf / etc/vmware-toolsrm-rf / tmp/vm*
Delete and reinstall again
Reference documentation:
Https://yq.aliyun.com/articles/40014
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.