VMware shared Directory settings

Source: Internet
Author: User

1. Ensure that VMware Tools has been successfully installed in the virtual machine (very critical)

2. Open VMware and ensure that the virtual machine is turned off, and then follow the arrows in the figure below

So you're done, and when you get into the virtual machine,

Execute command Cd/mnt/hgfs to access the shared directory.

Then in the Nginx configuration file, the site corresponding to the file root path to the shared directory, it can be implemented in the virtual machine to develop

3, the share directory contains Chinese will garbled problem, the solution, take Xshell as an example

In fact, it's easy to change the code to Unicode (UTF-8).

4 can't access the virtual machine? Please turn off the firewall

Execute Command service iptables stop

5 can't find the NIC? Please enable the network card in the network card configuration file

Execute command vi/etc/sysconfig/network-scripts/ifcfg-eth0

Change Onboot=no to onboot= "yes"

Then restart the NIC and execute the command service network restart

6 Nginx cannot access the file directory

Please modify the configuration nginx.conf file to change the user and user group of Nginx service to root

Find the user www www line (basically the first line)

Modify to user root root

VMware shared Directory settings

Related Article

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.