In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Linux host can't ping virtual machine how to solve? In response to this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more small partners who want to solve this problem find a simpler and easier way.
1. First confirm whether the local network has VMware Network Adapter VMnet, as shown in the figure:
The two networks circled in the figure, if not, please uninstall the installed vm first.
2. After the vm virtual machine is uninstalled, we need to clean up the garbage files in the registry.
Name of cleaning tool: CCleaner
In this figure, we look at the arrow sequence. First, we select the registry, that is, the second option, and then check all the lists. Click the Scan for Issues button to retrieve which ones need to be cleared. When the retrieval is completed, click the button with the last red circle. After clicking, a pop-up box will pop up. See if you want to backup one according to your own ideas.
When these processes are complete, install vm operations. After installation, two networks will appear on the local network adapter interface. After installation, install centos7.
3. After the system is installed, directly enter the network configuration file for configuration. Here we use static ip settings.
Command:
vi /etc/sysconfig/network-scripts/ifcfg-ets32
Note: ifcfg-eth42 here is my file, your own in the network-scripts directory through the ls command query, the first file is.
After entering the command, enter the file interface, click i to enter the input mode, modify the value of BOOTPROTO to static, and add parameters: IPADDR, GATEWAR, NETMASK, NM_CONTROLLED. IPADDR and GATEWAR should be consistent with VMware Network Adapter VMnet8.
After setting, press ESC key to exit the current mode, enter ": wq" or ": x" to save bin exit, and enter reboot to restart the system after launching. Then ping the IP to see if you can ping through it.
About linux host can not ping virtual machine how to solve the problem of the answer to share here, I hope the above content can have some help for everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
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.