重要
VPS必须支持fuse服务
1、Aria2 一键安装管理脚本:https://doub.io/shell-jc4/
2、挂载GoogleDrive网盘到VPS:https://lala.im/2960.html
3、本地AriaNG下载:http://ariang.mayswind.net/zh_Hans/
4、Aria2链接GoogleDrive:https://www.5yun.org/16356.html
5、AriaNG服务器端:https://doub.io/wlzy-30/
6、AriaNG配置:https://doub.io/wlzy-30/
完成
安装rclone
1 | yum -y install epel-release |
1 | yum -y install wget unzip screen fuse fuse-devel |
1 | wget https://downloads.rclone.org/v1.44/rclone-v1.44-linux-amd64.zip |
1 | unzip rclone-v1.44-linux-amd64.zip |
1 | cd rclone-v1.44-linux-amd64.zip |
1 | ./rclone config |
1 | mkdir -p /lala/gdrive |
1 | screen -S rclone |
1 | ./rclone mount lala: /lala/gdrive --allow-other --allow-non-empty --vfs-cache-mode writes & |
查看挂载结果:df -h
安装Aria2
1 | wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh |
Aria2配置文件路径:/root/.aria2/aria2.conf
Aria2下载后自动上传google drvie
编辑创建启动文件:vi /root/autoupload.sh
1 | #!/bin/bash |
赋予文件执行权限:chmod 777 /root/autoupload.sh
Aria2配置文件中路径:/root/.aria2/aria2.conf
最下面添加:on-download-complete=/root/autoupload.sh
下载或登陆Aria2配置
end