-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathinstall_demo.sh
executable file
·23 lines (22 loc) · 1.22 KB
/
install_demo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
if ! test -f Makefile;then
./configure \
--with-cc=clang \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_v3_module \
--with-http_gzip_static_module \
--with-stream \
--with-stream_ssl_module \
--with-http_realip_module \
--prefix=/usr/local/nginx \
--with-http-hi-python-version=python-3.10-embed \
--with-http-hi-lua-version=lua5.4 \
--add-module=module/ngx_http_autoblacklist_module \
--add-module=module/ngx_http_lua_module \
--add-module=module/ngx_http_py_module \
--add-module=module/ngx_http_java_module \
--add-module=module/ngx_http_cpp_module
else
echo ready.
fi