首页 > 其他 > 详细

开发中常用的国内镜像(持续更新)

时间:2020-04-19 09:09:39      阅读:37      评论:0      收藏:0      [点我收藏+]

Python

a. 找到下列文件

~/.pip/pip.conf

b. 在上述文件中添加或修改

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

Maven

打开 Maven 的配置文件(windows机器一般在maven安装目录的conf/settings.xml),在<mirrors></mirrors标签中添加 mirror 子节点

<mirrors>
       <mirror>
           <id>alimaven</id>
           <name>aliyun maven</name>
           <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
           <mirrorOf>central</mirrorOf>
       </mirror>
</mirrors>

参考链接

开发中常用的国内镜像(持续更新)

原文:https://www.cnblogs.com/luoxiaolei/p/12728845.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!