In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to deploy CentOs7 shared directories in Vmware. I hope you will learn a lot after reading this article. Let's discuss it together.
First download the images of VMware and CentOs7
Install VMware I refer to https://www.cnblogs.com/wuyx/p/7246675.html, which is very detailed
Then you need to configure the network for reference.
Https://www.linuxidc.com/Linux/2017-07/145845.htm
Https://www.cnblogs.com/CoolJayson/p/8017049.html
Https://www.cnblogs.com/loeng/p/6540104.html
The third step is to build the lnmp environment https://lnmp.org/
Set shared directory reference: https://blog.csdn.net/joson_yuan/article/details/71805269?utm_source=itdadao&utm_medium=referral
Https://blog.csdn.net/qq_19004627/article/details/78689641
1. Install VMWare tools (the location of the package is in the VMware package. My package name is VMwareTools-10.2.5-8068393.tar and then upload this file to the server for decompression and installation)
two。 Set up a shared directory in a virtual machine
Use the mount-t vmhgfs. Host: / shared / mnt/hgfs command to mount the shared folder (note: with. , where .host: / Documents is the shared name, just change the Documents to
The directory obtained using the vmware-hgfsclient command, / mnt/hgfs is the mount point
Set to mount automatically after random startup
Edit / etc/fstab and add the following line
.host: / shared / mnt/hgfs vmhgfs defaults 0 0 (write on demand)
Where share in host:/share is the share name, which can be viewed by command: vmware-hgfsclient
The default share path of VMware is in / mnt/hgfs, which is written in the script of VMware Tools, which can be found in / etc/init.d/vmware-tools:
Vmhgfs_mnt= "/ mnt/hgfs" # Mount all hgfs filesystems "vmware_mount_vmhgfs () {if [" `vmware_vmhgfs_use_ mounted` "=" no "]; then if [" `vmware_vmhgfs_use_ fuse` "=" yes "] Then mkdir-p $vmhgfs_mnt vmware_exec_selinux "$vmdb_answer_BINDIR/vmhgfs-fuse\-o subtype=vmhgfs-fuse,allow_other $vmhgfs_mnt" else vmware_exec_selinux "mount-t vmhgfs .host: / $vmhgfs_mnt" fi fi} after reading this article, I believe you have some understanding of the method of deploying CentOs7 shared directory in Vmware. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.