苹果电脑终端开启代理
常用
# https代理 请求改ip和端口后
export https_proxy="http://127.0.0.1:19180"
export http_proxy="http://127.0.0.1:19180"
以下为全部
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
export http_proxy="http://127.0.0.1:1080"
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export FTP_PROXY=$http_proxy
export RSYNC_PROXY=$http_proxy
export all_proxy=xxx://xxxx:xxx