我正在使用 Ubuntu 14.04。我已经完成了以下操作来禁用ipv6。
我已经打开/etc/sysctl.conf使用gedit并将以下几行粘贴到sysctl.conf.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Run Code Online (Sandbox Code Playgroud)
但是当我使用以下命令检查它时,
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
Run Code Online (Sandbox Code Playgroud)
I am getting result as '0'( i.e still Enabled). Please help me to disable ipv6, so that I can use hadoop.
I followed instructions from this link.