Ubuntu系统安装Openstf平台

OpenSTF(Smartphone Test Farm)

是移动设备管理平台,可以从浏览器端远程调试、远程管理设备。

安装:

1.安装ubuntu虚拟机

教程:https://blog.csdn.net/weixin_43521890/article/details/88111911

2.安装docker

更新软件仓库:sudo apt-get update

使用ifconfig
安装命令:sudo apt install net-tools

教程:https://www.cnblogs.com/walker-lin/p/11214127.html

3.使用docker安装stf

教程:https://www.cnblogs.com/yyoba/p/11232406.html

4.docker需要注意的地方

删除已存在的库:
docker container rm 目录
启动:
docker run -d --name rethinkdb -v /srv/rethinkdb:/data --net host rethinkdb rethinkdb --bind all --cache-size 8192 --http-port 8090 # 启动rethinkdb数据库
docker run -d --name adbd --privileged -v /dev/bus/usb:/dev/bus/usb --net host sorccu/adb:latest # 启动adb
docker run -d --name stf --net host openstf/stf stf local --public-ip 192.168.109.129 --allow-remote # 启动stf 启动的时配置的IP地址通过ifconfig命令查询到的结果

成品:

爱折腾的小测试
原文地址:https://www.cnblogs.com/newsss/p/14437842.html