In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The default network card name of Centos 7 is ens33. If you are accustomed to the Centos eth name, or if you want to change it to be more personalized, please follow these steps. The pro-test is valid.
1. Modify the name in the Nic file
(1) the name NAME= wants (eth0, etc.)
DEVICE= as above
(2) modify the name of the Nic file
Cd / etc/sysconfig/network-scripts/
Mv ifcfg-ens33 ifcfg-eth0
(3) modify and load the Nic name grub file
Use the file vim grub in the cd / etc/default/grub directory
Under the GRUB_CMDLINE_LINUX line file, write before rhgb quiet
The complete method of net.ifnames=0 biosname=0 is as follows:
GRUB_CMDLINE_LINUX= "crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap net.ifnames=0 biosdevname=0 rhgb quiet
(4) load grub file configuration information
Grub2-mkconfig-o / boot/grub2/grub.cfg Don't forget the parameter-o.
If my dear friends don't even bother to do Man, then I will continue to provide.
SYNOPSIS
Grub-mkconfig [- o |-- output=FILE] Don't ask me why, please make up for it yourself.
(5) the important thing is to restart the operating system painting to take effect, so use it cautiously in the production environment, lest the leader can't stop the 40m knife.
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.