apache bench linux,linux – 如何在CentOS上安装Apache Benchmark?

我尝试在我的centos上使用

Is there a way to install Apache Bench (ab) without installing 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

它是什么?我该如何修理它?

编辑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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值