Centos 6 关闭 IPV6

 

  1. ipv6关闭方法 
  2.  
  3. 在/etc/modprobe.d/dist.conf结尾添加 
  4.  
  5. alias net-pf-10 off 
  6. alias ipv6 off 
  7. 可用vi等编辑器,也可以通过命令: 
  8. [root@localhost ~]# cat <<EOF>>/etc/modprobe.d/dist.conf 
  9. alias net-pf-10 off 
  10. alias ipv6 off 
  11. EOF

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top