我尝试使用以下方法安装Apache Benchmark:是否可以在不安装apache解决方案的情况下在我的centos上安装Apache Bench(ab),但是当我运行时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
它是什么?我该如何解决?
编辑1:我尝试使用迈克尔·汉普顿的方式,但我得到此错误:
root@local [~]# yum provides /usr/bin/ab
Loaded plugins: fastestmirror, security
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 Matches found
root@local [~]# yum install httpd-tools
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: yum.phx.singlehop.com
* elrepo: repos.lax-noc.com
* extras: centos.tcpdiag.net
* updates: mirror.stanford.edu
Setting up Install Process
No package httpd-tools available.
Error: Nothing to do