LoginSignup
0
0

More than 5 years have passed since last update.

CentOS7でProxyを設定する

Posted at

ちょいとおもいたってALMiniumの環境を作っています。
できれば新しいOSで立ち上げたいと思い、CentOS7で環境構築中。。
手順は一工夫いるようで、備忘録的にメモを残します。

初歩的なところで

CentOS Proxy設定

Yum
/etc/yum.confに以下を追加
proxy=(proxy host)
proxy_username=(proxy user)
proxy_password=(proxy password)

※認証付きプロキシならこのような設定になります。

export HTTP_PROXY=(proxy host)
export HTTP_PROXY=http://(proxy user):(proxy password)@(proxy host)

※わたしパスワードに@マークが含まれてて、設定の時にバタバタしましたが、@マークは%40でURLエンコードするとうまくいきます。

0
0
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
0
0