LoginSignup
2
3

More than 5 years have passed since last update.

14: curl#7 ではまった件 - CentOS7

Last updated at Posted at 2018-12-05

yumを実行すると、

14: curl#7 - "Failed to connect to 2001:4178:5:200::10: ネットワークに届きません"

みたいにでてはまった件について、メモしておく。

ipv6 で通信しているからとか、

DNS が!

とか色々情報が書かれているが、自分の場合 proxy に原因があった。

export http_proxy="http://<プロキシのIPアドレス>:<プロキシのポート>/"
export https_proxy="http://<プロキシのIPアドレス>:<プロキシのポート>/"
export ftp_proxy="http://<プロキシのIPアドレス>:<プロキシのポート>/"

で追加。

export

で追加されたことを確認する。

とりあえず、yum を実行すると

解決した!!!

直接ファイルに書き込む場合は↓
CentOSのCUIでProxyを使う方法いろいろ

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3