网上说的
不能成功阿,还是我的操作不对???Ubuntu下禁用IPV6的方法:
输入sudo gedit /etc/modprobe.d/aliases,然后把alias net-pf-10 off #ipv6替代alias net-pf-10 ipv6
把hosts文件中关于IPV6的关注释掉
输入sudo gedit /etc/hosts
然后新/etc/modprobe.d/bad_list文件,内容是alias net-pf-10 off
谢谢
不能成功阿,还是我的操作不对???Ubuntu下禁用IPV6的方法:
输入sudo gedit /etc/modprobe.d/aliases,然后把alias net-pf-10 off #ipv6替代alias net-pf-10 ipv6
把hosts文件中关于IPV6的关注释掉
输入sudo gedit /etc/hosts
然后新/etc/modprobe.d/bad_list文件,内容是alias net-pf-10 off