nexus pip proxy config

nexus pip proxy config

 

 

 

config for linux

  • touch config
touch ~/.pip/pip.conf
  • content
[global]
index-url = http://<nexusip:port>/repository/aliyun-pip/simple
[install]
trusted-host=<nexusip>

or with command

pip2 && pip3

 pip install docker-compose -i http://<nexusip:port>/repository/aliyun-pip/simple --trusted-host  <nexusip>
 pip3 install docker-compose -i http://<nexusip:port>/repository/aliyun-pip/simple --trusted-host  <nexusip>

https://help.sonatype.com/repomanager3/formats/pypi-repositories

posted on 2019-11-06 19:11  荣锋亮  阅读(802)  评论(0编辑  收藏  举报

导航