Launchpad PPA 加速 - 中科大PPA源


Lunchpad PPA 简介

Launchpad是一个软件协作平台,可提供:

  • 错误追踪
  • 使用Bazaar和Git进行代码托管
  • 代码审查
  • Ubuntu软件包构建和托管
  • 翻译
  • 邮件列表
  • 答案跟踪和常见问题解答
  • 规格追踪

但是,由于它位于国外,速度大概在10-20KB/S,因此非常难以使用,尤其是Linux著名发行版Ubuntu的NVIDIA驱动程序使用它作为官方下载源

Reverse Proxy 反向代理

您可以将原始站点的域名更改为反向代理站点,并且对资源的访问可能会更快。在这里我推荐中国科技大学(USTC)的反向代理网站

中国科技大学反向代理的官方网址是:USTC-Revproxy,您可以在这个列表中找到他们支持的网址

截止至2020.2.9,此列表如下表所示:

Origin Site Revproxy Site
ppa.launchpad.net launchpad.proxy.ustclug.org
packages.elastic.co elastic.proxy.ustclug.org
archive.cloudera.com/cdh5/ cloudera.proxy.ustclug.org/cdh5/
downloads.lede-project.org lede.proxy.ustclug.org
downloads.openwrt.org openwrt.mirrors.ustc.edu.cn
registry-1.docker.io docker.mirrors.ustc.edu.cn
registry.npmjs.org npmreg.mirrors.ustc.edu.cn
www.npmjs.com npm.mirrors.ustc.edu.cn
fonts.gstatic.com fonts-gstatic.lug.ustc.edu.cn
fonts.googleapis.com onts.lug.ustc.edu.cn
ajax.googleapis.com ajax.lug.ustc.edu.cn
storage.googleapis.com storage-googleapis.lug.ustc.edu.cn
themes.googleusercontent.com google-themes.lug.ustc.edu.cn
gerrit.googlesource.com gerrit-googlesource.lug.ustc.edu.cn
secure.gravatar.com gravatar.lug.ustc.edu.cn

如果以上内容失效,您也可以访问中国科技大学的GITHUB官方网址,去寻找更新的内容。USTC_Github

使用方法

如果您的目的是更改下载源,可以使用如下方式更改:

  • 进入/etc/apt/sources.list.d目录
  • 以更改NVIDIA驱动程序下载源为例,修改graphics-drivers-ubuntu-ppa-bionic.list文件
  • http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu改为https://launchpad.proxy.ustclug.org/graphics-drivers/ppa/ubuntu

!!!注意是https而不是http!!!

  • 更新apt,更新软件即可


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM