pip3 install bandersnatch

https://pypi.org/project/bandersnatch/#files 查询最新版本

wget https://files.pythonhosted.org/packages/83/2c/6dc7548ccee31153e34298eab6216096819afe49c791d5c3a9cefb42b617/bandersnatch-3.6.0.tar.gz

tar xf bandersnatch-3.6..tar.gz
cd bandersnatch-3.6.
python3 setup.py install

# 生成配置文件
bandersnatch mirror

# 修改配置文件
vim /etc/bandersnatch.conf
directory = /srv/pypi  # 修改本地存储位置
master = https://pypi.python.org # 修改远程源地址

# 执行同步
bandersnatch -c /etc/bandersnatch.conf mirror

#最后拿nginx 映射出来就好了 超级easy

最新文章

  1. asp.net mvc adminlte第一波
  2. 14073102(CCDIKRecoil)
  3. 将word文件快速转换成表格的技巧
  4. C# XmlSerializer实现序列化浅析
  5. Qt配置信息设置(QSettings在不同平台下的使用路径)
  6. 集成骨骼动画Spine的几点经验
  7. 闭包 this,arguemnts 问题
  8. vim 模式基础操作
  9. python将PNG格式的图片转化成为jpg
  10. Nginx不支持Post数据中带有"."
  11. Span<T>和ValueTuple<T>性能是.Net Core非常关键的特性
  12. gpu内存查看命令nvidia-smi
  13. 【内核】探究linux内核,超详细解析子系统
  14. 获取作为 URL 部署清单的位置。
  15. Design Pattern in Simple Examples
  16. win10安装.net3.5 报错解决
  17. oracle 表空间tablespace
  18. java(IO)读写文件乱码转换UTF-8问题
  19. Python 绘制棋盘
  20. Ubuntu 16.04 关闭/打开笔记本触摸板

热门文章

  1. haproxy 配置文件详解 之 frontend
  2. nuxt或者vue,axios中如何发送多个请求
  3. node.js HTTP模块、URL 模块
  4. NIO (一) NIO是什么
  5. java基础之 hashmap
  6. CnblogAndroid使用反馈 & PureMan6留言板
  7. npm和yarn设置镜像源
  8. [转帖]10分钟看懂Docker和K8S
  9. 螺旋折线-C++
  10. 《C++ 习题与解析》笔记