配置alice
配置alice
https://github.com/alist-org/alist/release
# 下载alist压缩包
alist-windows-amd64.zip
下载自己对应的版本
windows64 版本
# 下载aria2c
https://github.com/aria2/aria2/releases
右键点击“此电脑”,选择“属性”。
点击“高级系统设置”,然后点击“环境变量”。
在“系统变量”中找到“Path”,点击“编辑”。
点击“新建”,添加aria2的安装路径,例如C:\Program Files\aria2。
点击“确定”保存设置。
打开命令提示符(cmd)或PowerShell,输入aria2c --version以检查aria2是否正确安装
C:\Users\Administrator>aria2c --version
aria2 version 1.37.0
Copyright (C) 2006, 2019 Tatsuhiro Tsujikawa
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
** Configuration **
Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.3 expat/2.5.0 sqlite3/3.43.1 GMP/6.3.0 c-ares/1.19.1 libssh2/1.11.0
Compiler: mingw-w64 8.0.0 (alpha) / gcc 10-win32 20220113
built by x86_64-pc-linux-gnu
targeting x86_64-w64-mingw32
on Nov 15 2023 11:17:49
System: Windows 6.2 (x86_64) (6.2)
Report bugs to https://github.com/aria2/aria2/issues
Visit https://aria2.github.io/
C:\Users\Administrator>
# 下载qbittorrent
https://www.qbittorrent.org/download
- 打开下载的安装文件,通常是 .exe 格式。
- 按照安装向导的指示进行安装。这通常包括接受许可协议、选择安装位置等步骤。
- 完成安装后,启动 qBittorrent。
配置qb
# 挂起aria2
win+r 开终端 输入
aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --rpc-listen-port=6800
# 打开qb 直接开启exe就行
F:\aaaalist>alist server
INFO[2024-09-20 14:48:55] reading config file: data\config.json
INFO[2024-09-20 14:48:55] load config from env with prefix: ALIST_
INFO[2024-09-20 14:48:55] init logrus...
WARN[2024-09-20 14:49:44] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": net/http: timeout awaiting response headers
INFO[2024-09-20 14:49:44] init tool SimpleHttp success: ok
INFO[2024-09-20 14:49:44] init tool pikpak success: ok
WARN[2024-09-20 14:49:44] init tool qBittorrent failed: failed to login into qBittorrent webui with url: http://admin:adminadmin@localhost:8080/
INFO[2024-09-20 14:49:44] init tool 115 Cloud success: ok
INFO[2024-09-20 14:49:44] start HTTP server @ 0.0.0.0:5244
# 再开一个窗口 修改密码 (在窗口再次输入cmd)
F:\aaaalist>alist admin set xxx
INFO[2024-09-20 14:52:31] reading config file: data\config.json
INFO[2024-09-20 14:52:31] load config from env with prefix: ALIST_
INFO[2024-09-20 14:52:31] init logrus...
INFO[2024-09-20 14:52:31] admin user has been updated:
INFO[2024-09-20 14:52:31] username: admin
INFO[2024-09-20 14:52:31] password: xxx
这个时候 我们可以访问 http://127.0.0.1:5244 链接
要挂载的目录的id
在点击主页回去看 就会发现有了