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

推荐订阅源

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 - Filerun

使用Docker快速安装FileRun多功能网盘 - Rat's Blog 一款强大的多功能网盘和文件管理器:FileRun安装教程 - Rat's Blog File Run:多功能的VPS文件管理器 - Rat's Blog
使用Docker快速安装Aria2+AriaNg+Filerun/Nextcloud,在线下载BT磁链/在线观看/全功能文件管理/云盘应用 - Rat's Blog
博主: Rat's · 2017-08-25 · via Rat's Blog - Filerun

缘由

首先得感谢,@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,可以在文章下面评论留言。