1、用ifconfig查看有没有inet6 addr,我的这个已经支持了,如果不支持请看第二步。

linux centos6.5支持ipv6

 

2、vim /etc/sysconfig/network

把这句改成:NETWORKING_IPV6=yes, 一开始应该是no

3、service network restart (重启网络)

4、vim /etc/sysctl.conf

linux centos6.5支持ipv6

如图所示:把net.bridge.***的三行注释掉,然后加入net.ipv6.conf.*的三行

5、 modprobe -p

6、把ipv6地址加入到域名解析的AAAA记录里

7、修改nginx,让nginx支持ipv6

linux centos6.5支持ipv6

重启nginx

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-09-17
  • 2019-01-29
猜你喜欢
  • 2021-05-17
  • 2021-08-27
  • 2021-05-25
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案