openresty 编译安装

1、先到openresty官网下载源码包

2、安装所需要的依赖

yum -y install postgresql-devel

3、编译

./configure --prefix=/usr/local/openresty \
            --with-pcre-jit \
            --with-ipv6 \
            --without-http_redis2_module \
            --with-http_iconv_module \
            --with-http_postgres_module \
            -j12
			
gmake -j12
gmake install

完成

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注