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

推荐订阅源

W
WeLiveSecurity
T
Tenable Blog
Project Zero
Project Zero
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
S
Schneier on Security
Scott Helme
Scott Helme
S
Securelist
Know Your Adversary
Know Your Adversary
Vercel News
Vercel News
IT之家
IT之家
V
V2EX
F
Fortinet All Blogs
Simon Willison's Weblog
Simon Willison's Weblog
K
Kaspersky official blog
博客园_首页
T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
Spread Privacy
Spread Privacy
Microsoft Security Blog
Microsoft Security Blog
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
有赞技术团队
有赞技术团队
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
The Hacker News
The Hacker News
L
LINUX DO - 热门话题
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
CXSECURITY Database RSS Feed - CXSecurity.com
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Threat Research - Cisco Blogs
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
S
SegmentFault 最新的问题
AWS News Blog
AWS News Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost

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,可以在文章下面评论留言。