前言

dnf是包管理器,起到很便捷的作用

配置安装

安装dnf包管理器
}# yum -y install epel-release
]# yum -y install dnf
dnf安装openresty
dnf -y install wget
wget 'https://openresty.org/package/centos/openresty.repo'
mv openresty.repo /etc/yum.repos.d/
dnf check-update
dnf -y install openresty
which openresty
file `which openresty`
openresty -V
systemctl start openresty
systemctl enable openresty
ps aux|grep nginx
curl 127.0.0.1
ln -snf /usr/local/openresty/nginx/sbin/nginx /usr/local/bin/nginx
which resty
dnf -y install openresty-resty
which resty
resty -e 'print("Hello Resty")'
dnf -y install openresty-doc
restydoc -s content_by_lua_file
dnf -y install openresty-opm
opm get pintsized/lua-resty-http
ls /usr/local/openresty/site/
resty -e 'require "resty.http"
resty -e 'require "resty.http"'
dnf -y install openresty-debug
which openresty-debug
file `which openresty-debug`
dnf list openresty-valgrind openresty-asan
dnf check-update
dnf upgrade 'openresty*'
dnf --disablerepo='*' --enablerepo="openresty" list available

结语

在 CentOS 8 上通过 dnf 安装 OpenResty
openresty 官网

centos7.9使用dnf包管理器安装openresty相关推荐

  1. CentOS7安装dnf包管理器

    dnf包管理器介绍:dnf是新一代的 rpm 软件包管理器,首先出现在 Fedora 18 这个发行版中,Fedora 22 中正式取代了 yum.dnf 包管理器相对 yum 来说,提升了用户体验. ...

  2. centos 7 通过yum安装dnf 包管理器

    First From long story 众所周知,dnf包管理方式是Fedora18及其以后代替,yum包管理方式的替代品,并且在性能上,得到了很大的优化,此外,Fedora 的自我生态系统–&g ...

  3. dnf包管理器常见用法

    dnf包管理器常见用法 DNF包管理器简介 从指定软件仓安装指定软件 更新软件包到最新的稳定发行版 dnf distro-sync 回滚某个特定软件的版本dnf downgrade DNF包管理器简介 ...

  4. VSCode中npm包管理器安装到卸载

    学习视频: https://www.bilibili.com/video/BV1BU4y147pS?p=21&spm_id_from=pageDriver npm包管理器安装到卸载 npm包管 ...

  5. Chocolatey 包管理器安装配置

    文章目录 概述 安装 使用 命令 卸载 概述 Chocolatey 是一种软件管理解决方案,让您可以自由地创建一个简单的软件包,然后使用您熟悉的任何配置或系统管理工具将其部署到您拥有 Windows ...

  6. DNF包管理器不升级指定包的配置

    2019独角兽企业重金招聘Python工程师标准>>> 使用fedora作为日常系统使用有一年了,上半年开始使用搜狗输入法作为系统的输入法,最近使用系统的升级命令 sudo dnf ...

  7. 怎么用nuget程序包管理器安装jquery_Nuget服务器

    搭建Nuget服务端 在Microsoft Visual Studio的空ASP.NET Web应用程序项目安装NuGet.Server,并以方式文件发布项目. 1.1.Vs中新建ASP.NET We ...

  8. Fedora之dnf包管理器

    1.在配置文件/etc/dnf/dnf.conf中加入: fastestmirror=true keepcache=true 这样下载安装软件就快多了. 2.dnf常用命令 检查并升级可用软件包: $ ...

  9. npm包管理器安装模块

    使用npm init 初始化目录(npm init -y) 可以省略中间过程 会在项目根目录生成一个文件 package.json(类似于Maven 的pom文件) {"name" ...

最新文章

  1. 韩磊老师与C#编程风格
  2. oracle password_verify_function,使用PASSWORD_VERIFY_FUNCTION设置用户密码复杂度
  3. Mysql创建、删除用户、用户管理等相关:转载http://www.cnblogs.com/fly1988happy/archive/2011/12/15/2288554.html
  4. 【资源共享】RockChip_LCD开发文档v1.6
  5. spring3: 切面及通知实例 Aspectj的aop
  6. linux指令:echo, head, tail
  7. koa2异常处理_koa2 中的错误处理以及中间件设计原理
  8. 铁芯用matlab怎么仿真,Simulink的BLDC建模与仿真
  9. 保存的离线网页再打开会跳转的问题
  10. C# MemCached
  11. 5.9 Illustrator颜色的设置 [Illustrator CC教程]
  12. android4.4.3版本root,EMUI3.0 Android4.4.4以下完美ROOT教程
  13. java安装报错循环冗余检查_Java中循环冗余校验的实现方式介绍
  14. 扫码支付 (基于微信)
  15. ICN: Integrated crosstalk noise
  16. Rust实现:从一组纸牌中挑选Winner纸牌
  17. Yoshua Bengio, Yann LeCun, Geoffrey Hinton 获 2018 年图灵奖...
  18. 组播IP与组播Mac的对应关系
  19. wxPython 2 - wxPython基础
  20. iPhone 6 被盗记录二【写在315前夕:苹果售后福州直信创邺在没有三包的情况下帮小偷翻新、助力小偷换机销赃!无视王法。让人震惊,痛心,憎恨!消费者很受伤很无奈】...

热门文章

  1. 4G流量不翼而飞!EasyGBS未调阅视频播放却消耗了流量是什么原因?
  2. 赛尔号7月17日服务器维护,赛尔号7月17日更新精灵大爆料
  3. Android JobSchedule漫说
  4. vue遇到ie兼容问题如何处理_详解vue 兼容IE报错解决方案
  5. Win10如何用日记本便签工具来应付工作所需?
  6. 北京求职日记 java 第一天
  7. 天穗之咲稻姬游戏 附攻略
  8. 什么是书法的“屋漏痕”和“折钗股”?
  9. 旧手机不要轻易扔掉,将其设置为无线网卡,不消耗流量
  10. linux crossover中文乱码,wine/crossover字体问题