灰度发布是指在黑与白之间,能够平滑过渡的一种发布方式。AB test就是一种灰度发布方式,让一部分用户继续用A,一部分用户开始用B,如果用户对B没有什么反对意见,那么逐步扩大范围,把所有用户都迁移到B上面 来。灰度发布可以保证整体系统的稳定,在初始灰度的时候就可以发现、调整问题,...
lampnick
8年前 (2017-02-06) 4073℃ 0评论
1喜欢
使用nginx做一个最外层的前端服务器(A服务器),然后将所有请求转发给docker内的后端nginx处理(B服务器),
A服务器配置:
listen 80;
server_name www.test.com
location /
{
proxy_pas...
lampnick
8年前 (2017-01-07) 5051℃ 0评论
9喜欢
1.先安装依赖包
准备工作:
# 安装编译工具:
yum install gcc automake autoconf libtool gcc-c++
# 安装基础库
yum install gd zlib zlib-devel openssl openssl-deve...
lampnick
9年前 (2016-03-31) 10131℃ 0评论
2喜欢
centos7 下编译php-5.2.17的时候出现如下的错误:
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] 错误 1
这个需要一个补丁禁用openssl的SSLv2_client_meth...
lampnick
9年前 (2016-03-30) 4488℃ 0评论
21喜欢
centos7 nginx下编译php5.2.17+php-fpm
在make的时候 提示cannot find -lltdl
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make...
lampnick
9年前 (2016-03-30) 3854℃ 0评论
0喜欢
CentOS7的yum源中默认是没有MySQL的。为了解决这个问题,我们要先下载MySQL的yum源。
1. 下载mysql的repo源
$ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
2...
lampnick
9年前 (2016-03-03) 2672℃ 0评论
0喜欢
centos7下面安装nginx
cd /usr/local/src/
wget http://nginx.org/download/nginx-1.8.1.tar.gz#下载地址
tar zxvf nginx-1.8.1.tar.gz
cd nginx-1.8.1
...
lampnick
9年前 (2016-02-24) 2413℃ 0评论
3喜欢
centos 7 php7 提示缺少php_smart_str.h怎样解决?
1、编译Memcache
wget https://github.com/websupport-sk/pecl-memcache/archive/php7.zip #下载memcache源文件
tar...
lampnick
9年前 (2016-02-24) 4793℃ 0评论
3喜欢
WampServer安装后密码是空的,需要设置一下
一般有两种方式:
一是通过phpMyAdmin直接修改;
二是使用WAMP的MySQL控制台修改。
第一种:
①在phpMyAdmin界面中点击【用户】,将用户概况中的所有用户名为【root】
用户的密码都改为【要修改的密码】。...
lampnick
10年前 (2015-11-16) 1914℃ 0评论
0喜欢
一、基于IP
1. 假设服务器有个IP地址为192.168.1.10,使用ifconfig在同一个网络接口eth0上绑定3个IP:
[root@localhost root]# ifconfig eth0:1 192.168.1.11
[root@localhost...
lampnick
10年前 (2015-10-25) 1710℃ 0评论
1喜欢