docker安装禅道
一、下载地址
禅道开源版: http://dl.cnezsoft.com/zentao/docker/docker_zentao.zip
数据库用户名: root,默认密码: 123456。运行时,可以设置 MYSQL_ROOT_PASSWORD变量来更改密码。
可挂载目录
/app/zentaopms:该目录为禅道目录,里面包含禅道代码及附件上传目录。
/var/lib/mysql:该目录为数据库的数据目录。
二、安装使用
[root@topcheer opt]# unzip docker_zentao.zip.zip
Archive: docker_zentao.zip.zip
creating: docker_zentao/
inflating: docker_zentao/docker-entrypoint.sh
inflating: docker_zentao/Dockerfile
creating: docker_zentao/config/
inflating: docker_zentao/config/apache.conf
inflating: docker_zentao/config/ioncube_loader_lin_7.0.so
extracting: docker_zentao/config/00-ioncube.ini
inflating: docker_zentao/README.md
[root@topcheer opt]# ll
总用量 362232
-rw-r--r-- 2 root root 30 11月 19 22:28 1.txt
-rw-r--r-- 1 root root 0 11月 19 22:47 aa
-r-------- 1 root root 5 11月 19 22:48 aaa
drwxrwxr-x 3 root root 83 8月 28 08:27 docker_zentao
-rw-r--r-- 1 root root 506755 11月 25 15:30 docker_zentao.zip.zip
drwxr-xr-x 9 root root 201 10月 23 00:00 gitlab
-rw-r--r-- 1 root root 185646832 10月 24 23:52 jdk-8u181-linux-x64.tar.gz
-rw-r--r-- 1 root root 150843392 9月 21 10:46 nginx.tar
drwxr-xr-x. 2 root root 6 10月 31 2018 rh
drwxr-xr-x 5 root root 55 9月 18 20:10 seata
-rw-r--r-- 1 root root 33917798 11月 15 13:47 seata-server-0.8.1.zip
-rw-r--r-- 1 root root 0 11月 19 22:48 tttt
[root@topcheer opt]# cd docker_zentao/
[root@topcheer docker_zentao]# ll
总用量 12
drwxrwxr-x 2 root root 80 8月 28 08:27 config
-rwxrwxr-x 1 root root 904 8月 28 08:27 docker-entrypoint.sh
-rw-rw-r-- 1 root root 1179 8月 28 08:27 Dockerfile
-rw-rw-r-- 1 root root 528 8月 28 08:27 README.md
[root@topcheer docker_zentao]# vim Dockerfile
[root@topcheer docker_zentao]# docker build -t zentao ./
Sending build context to Docker daemon 1.251 MB
Step 1/20 : FROM ubuntu:16.04
Trying to pull repository docker.io/library/ubuntu ...
16.04: Pulling from docker.io/library/ubuntu
e80174c8b43b: Pull complete
d1072db285cc: Pull complete
858453671e67: Pull complete
3d07b1124f98: Pull complete
Digest: sha256:bb5b48c7750a6a8775c74bcb601f7e5399135d0a06de004d000e05fd25c1a71c
Status: Downloaded newer image for docker.io/ubuntu:16.04
[root@topcheer docker_zentao]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
zentao latest e9fefa984836 35 seconds ago 596 MB
docker.io/mongo latest 965553e202a4 3 weeks ago 363 MB
docker.io/ubuntu 16.04 5f2bf26e3524 3 weeks ago 123 MB
boot latest 1cb7bd139478 4 weeks ago 677 MB
registry.cn-hangzhou.aliyuncs.com/dalianpai/topcheer zipkin 17c2bb09f482 4 weeks ago 154 MB
docker.io/mysql latest c8ee894bd2bd 5 weeks ago 456 MB
elasticsearch latest 874179f19603 8 weeks ago 771 MB
docker.io/nacos/nacos-server latest a4229ac5cc19 2 months ago 710 MB
springbootdemo4docker latest cd13bc7f56a0 2 months ago 678 MB
docker.io/tomcat latest ee48881b3e82 2 months ago 506 MB
docker.io/rabbitmq latest a00bc560660a 2 months ago 147 MB
docker.io/centos latest 67fa590cfc1c 3 months ago 202 MB
docker.io/redis latest f7302e4ab3a8 3 months ago 98.2 MB
docker.io/rabbitmq 3.7.16-management 3f92e6354d11 4 months ago 177 MB
docker.io/elasticsearch 6.8.0 d0b291d7093b 6 months ago 895 MB
docker.io/hello-world latest fce289e99eb9 10 months ago 1.84 kB
docker.io/java 8 d23bdf5b1b1b 2 years ago 643 MB
[root@topcheer docker_zentao]# docker run --name zentao -p 80:80 -v /data/www:/app/zentaopms -v /data/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d zentao:latest
27e1f6987613e53610ec93b3befa9976d06651796f166f23e5ca80f41126a475
[root@topcheer docker_zentao]# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
27e1f6987613 zentao:latest "/app/docker-entry..." 9 seconds ago Up 8 seconds 0.0.0.0:80->80/tcp zentao
[root@topcheer docker_zentao]# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
27e1f6987613 zentao:latest "/app/docker-entry..." 13 seconds ago Up 12 seconds 0.0.0.0:80->80/tcp zentao
3、安装禅道
浏览器访问 http://ip,显示禅道安装页面,安装禅道。


