安装 yum -y install openssl-devel pcre-devel zlib-devel 等。
下载 tengine-2.2.2 fastdfs-nginx-module-master
./configure --prefix=/home/nginx --sbin-path=/home/nginx/nginx --conf-path=/home/nginx/nginx.conf --pid-path=/home/nginx/nginx.pid --with-http_ssl_module --add-module=/home/fastdfs/fastdfs-nginx-module-master/src
make ; make install