|
|
按照下面的关闭了IPv6(中文为自己翻译的,E文为原文),一切都变慢了,启动慢了,登陆很慢,打开任何应用程序那个是慢的,上网好像快了一点点,为什么???
关闭IPv6特性
FC6比以前的版本支持更多IPv6。就像你以前不用IPv6.如果你想去掉支持IPv6的功能,你需要做以下几步!
这可能会提高DNS域名解析的速度
编辑 /etc/sysconfig/network.(需要重启)
$sudo gedit /etc/sysconfig/network
更改:
NETWORKING_IPV6=yes
为:
NETWORKING_IPV6=no
关闭内核IPv6协议栈
编辑
/etc/modprobe.conf
$sudo gedit /etc/modprobe.conf
增加下面两行 需要重启)
alias net-pf-10 off
alias ipv6 off
关闭IPv6防火墙
停止ipv6防火墙
$ sudo /etc/init.d/ip6tables stop
清除防火墙规则: [确定]
把 chains 设置为 ACCEPT 策略:filter [确定]
正在卸载 ip6tables 模块: [确定]
关闭以后使用IPv6防火墙
$ sudo /sbin/chkconfig --level 35 ip6tables off
Disable IPv6 Features
FC6 has the most IPv6 support than in previous releases. Most likely you do not use IPv6. If you wish to eliminate the slight extra resources consumed by enabling IPv6, then you may do the following steps.
This may speed up your DNS lookup times when using the internet.
Disable IPv6 Networking Support
Edit /etc/sysconfig/network. (A reboot will be required)
[mirandam@charon ~]$ sudo gedit /etc/sysconfig/network
Change:
NETWORKING_IPV6=yes
To:
NETWORKING_IPV6=no
Disable IPv6 Protocol Stack for Kernel
Edit /etc/modprobe.conf.
[mirandam@charon ~]$ sudo gedit /etc/modprobe.conf
Add the following 2 lines: (A reboot will be required)
alias net-pf-10 off
alias ipv6 off
Disable IPv6 Firewall
Stop ipv6 firewall:
[mirandam@charon ~]$ sudo /etc/init.d/ip6tables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading ip6tables modules: [ OK ]
Turn ipv6 firewall off during future usage:
[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 ip6tables off |
|