1、 vim /etc/default/grub
设置ipv6.disable=1

2、生产grub.cfg 文件
grub2-mkconfig -o /boot/grub2/grub.cfg
3、重启操作系统
reboot
设置ipv6.disable=1
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
本文标题:centos7-关闭IPV6
本文链接:https://www.haomeiwen.com/subject/hkeefxtx.html
网友评论