云原生之使用Docker部署TeaKKi知识文档管理工具

本文涉及的产品
云数据库 Redis 版,社区版 2GB
推荐场景:
搭建游戏排行榜
简介: 云原生之使用Docker部署TeaKKi知识文档管理工具

云原生之使用Docker部署TeaKKi知识文档管理工具

一、TeaKKi介绍

Teakki是一款知识文档管理工具,当前支持企业本地私有化部署,免费试用有效期30天。适用于团队, 企业的知识协作和管理.,为你构建团队的知识库!TeaKKi专注知识知识协作, 让团队知识协作变得简单高效。

二、检查docker环境

1.检查docker版本

[root@docker ~]# docker -v
Docker version 20.10.18, build b40c2f6

2.检查docker状态

[root@docker ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2022-10-23 19:15:37 CST; 2h 39min ago
     Docs: https://docs.docker.com
 Main PID: 9693 (dockerd)
    Tasks: 38
   Memory: 1.8G
   CGroup: /system.slice/docker.service
           ├─ 9693 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
           ├─14136 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 40001 -container-ip 172.22.0.2 -container-port ...
           ├─14141 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 40001 -container-ip 172.22.0.2 -container-port 3000
           ├─29690 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8080 -container-ip 172.17.0.2 -container-port 8...
           └─29696 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8080 -container-ip 172.17.0.2 -container-port 8080

Oct 23 19:16:37 docker dockerd[9693]: time="2022-10-23T19:16:37.358178373+08:00" level=info msg="Download failed, retryi... Error"
Oct 23 19:16:57 docker dockerd[9693]: time="2022-10-23T19:16:57.698447445+08:00" level=info msg="Download failed, retryi... Error"
Oct 23 19:17:08 docker dockerd[9693]: time="2022-10-23T19:17:08.039835261+08:00" level=info msg="Download failed, retryi... Error"
Oct 23 19:17:11 docker dockerd[9693]: time="2022-10-23T19:17:11.715788090+08:00" level=info msg="Attempting next endpoin... Error"
Oct 23 19:30:28 docker dockerd[9693]: time="2022-10-23T19:30:28.349978887+08:00" level=info msg="ignoring event" contain...Delete"
Oct 23 19:31:15 docker dockerd[9693]: time="2022-10-23T19:31:15.187009300+08:00" level=info msg="Attempting next endpoin...nknown"
Oct 23 19:38:05 docker dockerd[9693]: time="2022-10-23T19:38:05.751483104+08:00" level=info msg="ignoring event" contain...Delete"
Oct 23 19:39:16 docker dockerd[9693]: time="2022-10-23T19:39:16.851414570+08:00" level=info msg="Attempting next endpoin...nknown"
Oct 23 19:40:36 docker dockerd[9693]: time="2022-10-23T19:40:36.968363035+08:00" level=info msg="Attempting next endpoin...nknown"
Oct 23 19:40:52 docker dockerd[9693]: time="2022-10-23T19:40:52.772170126+08:00" level=error msg="Not continuing with pu...nceled"
Hint: Some lines were ellipsized, use -l to show in full.

三、下载TeaKKi镜像

[root@docker ~]# docker pull teakki/teakki:2.8
2.8: Pulling from teakki/teakki
ff50d722b382: Pull complete 
2c52cda8237e: Pull complete 
4f900d517033: Pull complete 
ddcfba33c0f7: Pull complete 
71f05fb5f703: Pull complete 
dad60075c00e: Pull complete 
8dc20b2289da: Pull complete 
d7b28451ed17: Pull complete 
bc8f52f6b8f9: Pull complete 
1cc0898ff25b: Pull complete 
2468a88d4f02: Pull complete 
5b7ad36d0371: Pull complete 
b078dc63df78: Pull complete 
Digest: sha256:f2faf3244729215b651b0dc8cac7461c041b8e320c3453b327e04c1dc8e9a038
Status: Downloaded newer image for teakki/teakki:2.8
docker.io/teakki/teakki:2.8

四、创建TeaKKi容器

1.创建数据目录

[root@docker ~]# mkdir /data/teakki
[root@docker ~]# cd /data/teakki/
[root@docker teakki]# 

2.运行TeaKKi容器

[root@docker teakki]# docker run -d --name teakki --restart always  -p 9010:9002 -v /data/teakii/data:/data teakki/teakki:2.8
80af6e5d971d64aae974c663c3ff9340276c06bf5cf8376789eff75b3d0ca413

3.查看TeaKKi容器状态

[root@docker teakki]# docker ps
CONTAINER ID   IMAGE                 COMMAND                  CREATED          STATUS          PORTS                                         NAMES
80af6e5d971d   teakki/teakki:2.8     "/bin/sh -c 'sh /roo…"   13 seconds ago   Up 12 seconds   0.0.0.0:9010->9002/tcp, :::9010->9002/tcp     teakki

4.查看容器日志

[root@docker teakki]# docker logs teakki 
mkdir: cannot create directory `/data': File exists
MONGODB_URL:

start monogdb
about to fork child process, waiting until server is ready for connections.
forked process: 32
child process started successfully, parent exiting
mongodb started
start redis
redis started
start memcached
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 3.0.7 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 49
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

49:M 23 Oct 22:09:53.972 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
49:M 23 Oct 22:09:53.972 # Server started, Redis version 3.0.7
49:M 23 Oct 22:09:53.972 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
49:M 23 Oct 22:09:53.972 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
49:M 23 Oct 22:09:53.972 * The server is now ready to accept connections on port 6379
memcached started
start es

五、TeaKKi初始化安装

1.进入初始化安装界面

在这里插入图片描述

2.设置用户名

在这里插入图片描述
在这里插入图片描述

六、TeaKKi基本操作

1.新建空间

在这里插入图片描述

2.新增文档

在这里插入图片描述

3.进入后台管理

在这里插入图片描述

相关实践学习
基于Redis实现在线游戏积分排行榜
本场景将介绍如何基于Redis数据库实现在线游戏中的游戏玩家积分排行榜功能。
云数据库 Redis 版使用教程
云数据库Redis版是兼容Redis协议标准的、提供持久化的内存数据库服务,基于高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。 产品详情:https://www.aliyun.com/product/kvstore     ------------------------------------------------------------------------- 阿里云数据库体验:数据库上云实战 开发者云会免费提供一台带自建MySQL的源数据库 ECS 实例和一台目标数据库 RDS实例。跟着指引,您可以一步步实现将ECS自建数据库迁移到目标数据库RDS。 点击下方链接,领取免费ECS&RDS资源,30分钟完成数据库上云实战!https://developer.aliyun.com/adc/scenario/51eefbd1894e42f6bb9acacadd3f9121?spm=a2c6h.13788135.J_3257954370.9.4ba85f24utseFl
相关文章
|
1天前
|
敏捷开发 数据可视化 测试技术
【Docker项目实战】使用Docker部署nullboard任务管理工具
【5月更文挑战第14天】使用Docker部署nullboard任务管理工具
13 2
|
1天前
|
运维 Linux Docker
ChatGLM3在Docker环境部署,Linux运维免打包多渠道统计如何实现
ChatGLM3在Docker环境部署,Linux运维免打包多渠道统计如何实现
|
1天前
|
运维 Linux Docker
ChatGLM3在Docker环境部署(1),Linux运维电话面试技巧
ChatGLM3在Docker环境部署(1),Linux运维电话面试技巧
|
1天前
|
监控 Cloud Native 测试技术
构建高效稳定的云原生应用部署策略
【5月更文挑战第17天】 在现代软件工程实践中,云原生应用的持续集成与部署(CI/CD)已成为提升开发效率、确保产品质量的关键因素。本文将探讨构建一个高效且稳定的云原生应用部署策略,涵盖从自动化测试到多阶段部署流程的设计。通过分析容器化技术、微服务架构以及自动化工具的应用,我们旨在为运维工程师提供一套优化部署流程的解决方案,以实现快速迭代和高可用性的平衡。
|
3天前
|
消息中间件 Cloud Native 开发者
电子好书发您分享《阿里云云原生开源开发者沙龙北京站 PPT 合集 》
**阿里云开源沙龙PPT合集:北京站聚焦云原生技术** 探索云原生领域的深度与广度,[阿里云](https://developer.aliyun.com/ebook/8334/116563?spm=a2c6h.26392459.ebook-detail.5.da096cf6t38G15)分享了北京开发者沙龙的精彩内容,涵盖微服务、消息队列等主题,助力开发者洞悉行业趋势。![image](https://ucc.alicdn.com/pic/developer-ecology/cok6a6su42rzm_67b12f6cad6e4b2786859b3a668b3351.png)
47 3
|
3天前
|
人工智能 监控 Cloud Native
iLogtail 2.0 来了;通义灵码下载量破百万丨阿里云云原生 2 月产品月报
iLogtail 2.0 来了;通义灵码下载量破百万丨阿里云云原生 2 月产品月报
|
3天前
阿里云云原生恭祝大家新年快乐!
阿里云云原生恭祝大家新年快乐!
|
3天前
|
人工智能 监控 Cloud Native
阿里云参编业内首个代码大模型标准丨云原生 2024 年 1 月产品技术动态
阿里云参编业内首个代码大模型标准丨云原生 2024 年 1 月产品技术动态
|
3天前
|
Cloud Native Serverless 开发者
阿里云助力开发者创新:探索云原生技术的新境界
阿里云开发者社区推动云原生技术发展,提供丰富产品(如容器服务、Serverless、微服务架构、服务网格)与学习平台,助力企业数字化转型。开发者在此探索实践,共享资源,参与技术活动,共同创新,共创云原生技术新篇章。一起加入,开启精彩旅程!
258 2
|
3天前
|
Cloud Native 关系型数据库 OLAP
云原生数据仓库产品使用合集之阿里云云原生数据仓库AnalyticDB PostgreSQL版的重分布时间主要取决的是什么
阿里云AnalyticDB提供了全面的数据导入、查询分析、数据管理、运维监控等功能,并通过扩展功能支持与AI平台集成、跨地域复制与联邦查询等高级应用场景,为企业构建实时、高效、可扩展的数据仓库解决方案。以下是对AnalyticDB产品使用合集的概述,包括数据导入、查询分析、数据管理、运维监控、扩展功能等方面。

热门文章

最新文章