CentOS 6.3 禁用IPV6
2013-04-15 19:27
323 查看
相信大家在进行系统优化的时候需要禁用IPV6,LZ之前在网上查过很多教程,一一尝试之后未果。最后通过google搜索英文相关信息得到如下解决方案:(注:我的系统版本是Centos6.3 64位)
原来内容如下:
在 quiet 后添加 ipv6.disable=1 修改后效果如下:
保存重启
本文出自 “止于至善” 博客,请务必保留此出处http://frankwong1213.blog.51cto.com/6445530/1178797
sudo vim /boot/grub/grub.conf
原来内容如下:
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-279.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=/dev/mapper/vg_centosmini-lv_root rd_NO_LUKS rd_LVM_LV=vg_centosmini/lv_swap r d_LVM_LV=vg_centosmini/lv_root rd_NO_MD crashkernel=auto LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-279.el6.x86_64.img
在 quiet 后添加 ipv6.disable=1 修改后效果如下:
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-279.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=/dev/mapper/vg_centosmini-lv_root rd_NO_LUKS rd_LVM_LV=vg_centosmini/lv_swap r d_LVM_LV=vg_centosmini/lv_root rd_NO_MD crashkernel=auto LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet ipv6.disable=1 initrd /initramfs-2.6.32-279.el6.x86_64.img
保存重启
本文出自 “止于至善” 博客,请务必保留此出处http://frankwong1213.blog.51cto.com/6445530/1178797
相关文章推荐
- centos6.3禁用IPv6
- centos 6.3 禁用selinux、ipv6 的无奈
- centos6.3禁用IPv6
- Centos6.3禁用IPv6
- [2013-05-15]centos6.3禁用ipv6方法
- CentOS 7禁用IPV6 (备忘)
- CentOS 6/7 禁用ipv6
- RHEL 7 & CentOS 7禁用IPV6
- 如何在CentOS 7中禁用IPv6
- U盘安装Linux CentOS 6.5及遇到故障 64位操作系统及禁用ipv6 ,CentOS7卸载OpenJDK安装Oracle JDK
- RHEL 7 & CentOS 7禁用IPV6
- RHEL 7 & CentOS 7禁用IPV6
- CentOS 设置静态IP并禁用IPV6
- CentOS 5 禁用 IPv6
- CentOS 7 禁用IPV6以提高网速
- CentOS6.5禁用IPv6
- centos 禁用IPV6
- centos6.x完全禁用IPv6的方法
- CentOS 6.7 禁用 IPV6网络的方法
- RHEL 7及CentOS 7 彻底禁用IPv6的方法