使用一个命令搭建一个谷歌镜像站

栏目: 编程工具 · 发布时间: 6年前

内容简介:之前我写过搭建一个google镜像站)这篇文章,使用的是nginx的一个模块,但是使用比较麻烦,今天就简化了一下

使用一个命令搭建一个谷歌镜像站

之前我写过搭建一个google镜像站

)这篇文章,使用的是nginx的一个模块,但是使用比较麻烦,今天就简化了一下

准备

首先你要准备一台国外的服务器

之后你要搭建 docker 环境

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

安装docker-compose

curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose- uname -s - uname -m -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

启动谷歌镜像站

之后clone我这个项目,欢迎fork star follow我

git clone https://github.com/bboysoulcn/docker-nginx-google.git

之后直接启动

cd docker-nginx-google/ && docker-compose up -d

欢迎关注Bboysoul的博客www.bboysoul.com

Have Fun


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Nature of Code

The Nature of Code

Daniel Shiffman / The Nature of Code / 2012-12-13 / GBP 19.95

How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital w......一起来看看 《The Nature of Code》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具