Warning: Use of undefined constant hot - assumed 'hot' (this will throw an Error in a future version of PHP) in /data/wwwroot/lxy.me/wp-content/themes/Ality/inc/sticky-cat.php on line 5


如何在CentOS5中关闭ipv6

如何在CentOS5中关闭ipv6
我们来说说在CentOS 5中关闭IPv6的方法: 1.修改/etc/modprobe.conf文件,在此文件中加入: alias net-pf-10 off alias ipv6 off 2.修改/etc/sysconfig/network文件,修改”NETWORKING_IPV6″一行为: NETWORKING_IPV6=no 然后重启Centos系统即可。 还有一种简单方法: echo "install ipv6 /bin/true" > /etc/modprobe.d/disable-ipv6 在5.4版本中需要改为以下命令: echo "options ipv6 disable=1" > /etc/m...