centos yum 安装openresty
yum 安装openresty
sudo yum install yum-utils -y
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
sudo yum install openresty -y
到此,openresty就安装好了
如果想安装openresty调试工具
可以sudo yum install openresty-resty
用如下命令查看安装了哪些openresty组建
[root@localhost ~]# rpm -qa openresty*
openresty-openssl-1.1.0k-.el7.x86_64
openresty-1.15.8.2-.el7.x86_64
openresty-zlib-1.2.-.el7.centos.x86_64
openresty-pcre-8.43-.el7.x86_64
用如下命令查看openresty安装到了哪些路径
[root@localhost ~]# rpm -ql openresty-1.15.8.2
/usr/bin/openresty
/usr/lib/systemd/system/openresty.service
/usr/local/openresty/COPYRIGHT
/usr/local/openresty/bin/openresty
/usr/local/openresty/luajit/bin
/usr/local/openresty/luajit/bin/luajit
/usr/local/openresty/luajit/bin/luajit-2.1.-beta3
/usr/local/openresty/luajit/include
/usr/local/openresty/luajit/include/luajit-2.1
/usr/local/openresty/luajit/include/luajit-2.1/lauxlib.h
/usr/local/openresty/luajit/include/luajit-2.1/lua.h
/usr/local/openresty/luajit/include/luajit-2.1/lua.hpp
/usr/local/openresty/luajit/include/luajit-2.1/luaconf.h
/usr/local/openresty/luajit/include/luajit-2.1/luajit.h
/usr/local/openresty/luajit/include/luajit-2.1/lualib.h
/usr/local/openresty/luajit/lib
/usr/local/openresty/luajit/lib/libluajit-5.1.so
/usr/local/openresty/luajit/lib/libluajit-5.1.so.
/usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.
/usr/local/openresty/luajit/lib/lua
/usr/local/openresty/luajit/lib/lua/5.1
/usr/local/openresty/luajit/lib/pkgconfig
/usr/local/openresty/luajit/lib/pkgconfig/luajit.pc
/usr/local/openresty/luajit/share
/usr/local/openresty/luajit/share/lua
/usr/local/openresty/luajit/share/lua/5.1
/usr/local/openresty/luajit/share/luajit-2.1.-beta3
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/bc.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/bcsave.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_arm.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_arm64.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_arm64be.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_mips.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_mips64.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_mips64el.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_mipsel.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_ppc.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_x64.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dis_x86.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/dump.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/p.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/v.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/vmdef.lua
/usr/local/openresty/luajit/share/luajit-2.1.-beta3/jit/zone.lua
/usr/local/openresty/lualib/cjson.so
/usr/local/openresty/lualib/librestysignal.so
/usr/local/openresty/lualib/ngx
/usr/local/openresty/lualib/ngx/balancer.lua
/usr/local/openresty/lualib/ngx/base64.lua
/usr/local/openresty/lualib/ngx/errlog.lua
/usr/local/openresty/lualib/ngx/ocsp.lua
/usr/local/openresty/lualib/ngx/pipe.lua
/usr/local/openresty/lualib/ngx/process.lua
/usr/local/openresty/lualib/ngx/re.lua
/usr/local/openresty/lualib/ngx/resp.lua
/usr/local/openresty/lualib/ngx/semaphore.lua
/usr/local/openresty/lualib/ngx/ssl
/usr/local/openresty/lualib/ngx/ssl.lua
/usr/local/openresty/lualib/ngx/ssl/session.lua
/usr/local/openresty/lualib/redis
/usr/local/openresty/lualib/redis/parser.so
/usr/local/openresty/lualib/resty
/usr/local/openresty/lualib/resty/aes.lua
/usr/local/openresty/lualib/resty/core
/usr/local/openresty/lualib/resty/core.lua
/usr/local/openresty/lualib/resty/core/base.lua
/usr/local/openresty/lualib/resty/core/base64.lua
/usr/local/openresty/lualib/resty/core/ctx.lua
/usr/local/openresty/lualib/resty/core/exit.lua
/usr/local/openresty/lualib/resty/core/hash.lua
/usr/local/openresty/lualib/resty/core/misc.lua
/usr/local/openresty/lualib/resty/core/ndk.lua
/usr/local/openresty/lualib/resty/core/phase.lua
/usr/local/openresty/lualib/resty/core/regex.lua
/usr/local/openresty/lualib/resty/core/request.lua
/usr/local/openresty/lualib/resty/core/response.lua
/usr/local/openresty/lualib/resty/core/shdict.lua
/usr/local/openresty/lualib/resty/core/time.lua
/usr/local/openresty/lualib/resty/core/uri.lua
/usr/local/openresty/lualib/resty/core/utils.lua
/usr/local/openresty/lualib/resty/core/var.lua
/usr/local/openresty/lualib/resty/core/worker.lua
/usr/local/openresty/lualib/resty/dns
/usr/local/openresty/lualib/resty/dns/resolver.lua
/usr/local/openresty/lualib/resty/limit
/usr/local/openresty/lualib/resty/limit/conn.lua
/usr/local/openresty/lualib/resty/limit/count.lua
/usr/local/openresty/lualib/resty/limit/req.lua
/usr/local/openresty/lualib/resty/limit/traffic.lua
/usr/local/openresty/lualib/resty/lock.lua
/usr/local/openresty/lualib/resty/lrucache
/usr/local/openresty/lualib/resty/lrucache.lua
/usr/local/openresty/lualib/resty/lrucache/pureffi.lua
/usr/local/openresty/lualib/resty/md5.lua
/usr/local/openresty/lualib/resty/memcached.lua
/usr/local/openresty/lualib/resty/mysql.lua
/usr/local/openresty/lualib/resty/random.lua
/usr/local/openresty/lualib/resty/redis.lua
/usr/local/openresty/lualib/resty/sha.lua
/usr/local/openresty/lualib/resty/sha1.lua
/usr/local/openresty/lualib/resty/sha224.lua
/usr/local/openresty/lualib/resty/sha256.lua
/usr/local/openresty/lualib/resty/sha384.lua
/usr/local/openresty/lualib/resty/sha512.lua
/usr/local/openresty/lualib/resty/shell.lua
/usr/local/openresty/lualib/resty/signal.lua
/usr/local/openresty/lualib/resty/string.lua
/usr/local/openresty/lualib/resty/upload.lua
/usr/local/openresty/lualib/resty/upstream
/usr/local/openresty/lualib/resty/upstream/healthcheck.lua
/usr/local/openresty/lualib/resty/websocket
/usr/local/openresty/lualib/resty/websocket/client.lua
/usr/local/openresty/lualib/resty/websocket/protocol.lua
/usr/local/openresty/lualib/resty/websocket/server.lua
/usr/local/openresty/lualib/tablepool.lua
/usr/local/openresty/nginx/conf/fastcgi.conf
/usr/local/openresty/nginx/conf/fastcgi.conf.default
/usr/local/openresty/nginx/conf/fastcgi_params
/usr/local/openresty/nginx/conf/fastcgi_params.default
/usr/local/openresty/nginx/conf/koi-utf
/usr/local/openresty/nginx/conf/koi-win
/usr/local/openresty/nginx/conf/mime.types
/usr/local/openresty/nginx/conf/mime.types.default
/usr/local/openresty/nginx/conf/nginx.conf
/usr/local/openresty/nginx/conf/nginx.conf.default
/usr/local/openresty/nginx/conf/scgi_params
/usr/local/openresty/nginx/conf/scgi_params.default
/usr/local/openresty/nginx/conf/uwsgi_params
/usr/local/openresty/nginx/conf/uwsgi_params.default
/usr/local/openresty/nginx/conf/win-utf
/usr/local/openresty/nginx/html/50x.html
/usr/local/openresty/nginx/html/index.html
/usr/local/openresty/nginx/logs
/usr/local/openresty/nginx/sbin/nginx
/usr/local/openresty/nginx/sbin/stap-nginx
/usr/local/openresty/nginx/tapset/nginx.stp
/usr/local/openresty/nginx/tapset/ngx_lua.stp
/usr/local/openresty/site/lualib
centos yum 安装openresty的更多相关文章
- centos yum 安装 mongodb 以及php扩展
centos yum 安装 mongodb 以及php扩展 投稿:hebedich 字体:[增加 减小] 类型:转载 MongoDB是一个基于分布式文件存储的数据库.由C++语言编写.旨在为WEB应用 ...
- 【转】CentOS yum安装和卸载软件的使用方法
在CentOS yum安装和卸载软件的使用方法安装方法安装一个软件时. CentOS yum -y install httpd安装多个相类似的软件时 CentOS yum -y install ...
- CentOS yum 安装LAMP PHP5.4版本
CentOS yum 安装LAMP PHP5.4版本 [日期:2015-06-04] 来源:Linux社区 作者:rogerzhanglijie [字体:大 中 小] Linux系统版本:C ...
- CentOS yum安装mcrypt
CentOS yum安装mcrypt 本篇排错的前提是只想用yum安装,不想使用源码包编译安装. php依赖一下包: #yum install libmcrypt libmcrypt-deve ...
- CentOS yum安装mcrypt详细图解教程
CentOS yum安装mcrypt详细图解教程 在Linux的发行版CentOS 6.3 系统下,LAMP(Linux+Apache+Mysql+php)环境搭建好后发现PHPMyadmin提示 “ ...
- centos yum 安装php5.6
centos yum 安装php5.6 卸载 php之前的版本: yum remove -y php-common 配置源 CentOS 6.5的源 rpm -Uvh http://ftp.iij.a ...
- linux centos yum安装LAMP环境
centos 6.5 1.yum安装和源代码编译在使用的时候没啥区别,但是安装的过程就大相径庭了,yum只需要3个命令就可以完成,源代码需要13个包,还得加压编译,步骤很麻烦,而且当做有时候会出错,源 ...
- redhad借用CentOs yum 安装
RedHat linux 默认是安装了yum软件的,但是由于激活认证的原因让redhat无法直接进行yum安装一些软件,如果我们需要在redhat下直接yum安装软件,我们只用把yum的源修改成Cen ...
- centos yum 安装问题
yum [Errno 256] No more mirrors to try 解决方法 输入下面的命令即可解决问题: yum clean all yum makecache 导致 centos安装软件 ...
随机推荐
- linux中vim使用技巧
一.导入文件内容 :r 解释 导入文件 示例 编辑模式下 # 将/tmp/test.txt内容导入到光标所在的位置的下一行 :r /tmp/test.txt :! 解释 在编辑文件时,执行系统命令 示 ...
- Javascript 基础学习(五)js 的运算符
通过运算符可以对一个或多个值进行运算,并且一定有运算结果返回 算数运算符 算数运算符包括相加(+).相减(-).相乘(*).相除(/).取模(%).任何值与字符串相加都会转换为字符串,做的是字符串 ...
- sql对于表格中列的删改
mysql与oracle char为定长字符串 var为可变字符串 修改表名:rename table1 to table2:(mysql) alter table1 rename to table2 ...
- MySQL必知必会--分 组 数 据
数据分组 目前为止的所有计算都是在表的所有数据或匹配特定的 WHERE 子句的 数据上进行的.提示一下,下面的例子返回供应商 1003 提供的产品数目 但如果要返回每个供应商提供的产品数目怎么办?或者 ...
- centos5,6 系统启动流程
linux内核特点: 支持模块化:模块文件的名字以.ko(kernel object)结尾 支持内核运行时,动态加载和卸载模块文件. linux内核组成部分: 核心文件:/boot/vmlinuz-V ...
- stlink 下载报错:Error Flash Download failed - "Cortext-M0+"
stlink 下载报错:Error Flash Download failed - "Cortext-M0+" 解决方法: STM32 ST-LINK Utility 用这个软件把 ...
- Oracle实例占用超高CPU排查
CPU主要功能:处理指令.执行操作.要求进行动作.控制时间.处理数据. 结合数据库实例CPU占用高,可能的原因是数据库在执行大量的操作(全表查询.大量排序等). 由于公司没有DBA,遇到数据库问题只能 ...
- spring mvc5 的 配置文件 pom.xml
spring mvc5 的 配置文件 pom.xml <?xml version="1.0" encoding="UTF-8"?> <pro ...
- STL中的Set和Map——入门新手篇
STL中的Set和Map 先来看一段网络上的文字描述: 上图是一段关于STL中Set集合的描述,同样的,也近似适合Map的描述.上述文字中,描述了最为重要的特征: Set和Map,底层调用了红黑树的结 ...
- 解决树莓派鼠标延迟/迟滞问题-转CSDN博主“Deiki”-sunziren
本文转自CSDN: https://blog.csdn.net/deiki/article/details/73252942,因为我在为树莓派安装2.4G无线键鼠的时候,鼠标反应很慢,卡顿严重(换成有 ...