赞
踩
1、有阿里云,创建一个ECS实例
2、设置阿里云docker源加速器
拉取对应的镜像:
docker pull webpagetest/server
docker pull webpagetest/agent
1、【运行server实例:】
docker run -d -p 4000:80 webpagetest/server
2、【运行agent实例:】
docker run -d -p 4001:80 \
--network="bridge" \
-e "SERVER_URL=http://localhost:4000/work/" \
-e "LOCATION=Test" \
webpagetest/agent
3、安全组规则中添加4000端口,才能访问
4、访问WebPageTest主页
http://yourhost:4000/
下一篇文章将介绍如何使用webpagetest测试一个页面的性能并拿到数据。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。