Go Win7 Ubuntu shared folders running with virtual machine vmware

Source: Internet
Author: User

from:http://blog.csdn.net/gaojinshan/article/details/9231853

Install VMware Tools, select "Virtual machines-Reinstall VMware Tools ..." On the VMware panel, as shown in:

Here VMware virtual a disc image, we need to mount this image under the/mnt directory of the Machine;
Here we might as well set up a subdirectory, press CTRL+ALT+T, open the terminal to review the Linux command bar.
The first thing to do is to switch to root, which is one of the features of Ubuntu that prevents the configuration of Linux from being abused.
The command is as follows:su
Next prompt to enter the password, enter the password after the return is OK.

Here's a little problem, when installing Ubuntu, the system will only let you set a user's password, not set the root password, What do we do?
is still the command, as follows: sudo passwd root
Follow the prompts to enter the new password two times and confirm it.
re-enter the command su to get root privileges.

The next step is to create the subdirectory cdrom in the/mnt directory, and then mount the disc image and view it.
The command is as follows:
Mkdir/mnt/cdrom
Mount/dev/cdrom/mnt/cdrom
Ls/mnt/cdrom
With the LS command, you can see that there are two files: Manifest.txt and vmwaretools-9.2.0-799703.tar.gz.

Where vmwaretools-9.2.0-799703.tar.gz, is a compression format that we need to decompress.
The command is as follows:tar-xvzf/mnt/cdrom/vmwaretools-9.2.0-799703.tar.gz
Here to explain the parameters behind the tar, X for decompression mode, V for the decompression process visualization,
Z represents the compressed format to extract the file, that is, the GZ,F representative must indicate what file name to unzip,
The decompression process will not intercept the screen, too long, we look at it!

After the decompression is complete, use the command ls to view the files in the current directory and find a Vmware-tools-distrib folder.
Use the CD vmware-tools-distrib command to enter the Vmware-tools-distrib folder and enter LS to view the files in it.
Use the ./vmware-install.pl command to execute the vmware-install.pl script file under the current directory, and then start the configuration
And constantly put forward some questions, ask you to use a return to answer, about 11 times to press ENTER,
When adjusting the screen resolution, choose the actual resolution of your screen, no longer!

After the installation of the logoff, and then re-login, the front is not wrong, it should be effective, then how to verify it?
Enter the VM in the terminal and press TAB twice in succession, there will be many commands at the beginning of the VM.
If you see a vmware-config-tools.pl this command, it will take effect!

OK, now that the VMware Tools installation is complete, you can set up the share.
Select "Options" in VMware's "Virtual Machines-Settings" option:

Select "Shared Folder" and change "disable" to "Always on" on the right.
Then press "Add" below to the folder you want to share, as long as you have to set it up before Win7.

Back to the terminal, with the command Ls/mnt/hgfs can see you set up a shared folder.

Go Win7 Ubuntu shared folders running with virtual machine vmware

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.