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

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

Rat's Blog - NextCloud

一个可以自动安装多网站程序的面板 :YunoHost安装教程 - Rat's Blog Cloudbox:一个强大的多功能云媒体服务,可自动获取视频资源并在线播放 - Rat's Blog Sharecmd:一个可以将文件上传至Google Drive/Dropbox并自动生成分享链接的工具 - Rat's Blog Caddy环境下一些Web应用程序的配置参考 - Rat's Blog Ubuntu使用Snap快速安装NextCloud网盘,并配置域名及SSL证书 - Rat's Blog 使用Docker快速安装NextCloud个人私有云盘 - Rat's Blog 使用NextCloud来搭建我们的私有网盘、并结合Redis优化性能 - Rat's Blog
使用Docker快速安装Aria2+AriaNg+Filerun/Nextcloud,在线下载BT磁链/在线观看/全功能文件管理/云盘应用 - Rat's Blog
博主: Rat's · 2017-08-25 · via Rat's Blog - NextCloud

缘由

首先得感谢,@Jaeger几天前发布的帖子:老司机使用docker-pan一键搭建可离线磁力种子的私有云盘,可在线播放预览文件 ->https://www.v2ex.com/t/383801

谢谢!

正是受这个帖子的影响。也是因为使用了那个docker-pan镜像。让我觉得我很需要这个功能,而且这个镜像本身稳定性方面也有一些可以提升的空间。于是才有了这里的东西。

我主要是使用了docker-compose来搭建这样一个应用。为什么?

  • 使用Docker-compose让每个docker镜像只做一件事,则其本身会更加稳定,不易受其他组件的影响,也更方便管理。
  • 另外一个Nextcloudfilerun更好用,更稳定,还有各种移动端,桌面端的client。(在手机上使用也更方便),不需要外置数据库就可以使用(少了一个不稳定因素)。

代码地址:https://github.com/wahyd4/aria2-ariang-x-docker-compose

同时提供了Aria2+AriaNg+filerunAria2+AriaNg+Nextcloud两种方案,供大家选择。

比较Filerun和Nextcloud

请输入图片描述

我的推荐

我更喜欢Nextcloud。毕竟颜值更高,功能强大还有各种客户端,大家从下面的两种方式中选择一种就好。

使用

提示:如果你不是在本地安装,请记得替换localhost为你的ip或者绑定的域名哦!!

1、安装Docker CE(社区版),不要使用Ubuntu等操作系统系统自带的安装包来安装,因为他们的版本都很老了。推荐使用官方提供的方式安装。

2、安装Docker Composehttps://docs.docker.com/compose/install/#install-compose

3、使用Filerun作为在线文件管理器:

git clone https://github.com/wahyd4/aria2-ariang-x-docker-compose.git
cd aria2-ariang-x-docker-compose/filerun
docker-compose up -d

一切搞定,尽情享受吧!
文件管理Filerunhttp://ip:8000
AriaNghttp://ip:8000/aria2/

4、使用nextcloud安装

git clone https://github.com/wahyd4/aria2-ariang-x-docker-compose.git
cd aria2-ariang-x-docker-compose/nextcloud
docker-compose up -d

文件管理Nextcloudhttp://ip:8000
AriaNghttp://ip:8000/aria2/

Nextcloud还需额外的一点手动操作。

Nextcloud配置external-storage

1、打开http://ip:3000使用你喜欢的任意密码进行登录。
2、点击右上角设置->应用。
3、启用External storage support插件, 并输入密码确认。
请输入图片描述
4、点击右上角 设置->管理->外部存储 进行添加外部存储,Aria2下载的文件会存在/user-files/目录下,存储类型选择本地存储,当存储添加成功,且可用时,最左端会显示出绿色。
请输入图片描述
搞定,现在你通过AriaNg下载的文件就可以在Nextcloud里面查看到了。
请输入图片描述

如果你仅仅想使用Aria2+AriaNg

docker run --rm  -p 8000:80  -p 6800:6800 -v ~/data/:/user-files wahyd4/aria2-ariang

8000本地则是你暴露出对外访问的AriaNg图形界面的端口,~/data/是你所有通过Aria2下载的文件目录。

如果你在群晖上使用

先运行wahyd4/aria2-ariang容器,再运行wonderfall/nextcloud容器,并使用volume_from属性即可实现完整功能了。

相关说明

1、又去了解了了下,Nextcloud确实很强大,有很多插件!安装完这些插件Nextcloud就是一个工作平台,一个效率工具啊。 比如:

  • 在线word编辑
  • markdown编辑
  • Calendar客户端
  • 邮件客户端
  • 视频电话
  • 通信录
  • Kanban
    等等......

详见:https://apps.nextcloud.com/categories/files

2、看到很多人使用v2ex的收藏,建议大家也可以在github上面❤︎哦持续关注,多谢。
https://github.com/wahyd4/aria2-ariang-x-docker-compose

3、有什么新需求的,欢迎到Github上给我提issue啊,这样才更加方便跟踪和管理。
https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues

4、刚刚对镜像进行了升级。新版本中只需要使用一个端口8000
aria2地址:http://ip:8000/aria2/
文件管理地址:http://ip:8000

如果你是升级,进入filerun或者nextcloud目录:

docker-compose stop # 将 docker 镜像暂时关掉
git pull origin master # 获取最近代码
docker-compose up -d # 运行最新版本的镜像

更多具体使用还请到github仓库地址。

原文地址:https://www.v2ex.com/t/385118


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

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

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