Help us understand the problem. What is going on with this article?

CentOS (RHEL Redhat Enterprise Linux) にProxyの設定をする(http,https)

More than 3 years have passed since last update.

CentOS (RHEL) にProxyの設定をするには(http,https)

/etc/profile を開く

# vi /etc/profile

以下の行を追記

PROXY='proxy.server.path:8080' # proxyサーバのドメインとポートを指定
export http_proxy=$PROXY
export HTTP_PROXY=$PROXY
export https_proxy=$PROXY
export HTTPS_PROXY=$PROXY

ファイルを保存し以下を実行して設定を反映

# source /etc/profile

もしくは

/etc/profileに追加せずに、/etc/profile.d/proxy.shなどのファイルを作成してその中に上記のproxy設定を記述するのも良いと思います。(私はこちら派)

fringe81
Fringeは、最新のテクノロジーとプロフェッショナルによるサービスにより、社会課題に仮説を立てて市場に広げていくことで、数十年という長期的なスパンで価値を生み出し続け、より良い世界を創る集団です。 既存の領域に限らず、時流を読み、仮説を生み出し、テクノロジーの力で優れたサービスを生み出し続けます。
https://www.fringe81.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした