我尝试使用Is there a way to install Apache Bench (ab) 而不是在我的 centos 上安装 apache解决方案来安装 Apache Benchmark,但是当我运行时yumdownloader httpd
,出现错误:
root@local [~/httpd]# yumdownloader httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: yum.phx.singlehop.com
* elrepo: repos.lax-noc.com
* extras: centos.tcpdiag.net
* updates: mirror.stanford.edu
No Match for argument httpd
Nothing to download
Run Code Online (Sandbox Code Playgroud)
它是什么?我该如何修复它?
编辑 1:我尝试使用 Michael Hampton 方式,但出现以下错误:
root@local [~]# yum provides /usr/bin/ab
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: yum.phx.singlehop.com
* …
Run Code Online (Sandbox Code Playgroud)