curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install 下载 Alist latest ... ######################################################################## 100.0% 下载成功 Alist 安装成功! 访问地址:http://YOUR_IP:5244/ 配置文件路径:/opt/alist/data/config.json ---------管理员信息-------- INFO[2023-05-02 22:23:49] reading config file: data/config.json INFO[2023-05-02 22:23:49] config file not exists, creating default config file INFO[2023-05-02 22:23:49] load config from env with prefix: ALIST_ INFO[2023-05-02 22:23:49] init logrus... INFO[2023-05-02 22:23:49] Successfully created the admin user and the initial password is: TUc8CwSl INFO[2023-05-02 22:23:49] admin user's info: username: admin password: TUc8CwSl -------------------------- 启动服务中 查看状态:systemctl status alist 启动服务:systemctl start alist 重启服务:systemctl restart alist 停止服务:systemctl stop alist 温馨提示:如果端口无法正常访问,请检查 服务器安全组、本机防火墙、Alist状态
默认行为, 一开始我也以为是啥错误情况; 其实你管理员登陆 AList 后台, 设置好默认存储就行了.
点底部“管理”,在“存储“里随便添加一个网盘,出来就好了
mkdir /data1
挂载百度网盘
网页登录百度网盘
通过一下链接获取令牌
https://openapi.baidu.com/oauth/2.0/authorize?response_type=code&client_id=iYCeC9g08h5vuP9UqvPHKKSVrKFXGa1v&redirect_uri=https://tool.nn.ci/baidu/callback&scope=basic,netdisk&qrcode=1
刷新令牌
https://openapi.baidu.com/oauth/2.0/authorize?response_type=code&client_id=iYCeC9g08h5vuP9UqvPHKKSVrKFXGa1v&redirect_uri=https://alist.nn.ci/tool/baidu/callback&scope=basic,netdisk&qrcode=1
client_id: iYCeC9g08h5vuP9UqvPHKKSVrKFXGa1v
client_secret: jXiFMOPVPCWlO2M5CwWQzffpNPaGTRBG
redirect_uri: https://alist.nn.ci/tool/baidu/callback
refresh_token: 122.d06f1a337abeda1230c232796f758e49.Y3JOWpnF8WP8hHXjDZLVay1MxxeSgpiFxEPfjwx.VeatuA
参考文档
https://alist-doc.nn.ci/docs/driver/baidu/
参考教程
https://www.bilibili.com/video/BV1UA4y1X7J8/
驱动: 百度网盘 挂载路径: /data1 web代理: 开启 webdav策略 使用代理地址 刷新令牌: xx 根文件路径: / 排序: 名称 排序方式: 升序 下载接口: 非官方 客户端id: 自动获取 客户端秘钥,自动获取
参考文档
https://www.freedidi.com/7539.html
标签:02,22,23,05,alist,https,安装 From: https://www.cnblogs.com/lzjloveit/p/17368523.html