首先确定服务器上已部署adb环境,部署adb请参考
安装、升级所需的程序库
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash - yum -y install nodejs gcc gcc+ gcc-c++ git npm install -g node-gyp
安装、运行WS-Scrcpy
git clone https://github.com/NetrisTV/ws-scrcpy.git cd ws-scrcpy npm install npm start
更多请参考 https://githubhelp.com/NetrisTV/ws-scrcpy