OpenResty 学习笔记(暂未整理)
安装
- 安装依赖
1.1 Debian 系列系统# apt-get install libpcre3-dev libssl-dev perl make build-essential curl
1.2 RHEL 系列系统# yum install pcre-devel openssl-devel gcc curl
- 编译安装
# tar -xvf openresty-VERSION.tar.gz # cd openresty-VERSION/ # ./configure --with-openssl=../openssl-1.0.2k --with-pcre=../pcre-8.40 -j2 && make -j2 && make install # export PATH=/usr/local/openresty/bin:$PATH
评论
发表评论