Tuesday, February 12, 2019

[Ubuntu]設定系統Proxy/System Proxy Setting

sudo nano /etc/apt/apt.conf.d/95proxies
Acquire::http::proxy "http://192.168.0.114:3128";
Acquire::ftp::proxy "ftp://192.168.0.114:3128";
Acquire::https::proxy "https://192.168.0.114:3128";
sudo nano /etc/environment
http_proxy=http://192.168.0.114:3128/
https_proxy=http://192.168.0.114:3128/
ftp_proxy=http://192.168.0.114:3128/
HTTP_PROXY=http://192.168.0.114:3128/
HTTPS_PROXY=http://192.168.0.114:3128/
FTP_PROXY=http://192.168.0.114:3128/

No comments: