"Linux" installs VMware Tools in Debian

Source: Internet
Author: User
Tags create directory

Installing a thing on Linux, unlike Windows, does not stop the next step, you can finish the installation, especially as the driver level installation of VMware Tools, you have to spend a lot of effort to fix.

One of the biggest features of Linux installations is the use of terminals to constantly knock commands. The following side is installed in Debian7 with VMware tools to explain the basic use of Linux. The virtual machine used is VMware9.0

I believe that the friend who is familiar with windows, just like me, installed Linux system still do not know how to use Linux.

1, the first part of VMware, in the VMware menu bar, select Vm->install VMware Tools to enter the Linux section, note that when the Debian virtual machine is started, the loaded CD must be empty, Sometimes when you install Debian you always forget not to load your Debian installation ISO, at this time in Debian, in the top right corner of the application------and file, into the Linux file browser, the equivalent of Windows Explorer.


2. You will find that there is a VMware CD-ROM in one of the device's fields, which is not in the Windows virtual machine, and it will be installed automatically by the load of VMware tools. You must manually install it yourself.

3, below, our task is not to the device on the vmwaretools+9.2.3-1031360.tar.gz of the file first decompression. We must first configure the C + + compiler environment for Linux. The installation of VMware tools will continue. At this point, the Debian root terminal is opened for operation. You must enter the root password of the Debian setup that we are installing. Then check out our Linux version number first. by command:


4, for example, my system version is Linux Debian 3.2.0-4-686-pae that string number plus suffix, that is: 3.2.0-4-686-pae, because immediately after the following three lines to enter the command:

Cd/usr/srcln-s linux-headers-3.2.0-4-686-pae Linuxexport cc=/usr/bin/gcc-4.1

The CD in the first line is meant to be the same as the Windows command prompt, which means entering the USR/SRC directory. Note that there are spaces for CDs and USR/SRC. USR/SRC This directory is available in all Linux.

And the second line is that LN is ln, not in.

The next two lines of command represent the immediate loading of GCC in this directory, which is quickly installed.

No Gcc,vmware tools can be installed at all. Just like some Windows software requires. NET Framework support.

5, then the VM virtual machine loaded into the Linux CD into the directory of our Linux. Linux comes with decompression function, directly enter the following command, fill a space, put in the CD-ROM vmwaretools+9.2.3-1031360. Tar.gz drag into the terminal, just like you drag files to the command line in Windows, press ENTER, you can see the decompression of this compressed file on the Terminal Brush screen.

Tar zxvf

6, after you can see in your file system usr/src more than the following folder, drag the vmware-install.pl into the terminal press ENTER, and then started the installation process of VMware tools.


7, after always press ENTER, according to the default configuration, until the occurrence of one of the following, continue to press ENTER to eliminate, then change to enter No. Linux has finally started installing VMware tools.


8. After finishing, the install success! appears Enjoy the word VMware tools!, complete the installation. Close all windows, press the user name in the upper right corner of PC to select Restart Linux. Reboot, may be in the following interface card a small, this is normal phenomenon. After rebooting, it is found that the Debian screen can be larger, and pressing Ctrl+alt+enter to reach the full screen will mean that VMware Tools is installed.


9, at this time, you also want to enter USR/SRC delete that Vmware-tools-distrib folder, and all its contents. You can right-click the folder, choose to move to the Recycle Bin, and then empty the Recycle Bin, such as:


You can also completely delete the Vmware-tools-distrib folder by entering the following command at the terminal:

Rm-rf/usr/src/vmware-tools-distrib

This completes the installation of VMware tools in Debian completely, and allows you to interact with the host's windows to pull files from each other.

At the same time, in the application column, there are other options, Debian provides us with games, and Notepad, like an attachment to Windows:


At the same time at the terminal also has like the Windows Dir, gives us to query the current directory of all the files, the Linux terminal, that is equivalent to Windows command line CMD instructions are as follows:

file Directory Class
1. Create directory: mkdir directory name
2. Delete Empty directory: RmDir directory name
3. Unconditional deletion of subdirectories: RM-RF directory Name
4. Change the current directory: CD directory name (go to User home directory: cd ~; go to the top level directory: CD-)
5. View your directory: PWD
6. View the current directory size: Du
7. Display directory file list: Ls-l (-A: Add display hidden directory)
Where: Blue: directory; green: executable file; red: compressed file; light blue: Link file; Gray: other files; red background white: Wrong link file
8. Browse Files: More file names. txt;less filename. txt
9. Copy files: CP source file Target file (-r: Include directory)
Compression Decompression Class
1.tar.gz class: (1) Extract: Tar-xvzf file. tar.gz; (2) tar.gz to tar:gzip-d file. tar.gz (2) Compression: gzip files for compression
2.tar Uncompressed class: (1) Unpacking: TAR-XVF file. tar; (2) Packaging: TAR-CVF file. tar file list
3.zip class: (1) Extract: Unzip file. zip-d dir; (2) Compression: Zip ZipFile List of files to be compressed
4.BZ2 class: (1) Extract: Bunzip2 file. bz2 or bzip2-d file. bz2; (2) Compression: BZIP2 files to be compressed
5.z class: (1) Extract: Uncompress file. Z; (2) Compression: Compress file
Drive Mount Class
1. Check the drive usage: df-t-H
2. Check the disk partition: Fdisk-l
3. Mount the soft hard light zone: mount-t/dev/fdx|hdax/mnt/directory Name
Including:: Modos--fat16;vfat--fat32;ntfs--ntfs; optical drive--iso9660
Support Chinese name: Mount-o iocharset=x/dev/hdax/mnt/directory Name (where: x=cp936 or
Mount Optical drive: mount-t auto/dev/cdrom/mnt/cdrom
Mount ISO file: mount-t iso9660-o loop Xxx.iso/path
4. Release mount: umount/mnt/directory Name
Remove all mounts: umount-a
5. Establish file system: Mkfs-t/dev/hdxx. Among them: Ftype:ext2, ext3, swap, etc.

Linux installs VMware Tools in Debian

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.