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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces Linux how to close IPV6, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to know about it.
IPv6 is an alternative to solve the problem that IPv4 address space is running out, but if you want to IPv6 for a short time, it is almost impossible to use IPv6, which will cause latency on the host.
Method 1. Linux shuts down IPV6. Modify / etc/sysconfig/network the corresponding network card, add: the code is as follows
Copy after NETWORKING_IPV6=no login
two。 Modify / etc/hosts to comment out the local host name parsed in ipv6: the code is as follows
#:: 1 copy after localhost localhost6 localhost6.localdomain6 login
3. Create a file / etc/modprobe.d/ipv6off.conf (name as you like)
Note: there is no / etc/modprobe.conf file after RHEL6.0. The code is as follows
Copy after alias net-pf-10 off options ipv6 disable=1 login
\ 4. Restart the system and confirm: the code is as follows
[root@test ~] # lsmod | grep-I ipv6 [root@test ~] # ifconfig | copy after grep-I inet6 login
If the results of the above two commands are not displayed, then ipv6 has been completely disabled.
Other:
In the method that does not load the ipv6 module, someone will have a setting method like this: the code is as follows
Copy after alias net-pf-10 off alias ipv6 off options ipv6 disable=1 login
Although it is true that ipv6 is not loaded after the system restart, because the second sentence, in some versions of the system, when we restart the network, there will be an error: FATAL: Module off not found.
RedHat 5.x To disable IPv6 in a virtual machine running RedHat 5.x: 1.Log in as root or superuser. Www.111cn.net 2.If the / etc/sysconfig/network file contains the line NETWORKING_IPV6=yes, change the line to: NETWORKING_IPV6=no 3.In the file / etc/modprobe.conf, add this line: options ipv6 disable=1 4.Save the file and reboot the system. After you disable IPv6, you should be able to install and configure VMware Tools successfully. Thank you for reading this article carefully. I hope the article "how Linux shuts down IPV6" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.