概要
- CentOS 8でredmineをインストールしようとしたときに、bundleがインストールできなかった。
-
gem install bundler
と何度入力してもタイムアウト - IPv6を無効化したらあっさり解消
# 方法
/etc/sysctl.conf
を書き換える。
# vi /etc/sysctl.conf
・・・
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
・・・
# sysctl -p
・・・
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# nmcli c mod eth0 ipv6.method ignore
これで解消しました。
# 参考
https://server.etutsplus.com/centos-7-network-configuration/2/