In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
As a new contact with linux system, VMware virtual machine installed CentOS 6.5 system, pure system clone several copies to facilitate later experiments. The cloning procedure is very simple. The problem after cloning is that the MAC address of the cloned NIC is the same as the MAC address of the original system. There will be conflicts in the local area network. You need to change the MAC address after cloning, otherwise the NIC will not get up. Today, I will teach you how to modify it, as follows:
1. First enter the original system and use the command to view the network card information.
2, the same steps into the cloned system, check the network card address, found the same MAC address, from the network service, prompt falied.
3. Edit the network card device: vi /etc/udev/rules.d/70-persistent-net.rules, the following content appears, you will see that there are two network cards eth0 and eth2, eth0 is the clone system, eth2 is regenerated.
Add #to comment out the first NIC, change the second NIC to eth0, and record the MAC address.
Edit finished, esc key exit, input: wq save exit.
Then execute vi /etc/sysconfig/network-scripts/ifcfg-eht0, replace the original mac address with the mac address just recorded, and modify the ip address as follows.
4. Service network restart (if the prompt fails, restart the virtual machine)
After successful startup, use ifconfig command to view current ip
Okay, problem solved.
The above is all the content of this article, I hope to help everyone's study, but also hope that everyone a lot of support.
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.