Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Centos7 and Host windows File sharing in VMware

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the VMware Centos7 and host windows file sharing example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

After installing the virtual machine of Centos7 in VMware, I tried to copy the file from the system of native win10 to the virtual machine, and found that the progress bar of the copy was displayed normally, but the file was not copied into Centos7. I searched the Internet and found that the files of the two operating systems could not be copied directly and needed to be realized by file sharing. The specific operation steps are as follows.

The first step is to install VMwareTools on the Centos7 virtual machine, which is directly clicked in the VMware menu. In the Centos7 virtual machine, a file of the optical drive drive pops up, and the VMwareTools installation package is copied to a folder, unzipped and then installed. The installation needs to be performed in the terminal as a super user, and in Centos, in a. / vmware-install.pl manner. During the specific installation process, you can always fill in yes.

The second step is to set the shared folder on the VMware. Under the options of the virtual machine, click Settings, and the setting menu of the virtual machine will pop up. On the tab page of the menu, click the options menu to enable the shared folder, and set the folder of the shared files on the host host. If the virtual machine is booting, the virtual machine needs to be restarted.

Third, in the Centos7 virtual machine, the directory shared with the host corresponds to: / mnt/hgfs/ shared directory name. If the folder is not displayed, you need to install the vmtools plug-in as a super user in the terminal. The specific command line is: yum install open-vm-tools-devel-y. After the installation is complete, manually open the shared folder: vmhgfs-fuse .host: / / mnt/hgfs, in the login of ordinary users. Unable to display user content, you need to log in to the directory through the terminal as a super user, use the command line to copy the files. The simple example in the following figure enters the folder and displays the files. Use the command of cp to copy the files.

Thank you for reading this article carefully. I hope the article "sample Analysis of Centos7 and Host windows File sharing in VMware" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report