内容简介:对于国内访问 nginx.org 源的速度忍无可忍,于是摸了个每天6点更新,unit 是 nginx unit(对应官方源的
对于国内访问 nginx.org 源的速度忍无可忍,于是摸了个 apt - mirror 做了个镜像,方法参照 https://raymii.org/s/tutorials/Set_up_a_local_Ubuntu_debian_apt_mirror.html (想了一下似乎小流量访问搭反代是更好的办法,但是这种跨境反代总是有不可描述的敏感性,所以还是算了)
# For Ubuntu16.04 deb https://xcb.uestc.edu.cn/mirror/unit/ubuntu/ xenial unit deb-src https://xcb.uestc.edu.cn/mirror/unit/ubuntu/ xenial unit deb https://xcb.uestc.edu.cn/mirror/nginx/ubuntu/ xenial nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/ubuntu/ xenial nginx # For Debian9 deb https://xcb.uestc.edu.cn/mirror/unit/debian/ stretch unit deb-src https://xcb.uestc.edu.cn/mirror/unit/debian/ stretch unit deb https://xcb.uestc.edu.cn/mirror/nginx/debian/ stretch nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/debian/ stretch nginx # For Debian8 deb https://xcb.uestc.edu.cn/mirror/unit/debian/ jessie unit deb-src https://xcb.uestc.edu.cn/mirror/unit/debian/ jessie unit deb https://xcb.uestc.edu.cn/mirror/nginx/debian/ jessie nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/debian/ jessie nginx
每天6点更新,unit 是 nginx unit(对应官方源的 packages .nginx .org / unit / ),nginx 只有 mainline 版本(对应官方源的 nginx .org / packages / mainline / ),暂时做了 Debian8、Debian9、Ubuntu16.04 (别的我自己不用),使用此镜像即等于接受以下 TOS:
- 软件及源码皆“按原样”分发,一切权利归 nginx.org 所有
- 该服务无任何可用性、实时性保证且服务随时可能中止,请勿在生产环境使用该服务,镜像维护者对使用该服务的一切后果(包括但不限于使用了过时的软件包、未能及时获取安全更新等)不承担任何责任。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
How to Think About Algorithms
Jeff Edmonds / Cambridge University Press / 2008-05-19 / USD 38.99
HOW TO THINK ABOUT ALGORITHMS There are many algorithm texts that provide lots of well-polished code and proofs of correctness. Instead, this one presents insights, notations, and analogies t......一起来看看 《How to Think About Algorithms》 这本书的介绍吧!