Cara Setting Proxy di .bashrc CentOS 7

vi ~/.bashrc

# Proxy Settings
export ALL_PROXY=http://10.0.0.94:8080
# export ALL_PROXY=http://username:password@10.0.0.94:8080 #AUTH
export HTTP_PROXY=$ALL_PROXY
export HTTPS_PROXY=$ALL_PROXY
export FTP_PROXY=$ALL_PROXY
export RSYNC_PROXY=$ALL_PROXY
export http_proxy=$ALL_PROXY
export https_proxy=$ALL_PROXY
export ftp_proxy=$ALL_PROXY
export rsync_proxy=$ALL_PROXY
export NO_PROXY=.fahmialazhar.com,.local,10.0.2.

Reload .bashrc:
source ~/.bashrc
atau
. ~/.bashrc

Leave a Comment