In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article to share with you is about RHEL7.x in the modification of the network card naming rules is how, Xiaobian think quite practical, so share to everyone to learn, I hope you can read this article after some harvest, not much to say, follow Xiaobian to see it.
RHEL7.x uses enoxxxx NIC naming rules. If you are not used to this NIC naming rule, you can modify it to eth0,1,2 of the previous version. How to modify it? Common modifications are described below.
1. Modify GRUB
Add "net.ifnames=0 biosdevname=0" to grub to disable this predictable naming convention.
[root@ys ~]# vim /etc/sysconfig/grubGRUB_TIMEOUT=5GRUB_DISTRIBUTOR="$(sed 's, release .*$,, g' /etc/system-release)"GRUB_DEFAULT=savedGRUB_DISABLE_SUBMENU=trueGRUB_TERMINAL_OUTPUT="console"GRUB_CMDLINE_LINUX="rhgb quiet net.ifnames=0 biosdevname=0"GRUB_DISABLE_RECOVERY="true"
Second, generate a startup grub file
Regenerate the boot grub file using the grub2-mkconfig command
[root@ys ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Three, restart the system.
Check if it works
The above is how to modify the naming rules of network cards in RHEL7.x. Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.