zoukankan      html  css  js  c++  java
  • 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/
    本文版权归作者和博客园共有,欢迎转载,如若转载,只需保留原文链接即可。
    如若文中有错误,欢迎指出。以免误导其他猿友。
  • 相关阅读:
    日历
    复数的运算
    大数的计算
    poj 1562
    POJ 1002
    利用正则表达式检测违禁字
    js实现一个闹钟
    jQuery实现五星好评
    jquery实现计算器功能
    横向轮播图
  • 原文地址:https://www.cnblogs.com/anxminise/p/9650077.html
Copyright © 2011-2022 走看看