Centos7安装Openresty和orange

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

作者:忧臣解读
出处:https://www.cnblogs.com/anxminise/
本文版权归作者和博客园共有,欢迎转载,如若转载,只需保留原文链接即可。
如若文中有错误,欢迎指出。以免误导其他猿友。
原文地址:https://www.cnblogs.com/anxminise/p/9650077.html