10. VMware Tools Security

Source: Internet
Author: User

This is the last chapter. Why should we use VMware Tools?

Because it can improve the running performance of the Virtual Machine and make the Host OS and Guest OS communicate with each other, we don't need to adjust the barrier, what kind of server should be set up to connect two operating systems? Now let's get started!

Uname-R

# Kernel check the kernel version

Apt-Get install GCC make kernel-headers-2.4.27-2-686

# Installing GCC, make, and kernel-headers

Note:

    1. The kernel-headers version must be the same as the kernel version. Otherwise, VMware Tools cannot be installed successfully.
    2. The kernel version on the kernel may be poor due to time migration. Please follow your own version.

For example, click to select a CD host for display.

Select 「Use physical drive

VM→ 「Install VMware Tools

Install

After we have purchased VMware toools, the case will be stored on the optical drive, but you must renew it before using it. Please refer to the operation below.

Mount/CDROM

# Renew the optical drive

Ls/CDROM

# Take a look

CP/CDROM/vmware-linux-tools.tar.gz/tmp

# Upload vmware-linux-tools.tar.gz to/tmp

CD/tmp

# Import/tmp Resource

Tar zxvf vmware-linux-tools.tar.gz

# Resolving strongswan

CD vmware-tools-distrib

# Import vmware-tools-distrib Information

/Vmware-install.pl

# Start Security

The hosts of the security process are all set using the preset value and press Enter.

Hosts over the process

The most common issue with VMware Tools is: whether C header files works with the kernel version,

As long as we match the installed kernel-headers and kernel versions, We will automatically catch the correct path and do not need to manually import

Resolution, which is800x600For example

When VMware Tools is installed, it automatically modifies the settings of X Server-XF86Config-4But in the mouse part, a few questions will be modified, which will make X unable to operate normally. Next we will modify it.

VI/etc/X11/XF86Config-4

# Modify/etc/X11/XF86Config-4

Find the mouse section and modify the section as follows:

Change "PS/2" 「Imps/2

Change "/dev/mouse" 「/Dev/psaux

Weight: Pay attention to the size of the weight

Locate the region and modify the region as follows:

Change "VMware" 「VESA

After the modification is complete, Please restart the mobile phone.

After re-activating the email, we will see that when we are about to open the guest OS, we no longer need to press CTRL + ALT,

Now let's share the Host OS information for guest OS ,〔VM] → 〔Settings

Warning 「You do not have VMware Tools installedNow we have deployed VMware Tools, so we will not show them any more.

Add information to be shared :〔Options] → 〔Shared Folders] → 〔Add

Next step

Click to select 〔Browse], Select the information to be shared. Here is the D-slot. The above "name" can be intentionally imported, and here is the test example.

Enable this share"Using this sharing

This is the transcript of the sharing, and then we need to go to the guest OS to see if we can refer to the contents shared by the sharing director.

For example, we only need 「/Mnt/HGFS"Information, you can see the information you have shared.

Ah! Now, I hope you have read some samples,

I also hope that you can understand the wonders of Debian GNU/Linux. I also hope that you can tell me when you discover any other regions,

Okay, that's it. See you again later :)

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.