宝剑锋从磨砺出,梅花香自苦寒来。这篇文章主要讲述Docker 安装最新版禅道16.5版本相关的知识,希望能为你提供帮助。
前言禅道是第一款国产的开源项目管理软件。
核心管理思想基于敏捷方法scrum,内置了产品管理和项目管理,同时又根据国内研发现状补充了测试管理、计划管理、发布管理、文档管理、事务管理等功能,在整个软件研发过程中,将需求、任务、Bug、用例、计划、发布等要素有序的跟踪管理起来,完整地覆盖了项目管理的核心流程。
系统平台Ubuntu 18.04.5 LTS
Docker version 20.10.14
查看镜像版本选择最新的
zentao:16.5 版本
#
root@scm:/home/scm#
root@scm:/home/scm# docker pull easysoft/zentao:16.5
16.5: Pulling from easysoft/zentao
284055322776: Pull complete
a0c0c66c5405: Pull complete
0ed9f43c329a: Pull complete
a9d80da3d5c7: Pull complete
da56439af8b5: Pull complete
8bfbe62dd6d0: Pull complete
484698922f05: Pull complete
a634885ab7a5: Pull complete
cbd9db393bbd: Pull complete
3b0f445dc1e2: Pull complete
63ec8514824b: Pull complete
3314e7525fe2: Pull complete
e4f1ec8b4581: Pull complete
ec3989344d39: Pull complete
5ce1edaacda6: Pull complete
c39273683586: Pull complete
7cf945a9c6f8: Pull complete
4e11182155eb: Pull complete
8582c313b6ad: Pull complete
Digest: sha256:8b15f8b4138dee3666be8fb3891681d95fa6c7a585ae087b92836eae7bb17b08
Status: Downloaded newer image for easysoft/zentao:16.5
docker.io/easysoft/zentao:16.5
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm#
运行容器
#
root@scm:/home/scm#
root@scm:/home/scm# docker run --name myzentao -p 8090:80 -v /home/scm/zentao/chandao:/www/zentaopms -v /home/scm/zentao/chandao/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=abcd1234 -d 38b5e1a66ae8
e41e9d381b0968b41bcfb4669f3184b434227b05f172dbdbc942366b6bfa78e7
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm# docker ps -a
CONTAINER IDIMAGECOMMANDCREATEDSTATUSPORTSNAMES
e41e9d381b0938b5e1a66ae8"/.docker_init.sh"19 seconds agoUp 18 seconds0.0.0.0:8090->
80/tcp, :::8090->
80/tcpmyzentao
468a41b62b22mytomcat:tomcat8"/root/run.sh"10 months agoExited (137) 10 months agomytomcat_1
root@scm:/home/scm#
root@scm:/home/scm#
root@scm:/home/scm# docker container ls -a
CONTAINER IDIMAGECOMMANDCREATEDSTATUSPORTSNAMES
e41e9d381b0938b5e1a66ae8"/.docker_init.sh"29 seconds agoUp 28 seconds0.0.0.0:8090->
80/tcp, :::8090->
80/tcpmyzentao
468a41b62b22mytomcat:tomcat8"/root/run.sh"10 months agoExited (137) 10 months agomytomcat_1
root@scm:/home/scm#
root@scm:/home/scm#
访问系统
【Docker 安装最新版禅道16.5版本】
可以看到,使用的数据库是
MariaDB Server version: 10.1.48-MariaDB-0ubuntu0.18.04.1 ,使用上跟 MySQL 一样。
root@scm:/home/scm#
root@scm:/home/scm# docker exec -it e41e9d381b09 /bin/bash
root@e41e9d381b09:/#
root@e41e9d381b09:/# ls -lh
total 76K
root@e41e9d381b09:/#
root@e41e9d381b09:/#
/#
root@e41e9d381b09:/#
root@e41e9d381b09:/# ps -ef|grep mysql
root22110 14:55 ?00:00:00 /bin/bash /usr/bin/mysqld_safe
mysql3682210 14:55 ?00:00:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root3692210 14:55 ?00:00:00 logger -t mysqld -p daemon error
root5034870 15:17 pts/000:00:00 grep --color=auto mysql
root@e41e9d381b09:/#
root@e41e9d381b09:/# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.Commands end with ;
or \\g.
Your MariaDB connection id is 75
Server version: 10.1.48-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.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)]>
show databases;
+--------------------+
| Database|
+--------------------+
| information_schema |
| mysql|
| performance_schema |
| zentao|
+--------------------+
4 rows in set (0.00 sec)
MariaDB [(none)]>
MariaDB [(none)]>
MariaDB [(none)]>
MariaDB [(none)]>
use zentao;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [zentao]>
show tables;
+---------------------------+
| Tables_in_zentao|
+---------------------------+
| view_datasource_10|
| view_datasource_11|
| view_datasource_12|
| view_datasource_4|
| view_datasource_41|
| view_datasource_46|
| view_datasource_5|
| view_datasource_6|
| zt_account|
| zt_acl|
| zt_action|
| zt_activity|
| zt_api|
| zt_api_lib_release|
| zt_apispec|
| zt_apistruct|
| zt_apistruct_spec|
| zt_asset|
| zt_assetlib|
| zt_attend|
| zt_attendstat|
| zt_auditcl|
| zt_auditplan|
| zt_auditresult|
| zt_baseimage|
| zt_baseimagebrowser|
| zt_basicmeas|
| zt_block|
| zt_branch|
| zt_browser|
| zt_budget|
| zt_bug|
| zt_build|
| zt_burn|
| zt_case|
| zt_casestep|
| zt_cmcl|
| zt_company|
| zt_compile|
| zt_config|
| zt_cron|
| zt_deploy|
| zt_deployproduct|
| zt_deployscope|
| zt_deploystep|
| zt_dept|
| zt_design|
| zt_designspec|
| zt_doc|
| zt_doccontent|
| zt_doclib|
| zt_domain|
| zt_durationestimation|
| zt_effort|
| zt_entry|
| zt_expect|
| zt_extension|
| zt_faq|
| zt_feedback|
| zt_feedbackview|
| zt_file|
| zt_gapanalysis|
| zt_group|
| zt_grouppriv|
| zt_history|
| zt_holiday|
| zt_host|
| zt_im_chat|
| zt_im_chat_message_index|
| zt_im_chatuser|
| zt_im_client|
| zt_im_conference|
| zt_im_conferenceaction|
| zt_im_message|
| zt_im_message_backup|
| zt_im_message_index|
| zt_im_messagestatus|
| zt_im_queue|
| zt_im_userdevice|
| zt_intervention|
| zt_issue|
| zt_job|
| zt_kanban|
| zt_kanbancard|
| zt_kanbancell|
| zt_kanbancolumn|
| zt_kanbangroup|
| zt_kanbanlane|
| zt_kanbanregion|
| zt_kanbanspace|
| zt_lang|
| zt_leave|
| zt_lieu|
| zt_log|
| zt_measqueue|
| zt_measrecords|
| zt_meastemplate|
| zt_meeting|
| zt_meetingroom|
| zt_module|
| zt_mr|
| zt_mrapproval|
| zt_nc|
| zt_notify|
| zt_oauth|
| zt_object|
| zt_opportunity|
| zt_overtime|
| zt_pipeline|
| zt_planstory|
| zt_process|
| zt_product|
| zt_productplan|
| zt_programactivity|
| zt_programoutput|
| zt_programprocess|
| zt_programreport|
| zt_project|
| zt_projectcase|
| zt_projectproduct|
| zt_projectspec|
| zt_projectstory|
| zt_relation|
| zt_relationoftasks|
| zt_release|
| zt_repo|
| zt_repobranch|
| zt_repofiles|
| zt_repohistory|
| zt_report|
| zt_researchplan|
| zt_researchreport|
| zt_review|
| zt_reviewcl|
| zt_reviewissue|
| zt_reviewlist|
| zt_reviewresult|
| zt_risk|
| zt_score|
| zt_searchdict|
| zt_searchindex|
| zt_serverroom|
| zt_service|
| zt_solutions|
| zt_sqlview|
| zt_stage|
| zt_stakeholder|
| zt_story|
| zt_storyestimate|
| zt_storyreview|
| zt_storyspec|
| zt_storystage|
| zt_suitecase|
| zt_task|
| zt_taskestimate|
| zt_taskspec|
| zt_team|
| zt_testreport|
| zt_testresult|
| zt_testrun|
| zt_testsuite|
| zt_testtask|
| zt_todo|
| zt_traincategory|
| zt_traincontents|
| zt_traincourse|
| zt_trainplan|
| zt_trainrecords|
| zt_trip|
| zt_user|
| zt_usercontact|
| zt_usergroup|
| zt_userquery|
| zt_usertpl|
| zt_userview|
| zt_vm|
| zt_vmtemplate|
| zt_webhook|
| zt_weeklyreport|
| zt_workestimation|
| zt_workflow|
| zt_workflowaction|
| zt_workflowdatasource|
| zt_workflowfield|
| zt_workflowlabel|
| zt_workflowlayout|
| zt_workflowlinkdata|
| zt_workflowrelation|
| zt_workflowrelationlayout |
| zt_workflowreport|
| zt_workflowrule|
| zt_workflowsql|
| zt_workflowversion|
| zt_zoutput|
| ztv_dayactions|
| ztv_daybugopen|
| ztv_daybugresolve|
| ztv_dayeffort|
| ztv_daystoryclose|
| ztv_daystoryopen|
| ztv_daytaskfinish|
| ztv_daytaskopen|
| ztv_dayuserlogin|
| ztv_executionsummary|
| ztv_productbugs|
| ztv_productstories|
| ztv_projectbugs|
| ztv_projectstories|
| ztv_projectsummary|
| ztv_projectteams|
+---------------------------+
210 rows in set (0.01 sec)
MariaDB [zentao]>
MariaDB [zentao]>
初始化设置完成,数据库里共有 210 张表。
到此,最新版本的禅道就安装完成了,希望对各位同学有所帮助。
推荐阅读
- 最强新手项目,巩固基础知识函数和循环
- 解释器设置
- OpenHarmony——JS API 之下载
- 场景化组件开源,融云持续回馈开源生态
- Linux中正确设置VSFTP及权限管理项目
- [ 数据结构 -- 手撕排序算法第七篇 ] 堆排序(下)用堆排序来解决Top-K问题
- 阿里云|通过 Ingress 进行灰度发布
- 我要带徒弟学JAVA架构 ( 写架构,非用架构 )
- 使用Docker+Jenkins+Gitlab+MySQL+Nginx自建一套devops系统