Kali linux-01 update system and installation Vmtools

Source: Internet
Author: User
Tags kali linux

I. Updating the system

1.1 Add Update Source Address

[Email protected]:~# 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 contrib
DEB-SRC Http://mirrors.ustc.edu.cn/kali kali-rolling main Non-free contrib


1.2 Updating the system

The following steps are repeated 2 times

[Email protected]:~# apt-get Update #只更新软件包的索引源
[Email protected]:~# apt-get update--fix-missing #当update时出现大量报错, there is no way to add parameters to update
[Email protected]:~# apt-get Upgrade #升级系统上安装的所有软件包
[Email protected]:~# apt-get Dist-upgrade #进行大的版本更新


Second, installation Vmtools

2.1 Installing the Linux header file

[Email protected]:~# apt-get Install linux-headers-$ (uname-r)


2.2 Installing Vmtools

1. Click VMware Menu-Virtual machine-install VMware Tools


2. Double-click to open the CD-ROM and copy vmwaretools-10.1.6-5214329.tar.gz to desktop


3, double hit Open vmwaretools-10.1.6-5214329.tar.gz, and the inside of the folder extracted to the desktop


4. Open Vmware-tools-distrib folder, right-click in the current directory--Open in terminal


5. Start the installation of Vmtools

[email protected]:~/Desktop/vmware-tools-distrib# lsbin  caf  doc  etc   FILES  INSTALL  installer  lib  vgauth   vmware-install.pl[email protected]:~/Desktop/vmware-tools-distrib# chmod +x vmware-install.pl[ email protected]:~/Desktop/vmware-tools-distrib# ls -l Total usage  392drwxr-xr-x  2 root  root   4096 3 Month   17  2017 bindrwxr-xr-x  5  Root root   4096 3 Month   17  2017 cafdrwxr-xr-x  2  root root   4096 3 Month   17  2017 docdrwxr-xr-x   5 root root   4096 3 Month   17  2017 etc-rw-r--r--   1 root root 149442 3 Month   17  2017 FILES-rw-r--r--   1 root root  &Nbsp;2538 3 Month   17  2017 INSTALLdrwxr-xr-x  2 root root    4096 3 Month   17  2017 installerdrwxr-xr-x 15 root root    4096 3 Month   17  2017 libdrwxr-xr-x  3 root  Root   4096 3 Month   17  2017 vgauth-rwxr-xr-x  1 root  root 216748 3 Month   17  2017 vmware-install.pl[email protected]:~/Desktop /vmware-tools-distrib# ./vmware-install.pl


6. Enter the following way, then restart the system

After rebooting the system and discovering that the virtual machines in VMware are not full-screen, click on the VMware menu-View-Auto-resize-automatically adapts to the client, then you can see the virtual machine can be full screen


7, previously installed Vmtools, but not installed successfully, prompted 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. 

Workaround:

rm-rf/etc/vmware-toolsrm-rf/tmp/vm*

Remove and reinstall once


Reference Documentation:

https://yq.aliyun.com/articles/40014

Kali linux-01 update system and installation Vmtools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.