美文网首页
laradock docker环境下使用apahce的ab工具测

laradock docker环境下使用apahce的ab工具测

作者: sowork | 来源:发表于2019-01-23 16:13 被阅读8次

1. 当你的nginx web服务搭建完成后,暴漏宿主机地址为 xx.test

2. docker run -it --net=host --name [your container name] [your apache image name] bash

3. 进入shell环境搜索ab存在路径 find / -name ab 找到ab存在于 /usr/bin/ab


4.  执行ab命令即可 ab -n 100 -c 10 http://laravel.test/hello   

相关文章

网友评论

      本文标题:laradock docker环境下使用apahce的ab工具测

      本文链接:https://www.haomeiwen.com/subject/lkyjwftx.html