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

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

Rat's Blog - Filerun

一款强大的多功能网盘和文件管理器:FileRun安装教程 - Rat's Blog File Run:多功能的VPS文件管理器 - Rat's Blog 使用Docker快速安装Aria2+AriaNg+Filerun/Nextcloud,在线下载BT磁链/在线观看/全功能文件管理/云盘应用 - Rat's Blog
使用Docker快速安装FileRun多功能网盘 - Rat's Blog
博主: Rat's · 2017-12-22 · via Rat's Blog - Filerun
  •  发布时间:
  •  28288 次浏览
  •   15 条评论
  •  1507 字数
  • 分类: 主机教程
  1.  首页
  2. 正文  
  3. 分享到:

说明:关于FileRun的安装方法已经说了2种了,分别用宝塔面板和手动编译的方式进行安装,参考:一款强大的多功能网盘和文件管理器:FileRun安装教程,如果只是临时用用的话,感觉就没必要花很长时间来安装了,这时候就可以使用Docker安装,不仅快,还省心,基本几分钟就可以安装完成,这里说下教程。

安装

1、安装Docker和Docker Compose

#安装Docker
curl -sSL https://get.docker.com/ | sh
#安装Docker Compose
curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

2、安装FileRun镜像

docker pull afian/filerun

3、配置yml文件
建立docker-compose.yml文件,并使用默认的配置即可。

#以下是一整个命令,一起复制运行即可。
echo "version: '2'

services:
  db:
    image: mariadb:10.1
    environment:
      MYSQL_ROOT_PASSWORD: filerun
      MYSQL_USER: filerun
      MYSQL_PASSWORD: filerun
      MYSQL_DATABASE: filerun
    volumes:
      - /filerun/db:/var/lib/mysql

  web:
    depends_on:
      - db
    links:
      - db
    image: afian/filerun
    ports:
      - "80:80"
    volumes:
      - /filerun/html:/var/www/html
      - /filerun/user-files:/user-files" > /root/docker-compose.yml

4、启动FileRun

docker-compose up -d

这时候就可以通过http://IP访问了,用户名和密码都是superuser,第一次登录后会要你修改账号,密码等信息。
请输入图片描述
请输入图片描述


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

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

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

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