摘要: %attr(0777,root,root,-) %{_bindir}/* nginx Name: nginx Version: 1.19.0 Release: 1%{?dist} Summary: nginx rpm Group: System Environment/Daemons License 阅读全文
posted @ 2020-06-05 22:50 ascertain 阅读(421) 评论(0) 推荐(0) 编辑
摘要: --nodeps 忽略依赖 --force 即使覆盖属于其他包的文件也强制安装 --fresh upgrade packages if already installed 安装才升级,否则不升级 rpm2cpio xxx.rpm | cpio -idmv 会在当前目录下解压rpm包 rpm --ba 阅读全文
posted @ 2020-06-05 16:50 ascertain 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 常见的Linux发行版主要可以分为两类,类ReadHat系列和类Debian系列,这里我们是以其软件包的格式来划分的,这两类系统分别提供了自己的软件包管理系统和相应的工具。类RedHat系统中软件包的后缀是rpm;类Debian系统中软件包的后缀是deb。另一方面,类RedHat系统提供了同名的rp 阅读全文
posted @ 2020-06-05 16:49 ascertain 阅读(4739) 评论(0) 推荐(0) 编辑
摘要: 1.安装依赖包: [CentOS类系统] yum -y groupinstall "Development Tools" yum -y install ruby ruby-devel rubygems gcc openssl-devel 2.安装FPM: *添加淘宝的Ruby仓库 gem sourc 阅读全文
posted @ 2020-06-05 15:57 ascertain 阅读(361) 评论(0) 推荐(0) 编辑