一、vi  /etc/modprobe.d/disable-ipv6.conf(名字随便起)(RHEL6.0之后没有了/etc/modprobe.conf这个文件)

输入:install ipv6 /bin/true

二、vi /etc/sysconfig/network

在最后增加一句:IPV6INIT=no

三、禁用ipv6的iptables

在终端运行:chkconfig ip6tables off

四、重启

相关文章:

  • 2021-10-16
  • 2021-04-13
  • 2021-07-23
  • 2021-11-14
  • 2021-04-06
  • 2021-10-29
  • 2021-05-13
  • 2021-08-03
猜你喜欢
  • 2021-10-12
  • 2022-12-23
  • 2021-05-29
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案