In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment: linux system, modifying network name
One: modify the system grub
[root@localhost ~] # vi / boot/grub/grub.conf # add biosdevname=0 after kernel parameter
: wq # Save exit
2. Modify the Nic naming rule configuration file of 70-persistent-net.rules
[root@localhost ~] # vi / etc/udev/rules.d/70-persistent-net.rules # modify this server has a network card, the identified network card name is: em1, we need to change the above em1 to eth0.
: wq # Save exit
Modify the name of the current network card configuration file
[root@localhost ~] # cd / etc/sysconfig/network-scripts/ # enter the Nic configuration file directory
[root@localhost ~] # mv ifcfg-em1 ifcfg-eth0 # rename
4. Modify the contents of the configuration file of the network card and change all em to eth.
[root@localhost ~] # cd / etc/sysconfig/network-scripts/ # enter the Nic configuration file directory
[root@localhost ~] # vi ifcfg-eth0 # change the em1 in it to eth0
After the modification of wq # is completed, save and exit
Restart the network card
[root@localhost ~] # service network restart # if rebooting the network card still fails, restart the system
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.