LoginSignup
2
2

More than 5 years have passed since last update.

FreeBSDでproxy配下でもpkgを使えるようにするために、rootの.cshrcの設定変更をする

Last updated at Posted at 2014-08-01

FreeBSDでproxy配下でもpkgが使えるようにするため、rootの.cshrcに下記の設定を加えます。

/root/.cshrc
~省略~
setenv HTTP_PROXY "[user]:[passwd]@proxy.example.com:[port_num]"
setenv HTTPS_PROXY "[user]:[passwd]@proxy.example.com:[port_num]"

ここで指定する[user],[passwd],[port_num]はproxyを抜けるための認証で与える情報です。それぞれユーザ名、パスワード、ポート番号です。proxy.example.comはproxyのFQDNです。環境に合わせて適宜読み替えてください。

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