1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【CentOS7】プロキシ経由でyum/wgetする手順

Posted at

##yum/wgetそれぞれのconfに直書きする
保存したら即時反映される

##■yum(最下行に追記)

/etc/yum.conf
proxy=http://XXX.XXX.XXX.XXX(IPアドレス):XX(ポート番号)
proxy_username=XXXX
proxy_password=XXXX

##■wget(最下行に追記)

/etc/wgetrc
http_proxy = http://XXX.XXX.XXX.XXX:XX(IPアドレス):XX(ポート番号)
proxy_user = XXXX
proxy_passwd = XXXX
1
5
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
1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?