File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,9 +497,18 @@ $ vim ~/.pip/pip.conf
497497
498498```
499499[global]
500- trusted-host = pypi.douban.com
500+ index-url = http://mirrors.aliyun.com/pypi/simple/
501+
502+ [install]
503+ trusted-host=mirrors.aliyun.com
504+ ```
505+ 或者
506+ ```
507+ [global]
501508index-url = http://pypi.douban.com/simple
502- #index-url = http://mirrors.aliyun.com/pypi/simple/
509+
510+ [install]
511+ trusted-host=pypi.douban.com
503512```
504513由于最新的 pip 安装需要使用的 https 加密,所以在此需要添加 trusted-host
505514
@@ -510,6 +519,17 @@ $ sudo apt-cache search ncurses- | grep ncurses
510519$ sudo apt-get install libncurses5-dev
511520```
512521
522+
523+ 添加 curl 代理 (curl/wget)
524+ ```
525+ $ vim ~/.curlrc
526+ ```
527+ 添加
528+ ```
529+ proxy = http://127.0.0.1:8087
530+ ```
531+
532+
513533帅气终端(亮点是快速分屏)
514534```
515535$ apt-get install terminator
You can’t perform that action at this time.
0 commit comments