- create a file to keep environment variables (called env.sh here) at /etc/profile.d/env.sh
- export two proxy variable in /etc/profile.d/evn.sh as below
export http_proxy=http://<ip/name>:<port>
export https_proxy=$http_proxy
export http_proxy=http://<ip/name>:<port>
export https_proxy=$http_proxy
Try
setup-proxy schema://user:password@proxy.url:port
, then relogin