How to turn off ip6 in linux

List of recent updates

1. Install jdk in IBM's aix (updated on July 21)
2. Install jdk in Linux (CentOS) (updated on July 21)
3. Install weblogic in Linux (CentOS) (updated on July 22)
4. Install webLogic in Aix system (Updated on July 22) 5.
Create a weblogic domain in IBM aix (updated on July 23 )
6. Create a weblogic domain through VNC in linux (updated on July 23)
7. Install Oracle 10g in RedHat 5 in detail (July 23 ) 24 update) 8. Linux starts oracle instance (July 24 update) 9. Create oracle instance and network monitoring through VNC in linux (July 25 update) 10. The method of closing ip6 in linux (July 25 update) 11.Jconsole , jvisualvm tool introduction  12. Soupui calls webservies help document 13. Loadrunner calls Webservice interface test optimization 14. Loadrunner script reads XMl files 15. Remote Aix system using Xmanager 16. Xmanager graphical remote to aix system 17. Package common jar files The method of becoming an osgi bundle 18. Code inspection specification Checkstyle configuration 19. Webloigc 11g configuration cluster help document 20. Activemq cluster configuration document 21. Apache2.2+tomcat6 cluster configuration














22. Modify the computer name so that the oracle instance cannot be started
23. Import the configuration required by the virtual machine with the Oracle installer
24. Set the title for the tomcat and weblogic startup windows
25. Tomcat configuration download server
26. Start the virtual machine under win8 hyper-v function

27. windows, linux, aix query which program the port number is occupied by

28.  Recursively change directory permissions under linux

29. Apache configuration virtual directory

 

1、vi /etc/sysconfig/network

 

set NETWORKING_IPV6=no

 

 

 

2. Create a new ipv6off.conf

 

vi /etc/modprobe.d/ipv6off.conf

 

The content is as follows

 

alias net-pf-10 off

 

options ipv6 disable=1

 

  

 

3、vi /etc/hosts

 

 

comment out ipv6 #

 

 

  

4. Verify (requires restart and then enter command to verify)

 

lsmod | grep -i ipv6

 

ifconfig | grep -i inet6

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326536445&siteId=291194637