Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed procedure for Debian7 installation of VMware Tools

2025-04-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "the detailed process of installing VMware Tools in Debian7". In daily operation, I believe many people have doubts about the detailed process of installing VMware Tools in Debian7. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "detailed process of installing VMware Tools in Debian7". Next, please follow the editor to study!

1, the first part of VMWare, in the VMWare menu bar, select VM- > Install VMware Tools to enter the Linux section, note that this Debian virtual machine in the startup, the loaded CD must be empty, sometimes you install Debian always forget not to load your Debian installation ISO, at this time in the Debian in the upper right corner of the application-> attachment-> file, access to Linux's file browser, equivalent to Windows's resource manager things.

2. You will find that there is an extra VMware CD in the CD drive of the device, which is not in the Windows virtual machine. If you load VMware Tools, it will be installed automatically. You must install it manually.

3. Next, our task is not to extract the VMwareTools+9.2.3-1031360.tar.gz file on this device first. We must first configure the compilation environment for Linux, which is called CAccord Candle +. The installation of VMware Tools can proceed. At this point, open the Root terminal of Debian to operate. When entering, you must enter the root password that we set up when installing Debian. Then check the version number of our Linux. Through the command:

Uname-a view the system version

4. For example, my system version is Linux debian 3.2.0-4-686-pae with a suffix, that is, 3.2.0-4-686-pae, because you need to enter the following three lines of command immediately:

Cd / usr/src

Ln-s linux-headers-3.2.0-4-686-pae linux

Export CC=/usr/bin/gcc-4.1

The meaning of cd in the first line is the same as the command prompt of Windows, which means to enter the usr/src directory. Notice that cd and usr/src have spaces. The directory usr/src is available in all Linux.

And the second line is ln, it's LN, not IN.

The next two lines of command immediately load gcc in this directory, and this thing is quickly installed.

You can't install it without gcc,VMware Tools. Just like some Windows software requires .NET Framework support.

5. After that, load the VM virtual machine into the LINUX CD and unzip it into our Linux directory. Linux has its own decompression function. After entering the following command directly, fill in a space and drag the VMwareTools+9.2.3-1031360.tar.gz in the CD into the terminal, just as you drag the file in Windows to the command line, press enter, and you can see the decompression of the compressed file brushing the screen on the terminal.

Tar zxvf

6. After that, you can see the following extra folders in the usr/src of your file system, drag that vmware-install.pl into the terminal and press enter, and then start the VMware Tools installation process.

7. After that, press enter all the time and proceed according to the default configuration until one of the following items appears, and you can't eliminate it by pressing enter constantly, then change it to enter NO. Linux is finally starting to install VMware Tools.

8. After install finished, there appeared the joy VMware Tools! The installation is completed. Close all windows and press the user name PC in the upper right corner to select restart Linux. When rebooting, it may be stuck in the following interface for a while, which is normal. After rebooting, it is found that the screen of Debian can become larger, and pressing Ctrl+Alt+Enter to cover the whole screen means that VMware Tools has been installed.

9. At this point, you also need to go to usr/src to delete that vmware-tools-distrib folder and all its contents. You can right-click this folder, select move to the Recycle Bin, and then empty the Recycle Bin, as shown below:

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

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

This completely completes the installation of VMware Tools in Debian, and can drag files and interact with the Windows of the host.

At the same time, in the app section, there are other options. Debian provides us with games and notepads, just like attachments to Windows:

At the same time, there is also a dir like Windows on the terminal. Query all the files in the current directory for us. The command line cmd of Linux, which is the equivalent of Windows, is as follows:

File directory class

1. Create a directory: mkdir directory name

two。 Delete empty directory: rmdir directory name

3. Unconditionally delete subdirectories: rm-rf directory name

4. Change the current directory: cd directory name (enter user home directory: cd ~; enter higher-level directory: cd -)

5. Check your own directory: pwd

6. View the current directory size: du

7. Show directory file list: ls-l (- a: add display implicit directory)

Where: blue: directory; green: executable; red: compressed file; light blue: linked file; gray: other files; red background and white word: wrong linked file

8. Browse file: more file name.txt; less filename .txt

9. Copy files: cp source files destination files (- r: include directories)

Compression and decompression class

1.tar.gz class: (1) decompress: tar-xvzf file .tar.gz; (2) tar.gz extract to tar:gzip-d file .tar.gz (2) Compression: gzip files to be compressed

2.tar uncompressed classes: (1) unpack: tar-xvf file .tar; (2) package: tar-cvf file. Tar file list

3.zip class: (1) decompress: unzip file. Zip-d dir; (2) Compression: list of files to be compressed by zip zipfile

4.bz2 class: (1) decompress: bunzip2 file .bz2 or bzip2-d file .bz2; (2) compress: bzip2 file to be compressed

5.z class: (1) decompress: uncompress file .z; (2) compress: compress file

Driver mount class

1. Check hard disk usage: df-T-h

two。 Check the disk partition: fdisk-l

3. Mount soft and hard light zone: mount-t / dev/fdx | hdax / mnt/ directory name

Among them:: 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 the optical drive: mount-t auto / dev/cdrom / mnt/cdrom

Mount ISO file: mount-t iso9660-o loop xxx.iso / path

4. Unmount: umount / mnt/ directory name

Unmount all mounts: umount-a

5. Set up the file system: mkfs-t / dev/hdxx. Among them: ftype:ext2, ext3, swap, etc.

At this point, the study on the "detailed process of installing VMware Tools for Debian7" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report