编辑/etc/sysctl.conf配置,增加net.ipv6.conf.all.disable_ipv6=1
编辑/etc/sysconfig/network配置,增加 NETWORKING_IPV6=no
编辑/etc/sysconfig/network-scripts/ifcfg-eth0,确保IPV6INIT=no
文章详细说明了如何通过编辑/etc/sysctl.conf文件设置net.ipv6.conf.all.disable_ipv6参数为1来禁用IPv6,同时在/etc/sysconfig/network中添加NETWORKING_IPV6=no,以及在/etc/sysconfig/network-scripts/ifcfg-eth0中确保IPV6INIT设定为no,以阻止IPv6在网络接口上的初始化。
编辑/etc/sysctl.conf配置,增加net.ipv6.conf.all.disable_ipv6=1
编辑/etc/sysconfig/network配置,增加 NETWORKING_IPV6=no
编辑/etc/sysconfig/network-scripts/ifcfg-eth0,确保IPV6INIT=no
1197
2万+

被折叠的 条评论
为什么被折叠?