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

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

内容简介:之前我写过搭建一个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


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

查看所有标签

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

APIs

APIs

Daniel Jacobson、Greg Brail、Dan Woods / O'Reilly Media / 2011-12-24 / USD 24.99

Many of the highest traffic sites get more than half of their traffic not through the browser but through the APIs they have created. Salesforce.com (more than 50%) and Twitter (more than 75% fall int......一起来看看 《APIs》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具