In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Modify the name of the network card:
Sed-I's / ^ name. * $/ NAME=eth0/g' ifcfg-ens33
Sed-I's ifcfg-ens33, DeVICE.
2. Obtain the physical address of the network card
[root@centos7 rules.d] # ifconfig ens33 | grep ether | awk'{print $2}'
00:50:56:33:a8:d4
[root@centos7 rules.d] # ifconfig ens33 | grep ether | awk'{print $2}'
00:50:56:33:a8:d4
3. Add the network card configuration file and the physical address
Sed-I'/ BOOTPROTO/a\ HWADDR='$mac ifcfg-ens33
4. Modify the network card configuration file
5 、
[root@centos7 network-scripts] # sed-I 's/rhgb/net.ifnames=0 biosdevname=0 & /' / etc/default/grub
[root@centos7 network-scripts] # grub2-mkconfig-o / boot/grub2/grub.cfg
6. Delete 70-persistent-ipoib.rules
[root@centos7 rules.d] # pwd
/ etc/udev/rules.d
[root@centos7 rules.d] # rm-f 70-persistent-ipoib.rules
7. Restart the virtual machine: reboot
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.