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 > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "Centos7 how to change the name of the network card", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Centos7 how to change the name of the network card" bar!
1. First edit the configuration file of the network card and change the name device entry to eth0.
Vim / etc/sysconfig/network-scripts/ifcfg-eno16777736
two。 Rename the profile.
[root@localhost yum.repos.d] # cd / etc/sysconfig/network-scripts/
[root@localhost network-scripts] # mv ifcfg-eno16777736 ifcfg-eth0
3. Disable the predictable naming convention. For this, you can pass the kernel parameters of "net.ifnames=0 biosdevname=0" at startup. This is done by editing / etc/default/grub and adding "net.ifnames=0 biosdevname=0" to the grubcmdlinelinux variable.
[root@localhost network-scripts] # vim / etc/default/grub
4. Run the command grub2-mkconfig-o / boot/grub2/grub.cfg to regenerate the grub configuration and update the kernel parameters.
[root@localhost network-scripts] # grub2-mkconfig-o / boot/grub2/grub.cfg
5. Restart the machine. After booting, the name of the network card becomes eth0.
[root@localhost network-scripts] # init 6
After rebooting, verify!
Thank you for your reading, the above is the content of "how to change the name of the network card in Centos7". After the study of this article, I believe you have a deeper understanding of how to change the name of the network card in Centos7, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.