yum install openssl openssl-devel pcre pcre-devel -y cd /home/jifucha/tools/ wget http://download.jifucha.net/openresty/openresty-1.9.7.4.tar.gz tar xf openresty-1.9.7.4.tar.gz cd openresty-1.9.7.4 ./configure --prefix=/usr/local/openresty --with-luajit --with-http_iconv_module gmake gmake install
openrestry添加模块
./configure --prefix=/usr/local/openresty --with-luajit --with-http_iconv_module --add-module=/data/tools/fastdfs-nginx-module/src 剩下的都一样了