First of all, install vmtools in Linux. This is a required condition for free mouse access to the host machine and Virtual Machine. Next I will describe how to install vmtools.
1. Start this VM
2. Log On with the Super User Root
3. After the logon is successful, press CTRL + ALT to take out the mouse and click the menu bar, Vm →
Install VMware Tools → install
Some virtual machines may report an error when you click Install. You must manually install the tool by manually downloading the vmtools tool to the optical drive.
Check whether there are image files installed with VMware Tools, you can mount the mirror file of VMware Tools into the drive of the virtual machine. You can enable the optical drive of the virtual machine to automatically install the virtual machine to mount the mirror file. There are several small icons in the bottom right corner (NIC, Hard Disk, optical drive, etc) you can click the optical drive to configure files in the Virtual Machine Drive,
4. After the virtual system is attached with a CD, the CDROM folder will pop up or click to enter/mnt/CDROM,
There are two file VMwareTools-5.0.0-13124.i386.rpm and
VMwareTools-5.0.0-13124.i386.tar (the general tar package has better compatibility, we just
It may be different from the two. Double-click vmwarls-ls-5.0.0-13124.i386.tar to bring up the file package.
Folder vmware-tools-distrib, click the extract button above to browse the directory to be extracted
In the/root/folder (that is, the "root main directory" on your desktop "),
Start Decompression
5. right-click the desktop and choose input "New Terminal", type/root/vmware-tools-distrib/vmware-install.pl in it (this is actually the directory of the installation file, if the prompt directory is incorrect, you can find the correct directory in the root file and enter the correct directory ),
Press enter. You can simply install VMware Tools and press enter all the way later (please be patient ),
As you can see below, restart.
6. Now the mouse can freely access the host machine and virtual machine, and the size of the display screen is also adjustable,
The refresh speed is also faster and the installation is successful!
Then you need to set it in the system. Click "Virtual Machine" → "Virtual Machine Settings" → "Ethernet" and select
In "network connection", "NAT: used to share the IP address of the Host"
5. Check Linux network settings
Click the Red Hat icon in the Linux system (start) → "system settings" → "network" to view the NIC
"Active" (if not active, click the "active" tab)
Double-click the Ethernet device and check whether "DHCP is used for Automatically Obtaining IP addresses" is selected"
6: Right-click the desktop → "New Terminal" to open the terminal. In the command line, enter ifconfig
To see the IP address obtained by the NIC (this step can be left blank)
Set DNS
(Start) system settings-network, enable network configuration, and click DNS. Here, we only need to set the primary DNS and the second DNS, and write the DNS of our host into it,
If you do not know what the DNS of your host is, open the command prompt, enter ipconfig/All, and press Enter. Then, you can find that your DNS has two records written to the primary DNS, write the second DNS, and click Save in the network configuration to open the Linux network. Then you can access the Internet.