当前位置:网站首页>Openresty installation

Openresty installation

2022-06-10 23:56:00 Li_ XiaoJin

OpenResty Easy to install , Make a note of .

brief introduction

OpenResty It's based on Nginx And Lua A high performance Web platform , It has a lot of sophisticated integration inside Lua library 、 Third party modules and most of the dependencies . Easy to construct to handle ultra-high concurrency 、 Highly scalable dynamics Web application 、Web Services and dynamic gateways .

install

Installation dependency

rely on pcre Be a regular engine ,openssl Be a security engine

yum install -y gcc gcc-c++ zlib-devel pcre pcre-devel openssl openssl-devel readline-devel

download

Version selection openresty-1.19.3.1

#  download 
wget https://openresty.org/download/openresty-1.19.3.1.tar.gz

#  decompression 
tar -zxvf openresty-1.19.3.1.tar.gz

install

cd openresty-1.19.3.1

./configure --with-luajit && make && make install

start-up

/usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf

see openresty Version and installed modules

/usr/local/openresty/nginx/sbin/nginx -V

10-19 The problem record

The following error occurred during the installation on the server today :

Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./configure line 9.
BEGIN failed--compilation aborted at ./configure line 9.

resolvent : yum install -y perl-File-Temp

Copyright: use Creative Commons signature 4.0 International license agreement to license Links:https://lixj.fun/archives/openresty install

原网站

版权声明
本文为[Li_ XiaoJin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102238037639.html