1.说明

  1. 以下全部操作均已root用户执行

2.安装

2.1 安装依赖

yum install readline-devel pcre-devel openssl-devel gcc

2.2 下载openresty安装包进行解压安装

yum install yum-utils

yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo

yum install openresty

yum install openresty-resty

ln -s /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx

ln -s /usr/local/openresty/bin/resty /usr/sbin/resty

nginx -v

resty -V

2.3 下载安装lor

git clone https://github.com/sumory/lor

cd lor
make install

注:如果git不能下载,可从https://github.com/sumory/orange/releases下载发布版

2.4 下载安装orange

git clone https://github.com/sumory/orange

cd orange

make install

相关文章:

  • 2022-01-14
  • 2022-12-23
  • 2021-12-18
  • 2022-02-20
  • 2021-11-28
  • 2022-12-23
  • 2021-12-04
  • 2021-06-16
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-09-09
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案