fastdfs nginx 安装问题

纵饮孤独 提交于 2020-08-08 21:48:18


Fastdfs6.0.6最新版搭建:
https://github.com/happyfish100/fastdfs-nginx-module/releases
https://github.com/happyfish100/libfastcommon/releases
https://github.com/happyfish100/fastdfs/releases
http://nginx.org/en/download.html 1.8版本

nginx 编译出问题,使用这个:
git clone https://github.com/happyfish100/fastdfs-nginx-module/

./configure \
--prefix=/usr/local/nginx \
--pid-path=/var/run/nginx/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_gzip_static_module \
--http-client-body-temp-path=/var/temp/nginx/client \
--http-proxy-temp-path=/var/temp/nginx/proxy \
--http-fastcgi-temp-path=/var/temp/nginx/fastcgi \
--http-uwsgi-temp-path=/var/temp/nginx/uwsgi \
--http-scgi-temp-path=/var/temp/nginx/scgi \
--add-module=/root/fastdfs-nginx-module/src

 

nginx 依赖库:

yum install -y gcc pcre pcre-devel openssl openssl-devel gd gd-devel

https://blog.csdn.net/zhaokejin521/article/details/104210907

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!