<QNAP 453D QTS-5.x> 日志记录:从 GitHub 下载项目 getmaxun/maxun 抖音这些“回复666 下载资料“都是卖课的 为NAS下载 docker-compose 命令

起因:

抖音推荐这个 Github 项目, 想着在 docker 上部署用一下看看。

项目链接:https://github.com/getmaxun/maxun

视频里说是最好的爬页工具

安装 maxun

1. 这次我想用 Docker Compose 来安装 

git clone https://github.com/getmaxun/maxun
docker-compose up -d --build

2. 安装 git 工具

但用第一条时:

[/share/Multimedia/Github] # git clone https://github.com/getmaxun/maxun
Cloning into 'maxun'...
git: 'remote-https' is not a git command. See 'git --help'.

QNAP 现有的 git 不支持 https:// 参数

安装高版本的 git 工具

  • 先,在 QNAP AppCenter 添加 myQNAP 仓库(respoistory)
  • 再,右上角搜索“qgit” 找到这个工具
  • 最后安装,就有如图的 QGit 

3. 用 git 下载 maxun 

[~] # git clone https://github.com/getmaxun/maxun
Cloning into 'maxun'...
remote: Enumerating objects: 18714, done.
remote: Counting objects: 100% (2029/2029), done.
remote: Compressing objects: 100% (1555/1555), done.
remote: Total 18714 (delta 532), reused 735 (delta 460), pack-reused 16685 (from 1)
Receiving objects: 100% (18714/18714), 2.17 MiB | 4.30 MiB/s, done.
Resolving deltas: 100% (11796/11796), done.

3. 使用 docker-compose.yml 安装 

[~/maxun] # ls
docker-compose.yml    Dockerfile  index.html  maxun-core/  package.json  server/  tsconfig.json  vite.config.js
docker-entrypoint.sh  ENVEXAMPLE  LICENSE     nginx.conf   README.md     src/     typedoc.json   vite-env.d.ts

操作如下:

tip: 下载的文件里有 ENVEXAMPLE,把它改名为 .env 并放到 /tmp

apply 按钮,然后各种报错(已经第5次)... 懒得去处理。开始是 .env 目录什么的,后来估计是 docker 缺少 docker-compose

3. QNAP Container Station 没有 docker-compose 命令:

从网上下载: https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-linux-x86_64

4. 然后 root “/”  space full

[/share/Multimedia/Github/maxun] # docker-compose up -d --build
[+] Running 33/33
 ✔ minio 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                         31.7s 
   ✔ 55360c0b72d6 Pull complete                                                                                                                               8.3s 
   ✔ f2f8f30a646a Pull complete                                                                                                                               8.8s 
   ✔ 3440aa9567dd Pull complete                                                                                                                               9.0s 
   ✔ 4414594dd510 Pull complete                                                                                                                              27.4s 
   ✔ c1cc85e2de65 Pull complete                                                                                                                              28.8s 
   ✔ d57a4fe62ee8 Pull complete                                                                                                                              29.3s 
   ✔ 48e0cffc0f68 Pull complete                                                              
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值