Git proxy
[http]
proxy = http:
[user]
email = name@email.com
name = name
APT PROXY
In file /etc/apt/apt.conf
Acquire::http::proxy "http://10.206.133.47:3128/";
Acquire::https::proxy "http://10.206.133.47:3128/";
Acquire::http::No-Cache=true;
Acquire::https::No-Cache=true;
Acquire::http::Pipeline-Depth '0';
PIP proxy
In file /root/.pip/pip.conf
[global]
index-url = http:
proxy=http:
[install]
trusted-host=pypi.douban.com
设置 proxy时出现的各种错误
- fatal: unable to access ‘https://github.com/spdk/spdk/’: server certificate verification failed. CAfile: none CRLfile: none
export GIT_SSL_NO_VERIFY=1
git config --global http.sslVerify false
export http_proxy=http:
Looking in indexes: http:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection
object at 0x7faf6af6c700>, 'Connection to pypi.douban.com timed out. (connect timeout=15)')': /simple/fb-idb/
- fatal: unable to access ‘https://github.com/spdk/spdk/’: server certificate verification failed. CAfile: none CRLfile: none
export GIT_SSL_NO_VERIFY=1
git config --global http.sslVerify false
export http_proxy=http:
|