![如何在 CentOS7 服务器上安装 Stress?](https://linux22.com/image/686835/%E5%A6%82%E4%BD%95%E5%9C%A8%20CentOS7%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E5%AE%89%E8%A3%85%20Stress%EF%BC%9F.png)
如何在 CentOS 7 服务器上安装 Stress?
我读了这并且我有Package epel-release-7-7.noarch already installed and latest version
。当我yum search stress
得到:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.hostingxtreme.com
* epel: mirror.cs.pitt.edu
* extras: mirrors.umflint.edu
* updates: mirrors.greenmountainaccess.net
======================================================== N/S matched: stress ========================================================
httpress.x86_64 : HTTP stress & benchmark utility
这不是我要找的,手册页也证实了这一点:
httpress - High performance HTTP server stress & benchmark utility.
如何在 centos7 无头服务器上安装压力工具?
答案1
它位于旧 EPEL 6 存储库列表中这里. 安装:
rpm -ivh https://dl.fedoraproject.org/pub/epel/6/x86_64/stress-1.0.4-4.el6.x86_64.rpm
答案2
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install stress
答案3
对于 Centos8 我做了:
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install stress