美文网首页
启用ipv6模块

启用ipv6模块

作者: SetZero | 来源:发表于2019-03-07 21:52 被阅读0次
# 首先申请root权限
# Edit /etc/default/grub and change the value of kernel parameter ipv6.disable from 1 to 0 in line GRUB_CMDLINE_LINUX, e.g.:
$ cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="ipv6.disable=0 crashkernel=auto rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
$ sed -i 's/ipv6.disable=1/ipv6.disable=0/g' /etc/default/grub

# Note: ipv6.disable=0 is the default value, so you can simply remove this argument ipv6.disable from GRUB_CMDLINE_LINUX argument list if you want.
# Regenerate a GRUB configuration file and overwrite existing one using the command shown below.
$ grub2-mkconfig -o /boot/grub2/grub.cfg

# Restart system for the changes to take effect.
$ systemctl enable sshd
$ reboot

相关文章

  • 启用ipv6模块

  • nmap 杂项

    1. 杂项 记录一些重要的和并不重要的选项。 2. 启用 IPv6 扫描 -6 (启用 IPv6 扫描) 因为启用...

  • RouterOS配置原生IPv6

    *IPv6启用需光猫支持 最近心血来潮,想玩IPv6了。读书的时候学习过IPv6的知识,现在已经还回去好多了……中...

  • Centos7禁用ipv6

    查看ipv6是否启用 如果启用了,关闭方法。 1.编辑/etc/sysctl.conf,添加以下内容 #disab...

  • 阿里云启用ipv6和隧道配置

    启用ipv6 隧道配置 隧道配置时用私网ip替换模板中给出的公网ip。

  • laradock 修改opcache.ini配置文件 生效

    composer下载laradock,查看opcache模块是否启用 // 发现是启用的 访问网站时 发现opca...

  • php-fpm 编译安装

    php-fpm编译安装 - 启用模块 安装脚本

  • Drupal

    查看pm指令 下载 查看指定 选择下载版本 启用指定模块 禁用模块 卸载模块 升级 创建用户 备份 安装所需模块

  • http

    启用 Http 服务 发起一个 get 请求 错误处理 启用 Http 服务 打开根模块AppModule, 导入...

  • magento 常用操作

    1. 查看模块状态 ./bin/magento module:status 2. 启用模块 ./bin/magen...

网友评论

      本文标题:启用ipv6模块

      本文链接:https://www.haomeiwen.com/subject/qccdtqtx.html