如何在 CentOS7 服务器上安装 Stress?

如何在 CentOS7 服务器上安装 Stress?

如何在 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

相关内容