From Boldcore's wiki
Jump to: navigation, search

Linux Proxy variables

If You are connecting to the Internet thru proxy.

export http_proxy=http://8.8.8.8:8080/
export https_proxy=https://8.8.8.8:8080/
export ftp_proxy=http://8.8.8.8:8080/

# Start new Shell with new variables defined.
bash 

export http_proxy=http://IP:Port/

(Optional)
Add the variables to /etc/environment to make the settings persistent.