Re: [CentOS] Proxy server settings

2016-11-07 Thread paul.greene.va

That did it - worked perfectly.

Thanks!

On 11/7/2016 4:54 PM, Marcelo Roccasalva wrote:

On Mon, Nov 7, 2016 at 6:25 PM, paul.greene.va
 wrote:

Hello All,

I'm sure this must be a fairly quick and easy configuration, but I have not
been able to figure it out yet.

How do you configure the proxy settings in the OS itself (not in a browser
or other application) so that anytime the server tries to get out to the
internet, that it can direct its traffic to go through a proxy server?

I tried putting the proxy settings in .bash_profile per a tech article I
found online but that did not work.

The OS is Redhat 7.2.

in /etc/environment add lines like:

export http_proxy="http://proxysrv:3128/;
export https_proxy="http://proxysrv:3128/;
export ftp_proxy="http://proxysrv:3128/;

Yum has it's own config: /etc/yum.conf, you have to add the following
line, near the end of the file:

proxy=http://proxysrv:3128



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Proxy server settings

2016-11-07 Thread Marcelo Roccasalva
On Mon, Nov 7, 2016 at 6:25 PM, paul.greene.va
 wrote:
> Hello All,
>
> I'm sure this must be a fairly quick and easy configuration, but I have not
> been able to figure it out yet.
>
> How do you configure the proxy settings in the OS itself (not in a browser
> or other application) so that anytime the server tries to get out to the
> internet, that it can direct its traffic to go through a proxy server?
>
> I tried putting the proxy settings in .bash_profile per a tech article I
> found online but that did not work.
>
> The OS is Redhat 7.2.

in /etc/environment add lines like:

export http_proxy="http://proxysrv:3128/;
export https_proxy="http://proxysrv:3128/;
export ftp_proxy="http://proxysrv:3128/;

Yum has it's own config: /etc/yum.conf, you have to add the following
line, near the end of the file:

proxy=http://proxysrv:3128

-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos