centos7.9使用dnf包管理器安装openresty
前言
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相关推荐
- CentOS7安装dnf包管理器
dnf包管理器介绍:dnf是新一代的 rpm 软件包管理器,首先出现在 Fedora 18 这个发行版中,Fedora 22 中正式取代了 yum.dnf 包管理器相对 yum 来说,提升了用户体验. ...
- centos 7 通过yum安装dnf 包管理器
First From long story 众所周知,dnf包管理方式是Fedora18及其以后代替,yum包管理方式的替代品,并且在性能上,得到了很大的优化,此外,Fedora 的自我生态系统–&g ...
- dnf包管理器常见用法
dnf包管理器常见用法 DNF包管理器简介 从指定软件仓安装指定软件 更新软件包到最新的稳定发行版 dnf distro-sync 回滚某个特定软件的版本dnf downgrade DNF包管理器简介 ...
- VSCode中npm包管理器安装到卸载
学习视频: https://www.bilibili.com/video/BV1BU4y147pS?p=21&spm_id_from=pageDriver npm包管理器安装到卸载 npm包管 ...
- Chocolatey 包管理器安装配置
文章目录 概述 安装 使用 命令 卸载 概述 Chocolatey 是一种软件管理解决方案,让您可以自由地创建一个简单的软件包,然后使用您熟悉的任何配置或系统管理工具将其部署到您拥有 Windows ...
- DNF包管理器不升级指定包的配置
2019独角兽企业重金招聘Python工程师标准>>> 使用fedora作为日常系统使用有一年了,上半年开始使用搜狗输入法作为系统的输入法,最近使用系统的升级命令 sudo dnf ...
- 怎么用nuget程序包管理器安装jquery_Nuget服务器
搭建Nuget服务端 在Microsoft Visual Studio的空ASP.NET Web应用程序项目安装NuGet.Server,并以方式文件发布项目. 1.1.Vs中新建ASP.NET We ...
- Fedora之dnf包管理器
1.在配置文件/etc/dnf/dnf.conf中加入: fastestmirror=true keepcache=true 这样下载安装软件就快多了. 2.dnf常用命令 检查并升级可用软件包: $ ...
- npm包管理器安装模块
使用npm init 初始化目录(npm init -y) 可以省略中间过程 会在项目根目录生成一个文件 package.json(类似于Maven 的pom文件) {"name" ...
最新文章
- R语言sample函数数据对象采样实战
- 输入年月日 输出该日期是星期几。javascript_快速提升拼音输入法的几个技巧 高手都会用!...
- embed中 src属性动态更改。
- 网站“拍照”备案月底恐难实施
- 设计模式学习笔记--Memento 备忘录模式
- 网关在链路上什么意思_银行卡上的数字都什么意思
- 读取CSV文件并将值存储到数组中
- 华为手机字体改简体_华为字体买了之后改不了 华为手机字体改简体
- Mysql 分组求和
- 一位,四位数码管引脚图
- UTC和GMT时间区别
- 计算机冰雪世界教案,教案有趣的冰
- 浩哥的Linux学习笔记之touch命令
- linux输入文件后clustalw,合并提取后的domain序列之后,linux系统中的clustalw不能读出蛋白信息...
- java跳转页面后再跳回前一个页面_js中实现页面跳转(返回前一页、后一页)
- 自学Python兼职赚钱靠谱吗?
- cocos2d-x ListView滚动与Button点击事件
- python绘制太阳系模型_用python做一个漂亮的太阳系运动模拟
- 用OneNote打造全平台的数字笔记本
- CUIT第七届智能小车(基础四轮电磁组)比赛总结