A guide to easily disable IPv6 support on your Linux workstation / server:指導,很容易禁用IPv6支持您的Linux工作站/服務器:
1. 1 。 Add the two lines, if not already present, to /etc/modprobe.conf:新增兩條線,如果不是已經存在,到/ etc / modprobe.conf :

 alias net-pf-10 off alias ipv6 off 別名網-酚醛- 10小康別名IPv6的小康 

For Fedora 7 you should add the command to blacklist instead as shown below:為Fedora的七,您應該添加命令的黑名單,而是如下所示:
blacklist net-pf-10 黑名單網-酚醛- 10
Note: I haven’t personally tested on Fedora 7.注:我沒有親自測試, Fedora的7 。

Note: Try to copy-paste these lines instead of typing them.注:試圖複製粘貼這些行而不是打字。 I faced problems in one computer after typing it in. It wasn’t something which was visible to me on casual inspection but copy-paste solved it. i面臨的問題在一台計算機後,輸入英寸,它並非是看見我就隨便檢查,但複製粘貼解決。

2. 2 。 Open /etc/sysconfig/network and look for the line containing NETWORKING_IPV6 and change the value to no as shown below:開放的/ etc / sysconfig /網絡,並尋找行networking_ipv6和值更改為沒有 ,如下所示:
NETWORKING_IPV6=no networking_ipv6 =無

3. 3 。 Stop ip6tables firewall:停止ip6tables防火牆:
/sbin/service ip6tables stop / sbin /服務ip6tables停止

4. 4 。 Prevent the ip6tables firewall from coming up ever again:防止ip6tables防火牆來了以往任何時候都再次:
/sbin/chkconfig ip6tables off / sbin / chkconfig ip6tables小康

5. 5 。 Restart your network to see if everything is working correctly:重新啟動您的網路看到,如果一切工作正常:
/sbin/service network restart / sbin /服務網絡重新啟動

Some articles suggest rebooting the machine at this stage so you may do that too.有些文章建議重新啟動機器在這個階段,所以你可以這樣做太。

Note: The original information is derived from this注:原始資料是來自這 article文章 and modified based on my experience with many servers.和修改的基礎上根據我的經驗與許多服務器。

Will this improve your performance?這是否會改善你們的表現呢? I don’t have benchmarks but in my experience it does.我手邊沒有基準,但在我的經驗,但這。 And for web severs every bit of performance you can extract is worth it.和網絡斷絕每一點的表現,您可以提取物是值得的。 So if you are not using ipv6 then I suggest you disable it.因此,如果你不使用IPv6的話,我建議你禁用它。