Termux安装qBittorrent

Termux安装qBittorrent

不需要root权限,刚好用旧手机安装qBittorrent下载东西还可以刷PT和BT.配合内网穿透更香…

下载安装Termux,下载地址请看我另外一个文章

Termux换源

下载安装后打开Termux输入以下命令查看cpu框架

cat /proc/cpuinfo

如下图,基本现在手机都是64位,具体根据自己手机去装对应CPU框架的qBittorrent

去github的qBittorrent项目找到和自己手机cpu框架相对于安装,作者提供了x86 , armhf (armv6) , armv7 , aarch64 一键安装命令,其他框架可以去作者编译好的手动安装,这里我们选择aarch64一键安装命令

复制和自己手机CPU框架一致的一键安装命令粘贴到Termux回车执行

如果执行出现

The program wget is not installed. Install it by executing:

说明没有安装wget,复制粘贴下面命令安装wget

pkg install wget

如果安装很慢那就建议换源,换源看我这个文章

Termux换源

wget安装后运行qBittorrent安装命令如果执行命令长时间卡住了说明你的网络墙了github,要么换网络或者加墙外网络或者加速

加速地址:https://proxy.zyun.vip

用法在 https://github.com 前面添加加速地址如

https://proxy.zyun.vip/https://raw.githubusercontent.com/

替换加速后的命令此命令是aarch64版本的

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://proxy.zyun.vip/https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/aarch64-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

下载完后出现 chmod 700 ~/bin/qbittorrent-nox

这里回车就行了,这句命令是修改qBittorrent权限的

启动qBittorrent

./bin/qbittorrent-nox

输入 y 确定启动

如果报错 Bad system call

执行下面命令

pkg install proot

安装中需要输入 y 确认安装请注意…

安装后执行下面命令

termux-chroot

如果手机root只装 tsu 也行,上面两个命令就不用装了,上面两个命令适合没有root手机,root的手机也可以

pkg install tsu

安装完成后执行  tsu  给root就可以启动qBittorrent了…

然后在启动qBittorrent

./bin/qbittorrent-nox

输入 y 确认运行

启动成功图

Termux需要一直在后台运行,打开浏览器输入

http://127.0.0.1:8080

qBittorrent默认

账号:admin

密码:adminadmin

注意每次Termux后台被杀都需要重新启动qBittorrent……

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容