安装nginx和health check
wget http://nginx.org/download/nginx-1.4.5.tar.gz
git clone https://github.com/yaoweibin/nginx_upstream_check_module.git
yum install patch
patch -p1 < healthcheck_nginx_upstreams/check1_2.6+
yum groupinstall "Development tools"
yum -y install pcre-devel openssl openssl-devel
./configure --add-module=healthcheck_nginx_upstreams
make
make install