FastDfs安装笔记
FastDFS安装和配置,整合Nginx-1.13.3
CentOS7 安装Nginx
官方ngnix configure
FastDFS+Nginx(单点部署)事例
安装时注意:
一般情况下安装 fastdfs-nginx-module模块是容易安装失败
注意配置
./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-pcre=../pcre-8.41 --with-zlib=../zlib-1.2.11
像
pcre-8.41
zlib-1.2.11
openssl
这些安装包直接放在nginx同级目录,安装后直接类似这样配置:
--with-pcre=../pcre-8.41
单独安装Nginx安装配置可以直接参考菜鸟教程:http://www.runoob.com/linux/nginx-install-setup.html
安装编译 Nginx 所需的依赖包
yum install gcc gcc-c++ make automake autoconf libtool pcre* zlib openssl openssl-devel