1. Home
  2. Docs
  3. Knowledgebase and Tutorials
  4. Linux
  5. Setting up HTTP Proxy

Setting up HTTP Proxy

Configuration

If you are using http_proxy then you have to do on all nodes (including the controller):

RedHat/CentOSDebian/Ubuntu

Edit /etc/bashrc and make sure the following line exists:

export http_proxy=http://{proxy_address}:{proxy_port}

Change the {proxy_address} and {proxy_port} to what you use.

Edit /etc/profile and make sure the following line exists:

export http_proxy=http://{proxy_address}:{proxy_port}

Change the {proxy_address} and {proxy_port} to what you use.

You may also have to set up so that http_proxy correctly handles localhost/127.0.0.1, or make sure that localhost/127.0.0.1 calls do not use http_proxy.

Verification

SSH to the node as the user that you configured for ClusterControl. In this example, the ssh_user is root:

$ ssh [email protected]{database_node}
$ env | grep http_proxy

Make sure you see something like this:

http_proxy=http://webproxy1.domain.com:9393
Was this article helpful to you? Yes No