Buscar este blog

lunes, 25 de mayo de 2015

Centos update proxy config

Proxy config is located in ~/.bash_profile. To configure proxy you have to edit this file and insert de followning lines:
# The Web proxy server used by this account
http_proxy="http://usuario:password@my.proxy:8080"
export no_proxy=localhost,127.0.0.1
export http_proxy

User and password are optional.

In order to make changes take efect you have to exectuete de follownin comand:
# The Web proxy server used by this account
source .bash_profile

No hay comentarios:

Publicar un comentario