I. Summary
This article describes how to install Ubuntu on a virtual machine, set up a shared folder for installing VMware Tools, and briefly introduces ubuntu.
Ii. Experimental Platform
1. VMware Workstation
2. ubuntu10.04
3. Install Ubuntu on Vmware
Refer to Baidu Library:
Http://wenku.baidu.com/view/bdcb9eed102de2bd97058805.html
4. New knowledge of ubuntu 1. Ubuntu Terminal
Open the terminal:
Applications --> accessories --> Terminal
2. Get root permissions
Enter the following command:
Sudo Su
Then, enter the user password used to log on to Ubuntu to obtain the root permission.
In addition, you can add sudo before each command to temporarily obtain the root permission.
Generally, each command or directory is followed by a space.
5. Install VMware Tools 1. Under the VMware menu Vm, install VMware Tools
The system automatically loads the VMware Tools image, which is displayed on the Ubuntu Desktop, as shown in.
Double-hitting the optical disk with the vmwarw.ls-8.8.2-590212.tar.gz file in it, right-click and copy it to the desktop. As shown in.
2. Decompress
Enter the command
Tar zxf/home/sunev/desktop/VMwareTools-8.8.2-590212.tar.gz
A folder named vmware-tools-distrib appears on the desktop.
CD/home/sunev/desktop/vmware-tools-distrib
3. Installation
Run the installation command
Sudo./vmware-install.pl
After installing VMware Tools, select autofit guest in the VMware menu view and restart ubuntu. At this time, the Ubuntu Desktop occupies the entire window under VMware.
In addition, after installing VMware Tools, files under Ubuntu can be copied and pasted to windows, but only files. errors may occur when copying folders.
6. Set Shared Folders
Create a new folder under window. E. g.: linuxshare.
When Ubuntu is disabled, right-click Ubuntu on the left of VMware, select Settings, and select options to set the shared folder, as shown in.
After setting, start ubuntu. The created shared folder is displayed in the/mnt/HGFS directory of ubuntu, as shown in.
In the shared folder just created, if you use the right-click mode, the items in the shared folder can only be moved or copied to desktop or home folder, at this time, you can use the CP command on the Ubuntu terminal to copy files from the shared folder to the desired place.
Example: sudo CP/mnt/HGFS/linuxshare/CPU. PTF/usr/local/src/CPU. PTF