首先先获取root权限,可以参考https://271328.com/751/
套件安卓transmission,设置安装位置及账号密码
打开ssh功能
使用root登陆,执行以下命令,下载一键安装脚本:
wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh && bash install-tr-control-cn.sh
输入数字1即可完成安装
欢迎使用 Transmission Web Control 中文安装脚本。 官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki 安装脚本版本:1.2.3 1. 安装最新的发布版本(release); 2. 安装指定版本,可用于降级; 3. 恢复到官方UI; 4. 重新下载安装脚本(install-tr-control-cn.sh); 5. 检测 Transmission 是否已启动; 6. 指定安装目录; 9. 安装最新代码库中的内容(master); =================== 0. 退出安装; 请输入对应的数字:
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file. ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled. --2022-06-14 21:04:44-- https://api.github.com/repos/ronggang/transmission-web- control/releases/latest Resolving api.github.com... 20.205.243.168 Connecting to api.github.com|20.205.243.168|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5886 (5.7K) [application/json] Saving to: 'STDOUT' - 100%[===================>] 5.75K --.-KB/s in 0.04s 2022-06-14 21:04:44 (129 KB/s) - written to stdout [5886/5886] << 2022-06-14 21:04:44 >> == 开始 == << 2022-06-14 21:04:44 >> << 2022-06-14 21:04:44 >> 当前 Transmission Web 目录为: /var/packages/transmiss ion/target/share/transmission/web << 2022-06-14 21:04:44 >> 您正在使用指定版本安装,版本: 1.6.1-update1 << 2022-06-14 21:04:44 >> 正在尝试指定版本 1.6.1-update1 << 2022-06-14 21:04:44 >> 正在下载 Transmission Web Control... Will not apply HSTS. The HSTS database must be a regular and non-world-writable file. ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled. --2022-06-14 21:04:44-- https://github.com/ronggang/transmission-web-control/ar chive/v1.6.1-update1.tar.gz Resolving github.com... 20.205.243.166 Connecting to github.com|20.205.243.166|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ronggang/transmission-web-control/tar.gz/r efs/tags/v1.6.1-update1 [following] --2022-06-14 21:04:45-- https://codeload.github.com/ronggang/transmission-web-c ontrol/tar.gz/refs/tags/v1.6.1-update1 Resolving codeload.github.com... 20.205.243.165 Connecting to codeload.github.com|20.205.243.165|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'v1.6.1-update1.tar.gz' v1.6.1-update1.tar. [ <=> ] 1.15M 3.88MB/s in 0.3s 2022-06-14 21:04:46 (3.88 MB/s) - 'v1.6.1-update1.tar.gz' saved [1206252] << 2022-06-14 21:04:46 >> 下载完成,正在准备安装... << 2022-06-14 21:04:46 >> 正在解压安装包... << 2022-06-14 21:04:46 >> 正在复制安装包... << 2022-06-14 21:04:46 >> 正在设置权限,大约需要一分钟 ... << 2022-06-14 21:04:47 >> Transmission Web Control 安装完成! << 2022-06-14 21:04:47 >> 正在清理安装包... << 2022-06-14 21:04:47 >> 安装脚本执行完成。如遇到问题请查看:https://github.com /ronggang/transmission-web-control/wiki << 2022-06-14 21:04:47 >> == 结束 == 完成重启群晖
本文由 强哥小窝 作者:强哥 发表,转载请注明来源!