ARM架构服务器安装 qBittorrent-nox

Setang 44 阅读 信息分享

本教程专为 ARM64 / aarch64 架构 设计,基于 Ubuntu/Debian 系统,操作简单,适合小白一步一步跟着做。

一、准备工作

确保你已经用 SSH 工具登录服务器,并拥有 root 权限。

先更新系统(推荐):

apt update && apt upgrade -y

二、安装必要工具

apt install curl wget -y

三、开启 BBR 加速(让下载更快,推荐执行)

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

执行后输入 4 并按回车,看到 “BBR 启动成功” 即可。

四、下载 qBittorrent-nox(ARM64 版本)

wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.8_v1.2.14/aarch64-qbittorrent-nox && chmod +x aarch64-qbittorrent-nox

五、创建 systemd 服务文件(开机自动运行)

使用 nano 创建服务文件:

nano /etc/systemd/system/qbittorrent-nox.service

在打开的编辑界面中,完整粘贴以下内容(把 自选端口号 改成你想用的端口,例如 8081、9000 等,避免端口冲突):

[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=forking
RemainAfterExit=yes
ExecStart=/root/aarch64-qbittorrent-nox -d --webui-port=自选端口号
[Install]
WantedBy=multi-user.target

编辑完成后:

  • Ctrl + O 保存

  • Enter 确认文件名

  • Ctrl + X 退出 nano

六、启动并设置开机自启

开启开机自启并启动qbittorrent

systemctl enable qbittorrent-nox&&systemctl start qbittorrent-nox

查看服务是否正常运行(看到 active (running) 就成功了):

systemctl status qbittorrent-nox

七、访问 Web 界面并登录

在你的电脑浏览器中输入:

http://你的服务器IP:你设置的端口

例如http://123.45.67.89:8080

登录信息

  • 用户名:admin

  • 密码:adminadmin

如果提示密码错误,尝试查看日志获取临时密码:

journalctl -u qbittorrent-nox -e

查找类似 “temporary password is: xxxxxxxx” 的内容。

登录成功后,建议立刻在设置里修改成自己的强密码。

完成!

现在你就可以通过网页管理下载了。

常用命令(以后会用到):

  • 重启 qbsystemctl restart qbittorrent-nox

  • 查看日志journalctl -u qbittorrent-nox -e

  • 停止 qbsystemctl stop qbittorrent-nox

教程到此结束,超级适合小白。