不用手动改配置文件,同样适用于没有装vi的docker镜像。

Ubuntu

sudo sed -ri 's/(cn.)?archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list

Python

pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -U pip
pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/

相关文章:

  • 2021-10-29
  • 2021-07-08
  • 2021-06-26
  • 2022-01-19
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-22
  • 2022-12-23
  • 2021-08-14
  • 2022-03-10
  • 2021-12-15
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案