apt update
apt install nodejs
pkg install npm
pkg install git
mcsm
cd ~
mkdir mcsm
cd ~/mcsm
git clone https://github.com/MCSManager/MCSManager-Web-Production.git
mv MCSManager-Web-Production web
cd web
npm install --production --registry=https://registry.npmmirror.com/
cd ~/mcsm
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git
mv MCSManager-Daemon-Production daemon
cd daemon
npm install --production --registry=https://registry.npmmirror.com/
node app.js
cd ~/mcsm/web
node app.js
至此,面板已经安装完成了,启动浏览器访问http://安卓设备的ip地址:23333/即可进入面板
默认情况下,面板端会自动扫描 daemon 文件夹并且自动连接到守护进程。
经测试,MCSManager在小米平板1、红米Note5A,酷珀K11这三台设备上运行良好
2022-8-6