-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenresty安装.txt
43 lines (32 loc) · 1.45 KB
/
openresty安装.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
yum install yum-utils
yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
yum install openresty
yum install openresty-resty
openresty中文网(通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台)
http://openresty.org/cn/components.html
wget https://openresty.org/download/openresty-1.11.2.3.tar.gz
tar -xzvf openresty-1.11.2.3.tar.gz
cd openresty-1.11.2.3
./configure --prefix=/usr/local/openresty
gmake & gmake install
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ using system zlib library
nginx path prefix: "/usr/local/openresty//nginx"
nginx binary file: "/usr/local/openresty//nginx/sbin/nginx"
nginx modules path: "/usr/local/openresty//nginx/modules"
nginx configuration prefix: "/usr/local/openresty//nginx/conf"
nginx configuration file: "/usr/local/openresty//nginx/conf/nginx.conf"
nginx pid file: "/usr/local/openresty//nginx/logs/nginx.pid"
nginx error log file: "/usr/local/openresty//nginx/logs/error.log"
nginx http access log file: "/usr/local/openresty//nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
cd ../..
Type the following commands to build and install:
gmake
gmake install