This commit is contained in:
mofeng 2023-11-25 20:16:09 +08:00
parent 734cdf3cf3
commit 32b2fa98d6
3 changed files with 11 additions and 3 deletions

View File

@ -11,3 +11,12 @@ One-KVM是基于玩客云硬件和PiKVM软件的远控设备。通过移植PiKVM
![image](https://github.com/mofeng-git/One-KVM/assets/62919083/1e9305ee-fd9e-4e4c-ba25-141a924fef29)
### 安装教程
该脚本在玩客云新旧版Armbian 22.11.0-trunk Jammy Linux onecloud 5.10.149-meson系统上运行请确保你的设备已安装好Armbian系统。
#### 快速开始
```bash
git clone https://github.com/mofeng-git/One-KVM.git
cd One-KVM && chmod +x install.sh && ./install.sh
```
详细教程请参照飞书文档:[One-KVM使用手册](ttps://p1b237lu9xm.feishu.cn/drive/folder/IsOifWmMKlzYpRdWfcocI7jdnQA?from=from_copylink)

View File

@ -17,8 +17,7 @@ echo "正在安装PiKVM......"
dgkg -i ./fruity-pikvm_0.2_armhf.deb && echo "PiKVM安装成功" && systemctl enable kvmd-vnc
mv ./patch/chinese.patch /usr/share/kvmd/web/ && cd /usr/share/kvmd/web/ && patch -p0 < chinese.patch
mv ./patch/3.198msd.patch /usr/local/lib/python3.10/kvmd-packages/ && cd /usr/local/lib/python3.10/kvmd-packages/ && patch -s -p0 < 3.198msd.patch
echo "补丁应用成功!"
mv ./patch/3.198msd.patch /usr/local/lib/python3.10/kvmd-packages/ && cd /usr/local/lib/python3.10/kvmd-packages/ && patch -s -p0 < 3.198msd.patch && echo "补丁应用成功!"
cd $CURRENTWD && mv ./patch/long_press_gpio420 /usr/bin && mv ./patch/short_press_gpio420 /usr/bin && echo "GPIO-420脚本移动成功"
mv ./config/main.yaml /etc/kvmd/ && mv ./config/override.yaml /etc/kvmd/ && echo "配置文件修改成功!"

View File

@ -427,7 +427,7 @@ diff -ur /usr/share/kvmd/web/kvm/index.html ./kvm/index.html
</tr>
<tr>
- <td><sup style="line-height:1">Perhaps uploading was interrupted<br></sup></td>
+ <td><sup style="line-height:1">可能上传被中断了<br></sup></td>
+ <td><sup style="line-height:1">可能上传被中断了<br></sup></td>
</tr>
</table>
</div>