访问禅道的数据库
[root@topcheer docker_zentao]# docker exec -it 27e1f6987613 /bin/bash
root@27e1f6987613:/# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 39
Server version: 10.0.38-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]>
docker安装禅道的更多相关文章
- linux-docker下安装禅道全部
友情提示:按照步骤走,99%的人会安装成功,1%的人可以咨询度娘 64位电脑安装禅道,满足发送邮件功能 第一步: docker ps 查看docker中的容器是否有禅道(docker ps -a ...
- linux下一步一步安装禅道项目管理工具
linux下一步一步安装禅道项目管理工具 因为禅道官网的安装教程实在是太简陋了,所以记录在此. 1.安装apache服务 archlinux下直接 sudo pacman -S apache ubun ...
- 安装禅道项目管理软件ZenTaoPMS
服务器Ubuntu 13.04 且安装了上一篇随笔中的 AMP本文略去安装AMP过程.版本号满足要求(php>5.2 and mysql.2) 1.官网http://www.zentao.net ...
- centos6.5安装禅道
1.安装禅道需要安装以下环境 mysql php 5 apache 2 2.安装命令 1.安装mysql yum install mysql mysql-server 2.安装apache yum i ...
- Linux系统(虚拟机)安装禅道
1.查看linux系统版本 uname -a 2.禅道下载:http://www.zentao.net/download.html,找到要下载的版本,点击进入各平台下载: 3.将下载好的安装包上传到l ...
- centos7安装服务器之安装禅道
Centos7下安装禅道 1. 下载禅道的linux版本 我的centos7的版本为:7.7版本 2. 将下载的包上传到centos7服务器上 3. 将禅道压缩包解压到/opt目录下: 4. 启动禅道 ...
- wdcp升级php5.8到php7.1.12后安装禅道
()下载禅道安装包 http://www.zentao.net/download/zentao10.0.beta-80076.html ()安装禅道 http://www.zentao.net/boo ...
- linux 安装禅道 和 CentOS 7 开放防火墙端口 命令
linux 安装禅道链接: https://www.cnblogs.com/maohuidong/p/9750202.html CentOS 7 开放防火墙端口 命令 链接:https://www. ...
- Cent OS8.0 及以上版本安装禅道教程
Cent OS8系统下安装禅道需要搭建环境如下:httpd ,mariadb , php7.2 再运行禅道 一,环境说明: 运行环境推荐使用 Apache + PHP(7.0/7.1/7.2版本) + ...
随机推荐
- 深入理解java:1.3.1 JVM内存区域的划分(运行时数据区)
学习Java GC机制,可以帮助我们在日常工作中 排查各种内存溢出或泄露问题,解决性能瓶颈,达到更高的并发量,写出更高效的程序. 我们将从4个方面学习Java GC机制, 1,内存是如何分配的: 2, ...
- notepad++通过调用cmd运行java程序
notepad++运行java程序方法主要有下面两个: 通过插件NppExec运行(自行百度“notepad++运行java”) 通过运行 调用cmd编译执行java程序(下面详细讲解) 点击上面工具 ...
- 使用CyclicBarrier+线程池,按总页数分批次开多线程执行逻辑
通过CyclicBarrier+线程池的方式,同步的方式分页分批次并发高效处理逻辑,将总页数分成多个批次并发执行每页逻辑,每个批次处理DO_MAX_SIZE个页,每个批次等待DO_MAX_SIZE个页 ...
- 几个 BeanUtils 中的坑,千万别踩!
背景 最近项目中在和第三方进行联调一个接口,我们这边发送http请求给对方,然后接收对方的回应,代码都是老代码. 根据注释,对方的SDK中写好的Request类有一个无法序列化的bug,所以这边重新写 ...
- RabbitMq学习4-发布/订阅(Publish/Subscribe)
一.发布/订阅 分发一个消息给多个消费者(consumers).这种模式被称为“发布/订阅”. 为了描述这种模式,我们将会构建一个简单的日志系统.它包括两个程序——第一个程序负责发送日志消息,第二个程 ...
- PHP数据结构基本概念
原文:https://www.cnblogs.com/crystaltu/p/6408484.html 学习任何一种技术都应该先清楚它的基本概念,这是学习任何知识的起点!本文是讲述数据结构的基本概念, ...
- Scrapy 教程(三)-网站解析
有经验的人都知道,解析网站需要尝试,看看得到的数据是不是想要的,那么在scrapy中怎么尝试呢? 调试工具-shell 主要用于编写解析器 命令行进入shell scrapy shell url 这个 ...
- Springboot+CAS单点登录
一:安装CAS 下载cas:https://github.com/apereo/cas 1.1 将cas并打成war包.放入一个干净的tomcat中,启动tomcat测试: http://localh ...
- 6.css3定位--position
⑴Static默认值,没有定位. ⑵Absolute绝对定位.后面的元素会补上原来偏移的位置. ⑶Relative相对定位.后面的元素不会补上原来偏移的位置. ⑷Fixed绝对定位.相对于浏览器窗口固 ...
- dsLinq.Count() 引发了“System.NullReferenceException”类型的异常
DataTable dt = PurchaseArriveInfoBus.GetPurchaseArriveInfo(companyCD, txtArriveNo, txtTitle, txtProv ...