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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

Rat's Blog - Caddy

使用Caddy申请免费的Let’s Encrypt泛域名SSL证书 - Rat's Blog Caddy环境下一些Web应用程序的配置参考 - Rat's Blog Caddy环境下WordPress博客伪静态设置 - Rat's Blog 小内存VPS安装Caddy+PHP 7+Sqlite 3环境,并快速搭建Typecho博客 - Rat's Blog Aria2+Caddy+Rclone+GDlist+Aria2Ng+Google Drive一键安装脚本 - Rat's Blog Linux VPS使用Python/Caddy快速搭建文件分享平台 - Rat's Blog Ghost博客一键安装脚本,使用Caddy作为反向代理,并自动签发SSL证书 - Rat's Blog 利用Caddy快速简单的部署反向代理/镜像,自动签发SSL证书 - Rat's Blog Caddy Web Server一键管理(开始/停止/安装/更新/卸载)脚本 - Rat's Blog
利用Caddy快速搭建Aria2控制前端webui-aria2或者AriaNg - Rat's Blog
博主: Rat's · 2017-11-17 · via Rat's Blog - Caddy
  •  发布时间:
  •  34526 次浏览
  •   21 条评论
  •  1211 字数
  • 分类: 主机教程
  1.  首页
  2. 正文  
  3. 分享到:

说明:我们很多喜欢使用Aria2来进行离线下载,而Web前端是必不可少的,之前差不多都是用的lnmp一键包来搭建前端,耗时挺长的,而了解Caddy后,发现利用Caddy来搭建Web前端是炒鸡快的,本人2分钟可以搞定。对于那些暂时找不到别人搭建好的前端而又急用的人来说,这个就可以派上用场了。这里说下webui-aria2AriaNg两个前端搭建方法,具体安装哪个看个人喜好了。

Aria2服务端安装请参考:BT种子/磁力链接下载工具:Aria2一键安装管理脚本

安装

首先得解析一个二级域名到VPS上。

系统要求:Ubuntu 14.x15.x16.xDebian 7.x8.x9.xCentOS 6.87.2
1、安装Caddy

wget https://git.io/vra5C -O - -o /dev/null|bash
caddy install

会要求你输入域名和邮箱,自动帮你签发ssl。然后使用caddy start命令运行caddy

2、搭建AriaNg
AriaNg下载地址:https://github.com/mayswind/AriaNg/releases
使用命令:

yum install unzip  #CentOS系统
apt-get install unzip  #Debian和Ubuntu系统
cd /var/caddywww && rm -rf index.html
wget https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
unzip aria-ng-0.3.0.zip

3、搭建webui-aria2
webui-aria2下载地址:https://github.com/ziahamza/webui-aria2
使用命令:

yum install git  #CentOS系统
apt-get install git  #Debian和Ubuntu系统
cd /var/caddywww && rm -rf index.html
git clone https://github.com/ziahamza/webui-aria2.git
mv webui-aria2/* /var/caddywww

最后打开域名即可!


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

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

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

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。