nginx 安装 fastdfs 客户端
1. 下载
wget https://openresty.org/download/openresty-1.17.8.1.tar.gz
wget https://github.com/happyfish100/fastdfs-nginx-module/archive/V1.22.zip
yum install gd gd-devel -y
2. 编译
export DESTDIR=
mkdir -p /alidata/server/openresty/fastdfs
unzip V1.22.zip -d /alidata/server/openresty/fastdfs
tar -zxvf openresty-1.17.8.1.tar.gz
cd openresty-1.17.8.1
./configure --user=www
–group=www
–prefix=/alidata/server/openresty
–with-http_stub_status_module
–without-http-cache
–with-http_ssl_module
–with-ipv6
–with-http_gzip_static_module
–with-http_realip_module
–with-http_image_filter_module
–with-pcre --with-pcre-jit
–add-module=/alidata/server/openresty/fastdfs/fastdfs-nginx-module-1.22/src