centos 6.x 下禁用ipv6 IPv6 禁用selinux

1.在/etc/modprobe.d/dist.conf结尾添加

alias net-pf-10 off
alias ipv6 off

2.vi /etc/sysconfig/network

IPV6INIT=no

3.禁用ipv6的iptables
chkconfig ip6tables off

重启: init 6

猜你喜欢

转载自qingwei201314.iteye.com/blog/1734775
今日推荐