摘要: 转自:https://zhuanlan.zhihu.com/p/23599229 推荐:https://hijiangtao.github.io/2018/04/17/Docker-in-Action/ 一、Docker是什么? Docker是一个虚拟环境容器,可以将你的开发环境、代码、配置文件等一 阅读全文
posted @ 2019-03-08 14:58 白開水 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 1 先创建docker hub 帐号 ,并创建仓库 https://hub.docker.com/ 首先你需要一个docker hub 帐号,记住username,password,email .后面在命令行验证登陆的时候需要用到,再下来就是创建仓库了,本文假定你的英语还凑合可以看得懂英文,辣么:c 阅读全文
posted @ 2019-03-08 14:22 白開水 阅读(2358) 评论(0) 推荐(0) 编辑
摘要: centos6 加入开机启动: vim /etc/rc.d/rc.local #修改此配置文件 chmod +x /etc/rc.d/rc.local #添加执行权限 注意命令不要出错,重启后生效 或者 centos 7 下: vim /lib/systemd/system/httpd.servic 阅读全文
posted @ 2019-03-08 10:02 白開水 阅读(36012) 评论(0) 推荐(1) 编辑
摘要: 可参考:https://www.runoob.com/linux/nginx-install-setup.htmlhttps://www.helloweba.net/server/492.html nginx-1.14.2.tar.gz:下载:wget http://nginx.org/downlo 阅读全文
posted @ 2019-03-08 09:42 白開水 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 一、安装 phpredis-4.0.12.tar.gz:下载:wget http://download.redis.io/releases/redis-4.0.12.tar.gz $ tar -zxvf redis-4.0.12.tar.gz $ cd /usr/local/src/redis-4. 阅读全文
posted @ 2019-03-08 09:29 白開水 阅读(1643) 评论(0) 推荐(0) 编辑
摘要: phpredis-4.2.0.tar.gz:下载:wget https://github.com/phpredis/phpredis/archive/4.2.0.tar.gz $ tar -zxvf phpredis-4.0.2.tar.gz $ cd phpredis-4.0.2 $ /usr/l 阅读全文
posted @ 2019-03-08 09:26 白開水 阅读(992) 评论(1) 推荐(0) 编辑