惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Securelist
D
Docker
The Register - Security
The Register - Security
GbyAI
GbyAI
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
罗磊的独立博客
博客园 - 【当耐特】
F
Full Disclosure
WordPress大学
WordPress大学
腾讯CDC
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
I
InfoQ
MyScale Blog
MyScale Blog
量子位
Cyberwarzone
Cyberwarzone
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园_首页
H
Help Net Security
K
Kaspersky official blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
The Cloudflare Blog
P
Proofpoint News Feed
V
Visual Studio Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
爱范儿
爱范儿
P
Privacy International News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
B
Blog RSS Feed

Rat's Blog - h5ai

使用Docker安装Aria2+AriaNg+Filebrowser+Plex,离线BT下载/建立私人影院 - Rat's Blog qBittorrent+Deluge+rTorrent+Transmission+H5ai多功能一键脚本 - Rat's Blog 使用Docker快速安装H5ai网盘、内置HTML5视频播放器DPlayer - Rat's Blog H5ai修改版,带HTML5视频播放器DPlayer,并支持hls切片播放 - Rat's Blog H5ai一键安装脚本(基于Nginx+PHP 7),自动配置SSL证书 - Rat's Blog H5ai一键安装脚本 for Debian - Rat's Blog 使用Docker快速安装Aria2+AriaNg+h5ai,可离线BT下载和在线播放 - Rat's Blog 给h5ai开启二维码、搜索、选择功能 - Rat's Blog 安装h5ai后,文件读取不出来的解决方法 - Rat's Blog
利用Aria2+AriaNg+H5ai+Google Drive建立离线BT下载/在线播放/无限空间网盘 - Rat's Blog
博主: Rat's · 2018-02-10 · via Rat's Blog - h5ai

说明:现在很多人撸了无限空间的Google Drive后,都不知道咋玩,这里可以利用小硬盘VPS挂载Google Drive后进行一系列老司机操作,这里说下方法,过程不需要使用面板、LNMP等一键包,博主认为有点花时间,所以这里都使用一键脚本来完成,基本10分钟就搭建好了,且自带免费的SSL证书,可长期使用。

截图

请输入图片描述
请输入图片描述
请输入图片描述

教程

由于本教程所使用的H5ai一键包只适用Debian 8+,且必须纯净的系统,不含有WEB环境。

1、安装H5ai
H5ai一键安装包自带SSL证书,需要提前解析域名到服务器。使用命令:

#下载脚本
apt-get install git -y
git clone https://github.com/wulabing/h5ai_onekey_install-lnp-.git h5ai
cd h5ai

#Debian 8运行命令
bash h5ai.sh

#Debian 9运行命令
sed -i '53,54d' h5ai.sh && bash h5ai.sh

#脚本备份
https://www.moerats.com/usr/shell/h5ai_ssl.sh

运行后,选择3即可。完成后进入https://domain.com就可以打开了H5ai界面了,且目录在/home/wwwroot/domain.com

2、安装Aria2
这里用的逗比的脚本,使用命令:

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh
#备用地址
wget -N --no-check-certificate https://www.moerats.com/usr/shell/Aria2/aria2.sh && chmod +x aria2.sh && bash aria2.sh

默认密匙为doub.io,下载目录为/usr/local/caddy/www/aria2/Download

3、安装AriaNg
博主认为AriaNg 0.2版本好用些,所以默认用这个,使用命令:

apt-get install unzip -y
mkdir /home/wwwroot/domain.com/ariaNg  #将domain改成你的域名再运行
cd /home/wwwroot/domain.com/ariaNg
wget https://www.moerats.com/usr/down/aria-ng-0.2.0.zip && unzip aria-ng-0.2.0.zip

此时进入https://domain.com/ariaNg就可以打开ariaNg界面了,记住该文件夹不能删,误删的重新此操作。

4、挂载Google Drive
教程参考:在Debian/Ubuntu上使用rclone挂载Google Drive网盘,注意挂载为磁盘的目录需要在H5ai目录里,且为子目录,比如/home/wwwroot/domain.com/GoogleDrive

5、配置上传Google Drive
直接通过Aria2下载文件到Google Drive挂载盘可能会有问题,所以需要简单操作下。
使用命令:

wget https://www.moerats.com/usr/shell/GDupload.sh

再编辑GDupload.sh文件

nano GDupload.sh

修改以下参数:

downloadpath='/usr/local/caddy/www/aria2/Download' #Aria2下载目录,这里默认逗比脚本目录,不变即可。
rclone='/home/wwwroot/xx.com/GoogleDrive'   #rclone挂载的目录

再授权chmod +x GDupload.sh,然后再到Aria2配置文件中加上一行on-download-complete=/root/GDupload.sh即可,后面为脚本的路径。

最后就可以愉快的去下电影和音乐了。

如果想一次性完成的,参考:Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本 for Debian


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/509/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。