LoginSignup
3

More than 3 years have passed since last update.

posted at

updated at

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

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を使う方法いろいろ

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
What you can do with signing up
3