1 Star 0 Fork 0

zhiduopc/jxwaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install_waf.sh 755 Bytes
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2022-11-02 23:56 . update
#!/bin/bash
yum install -y epel-release pcre-devel openssl-devel gcc cmake make lua-devel automake
yum install -y python-pip
pip install requests
tar zxvf openresty-1.21.4.1.tar.gz
cd openresty-1.21.4.1
./configure --prefix=/opt/jxwaf --with-http_v2_module --with-http_stub_status_module && gmake && gmake install
mv /opt/jxwaf/nginx/conf/nginx.conf /opt/jxwaf/nginx/conf/nginx.conf.bak
cp ../conf/nginx.conf /opt/jxwaf/nginx/conf/
cp ../conf/full_chain.pem /opt/jxwaf/nginx/conf/
cp ../conf/private.key /opt/jxwaf/nginx/conf/
mkdir /opt/jxwaf/nginx/conf/jxwaf
cp ../conf/jxwaf_config.json /opt/jxwaf/nginx/conf/jxwaf/
cp -r ../lib/resty/jxwaf /opt/jxwaf/lualib/resty/
cp -r ../lib/resty/kafka /opt/jxwaf/lualib/resty/
/opt/jxwaf/nginx/sbin/nginx -t
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhiduopc/jxwaf.git
git@gitee.com:zhiduopc/jxwaf.git
zhiduopc
jxwaf
jxwaf
master

搜索帮助