In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Recently, in the construction of the experimental environment, several problems have been found and solved. The problem is not solved by most of the solutions offered online, and it takes some time, so make a note of it and keep it for yourself or others to refer to.
The linux virtual machine of VMWare Workstation 14 has a problem sharing files with the computer above.
I probably knew that files could be shared between a virtual machine and a computer, but I didn't care how to do it. There are several problems in the specific use. Finally, it is summarized as follows:
The five processes are as follows:
A. Linux virtual machine press and hold VMware Tools. This can be done according to online or official tutorials. If you are prompted that gcc is not installed during installation, configure the yum source and install it with yum install-y gcc (I encountered this problem).
b. Click on the virtual machine, right, Settings, options, shared folder to set the folder that the computer needs to share with the linux virtual machine. The work is not finished yet, so we still need to set c. Linux. Type "vmware-hgfsclient" in the linux virtual machine to view the two folders shared by the host computer.
[root@localhost hgfs] # vmware-hgfsclient
Foundation_7.3
DO280-3.5
[root@localhost hgfs] #
If you create a folder in the virtual machine and then mount the shared folder, there will be an error message. To supplement the hgfs folder, the VMware software automatically creates a folder under / mnt.
[root@localhost hgfs] # mkdir-p / mnt/hgfs/F7.3
[root@localhost hgfs] # mkdir-p / mnt/hgfs/280
[root@localhost hgfs] #
[root@localhost hgfs] # mount-t vmhgfs .host: / Foundation_7.3 / mnt/hgfs/F7.3
Error: cannot mount filesystem: No such device
[root@localhost hgfs] #
D. yum installs open-vm-tools-devel and then mounts it, but it's not the mount command, it's vmhgfs-fuse. The procedure command is as follows: yum intall open-vm-tools-devel # install package vmhgfs-fuse. Host: / Foundation_7.3 / mnt/hgfs/F7.3 # # mount folder vmhgfs-fuse. Host: / DO280-3.5 / mnt/hgfs/280 # mount folder e. Check the mount result. Df-h can see that the last two lines indicate that the mount is successful.
[root@localhost hgfs] # df-h
Filesystem Size Used Avail Use% Mounted on
/ dev/mapper/centos-root 17G 3.8G 14G 23% /
Devtmpfs 897M 0 897m 0% / dev
/ dev/sda1 1014M 178M 837M 18% / boot
Vmhgfs-fuse 291G 164G 128G 57% / mnt/hgfs/F7.3
Vmhgfs-fuse 291G 164G 128G 57% / mnt/hgfs/280
[root@localhost hgfs] #
VMWare workstation 14 Image File Import vm vsphere esxi 5.5
I copied a linux image, which requires a high hardware configuration, so I don't have enough computer resources, so I can only upload it to the esxi server and allocate a good virtual machine resource.
How to upload to the exsi server? My previous understanding: in accordance with the hardware requirements on the esxi server, allocate enough CPU, memory, hard disk. Then after copying the workstation image to the hard disk assigned by the server, the boot should be ready to run. But actually I can't. Because the format recognized by the two software is not the same.
Method one: upload to the server.
Click virtual machine on workstation, right-click, manage, and change the hardware compatibility of virtual machine to esxi 5.5 compatible version.
Click workstation virtual machine, right-click, manage, upload, you can upload the workstation virtual machine image to esxi.
From the process of uploading logs, it is actually changing the file format from VMX (vmdk) to OVF format.
Method 2: export to OVF format on workstation, and then import to ESXi? I just speculated on this method and did not do so.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.