小编Meh*_*neh的帖子

如何在 CentOS 上安装 Apache Benchmark?

我尝试使用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)

linux yum ab apache-2.2

37
推荐指数
1
解决办法
8万
查看次数

标签 统计

ab ×1

apache-2.2 ×1

linux ×1

yum ×1