In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
The purpose of this article is to share with you what to do when there is an error in restarting the CentOS7 network under VMware. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Solution one
Applicable case: the problem that the clone virtual machine cannot be connected to the network
Analysis: in this case, it is mostly because the network MAC address of the cloned virtual machine has not been changed.
Resolve:
1. Enter: vi / etc/sysconfig/network-scripts/ifcfg-ens33 at the terminal (bold part is the name of your network card, which can be checked with the ifconfig command)
two。 Modify or add HWADDR= "XXXX" in the file. XXXX is the MAC address of your network card, which can be checked with the ip addr command.
Solution two
Applicable situation: the solution cannot be solved.
Solution: boot up a service called NetworkManager-wait-online (command: systemctl enable NetworkManager-wait-online.service)
Solution three
Applicable situation: solution 2 cannot be solved.
Analysis: I do not know why, but Baidu to solve my problem, we can also try.
Resolve:
1. Turn off Network Management (chkconfig NetworkManager off) in configuration
two。 Enable network management (chkconfig network on) in configuration
3. Turn off network management (service NetworkManager stop) in service
4. Enable network management (service network start) in service
So my problem is solved.
Thank you for reading! This is the end of the article on "how to restart the CentOS7 network under VMware". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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