码迷,mamicode.com
首页 > 其他好文 > 详细

centos yum 安装openresty

时间:2020-01-20 15:10:21      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:dom   ppc   install   Opens   protocol   manager   nal   resolve   lib   

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-3.el7.x86_64
openresty-1.15.8.2-6.el7.x86_64
openresty-zlib-1.2.11-3.el7.centos.x86_64
openresty-pcre-8.43-1.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.0-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.2
/usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0
/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.0-beta3
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/bc.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/bcsave.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm64.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm64be.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips64.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips64el.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mipsel.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_ppc.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_x64.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_x86.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dump.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/p.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/v.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/vmdef.lua
/usr/local/openresty/luajit/share/luajit-2.1.0-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

标签:dom   ppc   install   Opens   protocol   manager   nal   resolve   lib   

原文地址:https://www.cnblogs.com/faberbeta/p/openresty003.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!