简介
OpenSTF 是一个手机设备管理平台
可以对手机进行远程管理、调试、远程手机桌面监控等操作
安装
参考文章:
https://www.jianshu.com/p/8f8...
建议使用 docker 安装
拉取镜像
docker pull openstf/stf:latest
docker pull sorccu/adb:latest # 不建议
docker pull rethinkdb:latest
启动 rethinkdb
docker run -d --name rethinkdb -v /srv/rethinkdb:/data --net host rethinkdb rethinkdb --bind all --cache-size 8192 --http-port 8090
启动 stf
docker run -d --name stf --net host openstf/stf stf local --allow-remote
关于 adb
不建议使用 docker 安装,直接将本地的 adb 工具配置到环境变量使用即可
CentOS 安装 adb:
https://www.jianshu.com/p/e0d...
注意:先启动 rethinkdb,后启动 stf
远程连接
保证手机与电脑处于同一个网段,先用数据线连接电脑
- 开启远程调试端口
adb -s 设备名(通过 adb devices 获取) tcpip 5555(端口号)
- 连接远程设备
adb connect ip:prot
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。