1./opt下面解压:httpd-2.2.29.tar.gz
2.根目录/下:mkdir -p /usr/local/web/apache
3./opt下进入httpd-2.2.29文件夹:cd httpd-2.2.29
4.安装:
     (1)./configure  --prefix=/usr/local/web/apache --enable-shared=max  --enable-module=rewirte  --enable-module=so
     (2)make:预编译
     (3)make install:预编译以后安装
5.ab压力测试开始:
     (1)进入/usr/local/web/apache/bin目录下(前提:Tomcat需要开启)apache的ab压力测试
      (2)执行命令:ab -n1000 -c100 http://localhost:8080/
说明:我们可以模拟100个并发用户,对一个页面发送1000个请求 ,其中-n代表请求数,-c代表并发数。
     (3)测试报告说明 
apache的ab压力测试
apache的ab压力测试

相关文章:

  • 2021-11-23
  • 2021-11-18
  • 2021-10-03
  • 2022-12-23
  • 2021-12-27
  • 2021-08-26
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2021-12-24
  • 2022-02-02
  • 2022-12-23
  • 2021-05-26
  • 2021-11-20
  • 2021-11-09
相关资源
相似解决方案