Указываем прокси для всей системы
Шаблон
proxy_http=username:password@proxy-host:port
http_proxy Proxy server for HTTP Traffic.
https_proxy Proxy server for HTTPS traffic
ftp_proxy Proxy server for FTP traffic
no_proxy Patterns for IP addresses or domain names that shouldn’t use the proxy
Открываем терминал
sudo nano /etc/environment
после системных переменных дописываем
http_proxy="http://username:password@proxy.kz:8080/"
https_proxy="http://username:password@proxy.kz:8443/"
ftp_proxy="http://username:password@proxy.kz:8021/"
no_proxy="localhost,127.0.0.1,10.*.*.*,::1"
Комментариев нет:
Отправить комментарий