-
1. 关于禅道企业版
- 1.1 关于禅道企业版
- 1.2 企业版功能简介和对比
- 1.3 获取企业版
- 2. 安装企业版
- 3. 升级企业版
-
4. 企业版功能
- 4.1 开源版功能
- 4.2 添加用户和权限维护
- 4.3 甘特图功能简介
- 4.4 工作日志管理功能简介
- 4.5 代码库(SVN GIT)及代码评审
- 4.6 日历功能简介
- 4.7 Excel导入导出功能简介
- 4.8 短信通知功能简介
- 4.9 运维管理
- 4.10 导出为Word功能简介
- 4.11 水晶报表(自定义报表)功能简介
- 4.12 LDAP用户验证功能简介
- 4.13 反馈管理
- 4.14 统计视图功能简介
- 4.15 文档管理
- 4.16 报表导出功能简介
- 4.17. 办公管理
-
4.18. 工作流
- 4.18.1 工作流内置流程
- 4.18.2 工作流功能简介
- 4.18.3 自定义内置工作流
- 4.18.4 新增工作流示例
- 4.18.5 工作流 JS、CSS 使用说明
- 4.19 视频及PPT资料
- 5 历史修改记录
centos 7.x 源码安装禅道企业版
- 2019-05-30 09:09:02
- 马超
- 12030
- 最后编辑:禅道 - 闫敏 于 2020-07-21 09:16:59
- 分享链接
一、运行环境说明
运行环境推荐使用
Apache + PHP(7.0/7.1/7.2版本) + MySQL(5.5/5.6版本)/mariadb组合
,Nginx其次。
禅道需要使用pdo, pdo_mysql, json, filter, openssl, mbstring, zlib, curl, gd, iconv这几个模块,需要确保PHP环境有加载这几个模块。
运行环境推荐使用 Apache + PHP(7.0/7.1/7.2版本) + MySQL(5.5/5.6版本)/mariadb组合 ,Nginx其次。
二、安装httpd
1、 检查下是否安装了httpd.
rpm -qa httpd
如图:执行结果是没有安装过httpd,如果有安装httpd,可以直接进行使用,无需安装。
2、如果没有安装httpd 我们使用命令安装下httpd.
sudo yum install httpd
3、设置httpd开机启动/关闭
systemctl enable httpd.service #开机启动 systemctl disable httpd.service #开机不启动 systemctl status httpd.service #检查httpd状态
4、httpd服务启动/停止/重启命令
systemctl start httpd.service //启动httpd服务 systemctl stop httpd.service //停止httpd服务 systemctl restart httpd.service //重启httpd服务
5、关闭selinux和设置防火墙打开80端口(httpd的端口有修改的话,防火墙可以打开修改后的端口)。
关闭selinux
setenforce 0 //临时关闭selinux,服务器重启后需要重新执行这个命令防火墙打开端口
防火墙打开80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent永久生效,没有此参数重启后失效) 重新载入 firewall-cmd --reload 查看 firewall-cmd --zone=public --query-port=80/tcp 删除 firewall-cmd --zone=public --remove-port=80/tcp --permanent
启动关闭防火墙相关命令(如果已经使用上面命令打开防火墙端口,这一步可以忽略)
systemctl start firewalld.service #启动一个服务 systemctl stop firewalld.service #关闭一个服务 systemctl restart firewalld.service #重启一个服务 systemctl status firewalld.service #显示一个服务的状态 systemctl enable firewalld.service #在开机时启用一个服务 systemctl disable firewalld.service #在开机时禁用一个服务 systemctl is-enabled firewalld.service #查看服务是否开机启动 systemctl list-unit-files|grep enabled #查看已启动的服务列表 systemctl --failed #查看启动失败的服务列表
6、验证httpd是否安装成功,浏览器访问http://ip:端口,结果如下
7、如上图所示,httpd安装成功.
三、安装php7.2
rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
2、在源文件中搜索php7.2
yum search php72w
3、安装php7.2以及扩展
yum install php72w php72w-devel php72w-gd php72w-pdo php72w-mysql php72w-mbstring php72w-bcmath php72w-ldap php72w-gd php72w-json php72w-xml
验证php是否安装成功,执行命令创建index.php文件
vi /var/www/html/index.php
插入以下内容:
<?php phpinfo();
浏览器访问http://ip:端口/index.php,结果如下
4、如图,php7.2安装成功,删除index.php
四、安装mariaDB
Centos 7
之后已经使用
mariaDB
替换
Mysql
Mysql
已经不在包含在
Centos 7
源中,而改用里
MariaDB.
1、使用rpm -qa | grep mariadb搜索 MariaDB 现有的包
rpm -qa | grep mariadb
2、开始安装,创建MariaDB.repo文件
vi /etc/yum.repos.d/MariaDB.repo插入以下内容:
# MariaDB 10.2.4 CentOS repository list - created 2017-05-05 16:13 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.2.4/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
系统及版本选择:
https://downloads.mariadb.org/mariadb/repositories/#mirror=tuna
3、执行安装命令
yum -y install MariaDB-server MariaDB-client
4、设置mariaDB服务开机启动
systemctl enable mariadb #设置开机启动 systemctl disable mariadb #设置开机不启动 systemctl status mariadb #检查mariadb状态
5、启动mariaDB 服务
systemctl start mariadb #启动服务 systemctl restart mariadb #重新启动 systemctl stop mariadb.service #停止MariaDB
6、登录到数据库
用mysql -uroot 命令登录到 MariaDB ,此时 root 账户的密码为空。
7、进行MariaDB的相关简单配置,使用mysql_secure_installation命令进行配置。
首先是设置密码,会提示先输入密码 Enter current password for root (enter for none):<–初次运行直接回车 设置密码 Set root password? [Y/n] <– 是否设置root用户密码,输入y并回车或直接回车 New password: <– 设置root用户的密码 Re-enter new password: <– 再输入一次你设置的密码 其他配置 Remove anonymous users? [Y/n] <– 是否删除匿名用户,回车 Disallow root login remotely? [Y/n] <–是否禁止root远程登录,回车, Remove test database and access to it? [Y/n] <– 是否删除test数据库,回车 Reload privilege tables now? [Y/n] <– 是否重新加载权限表,回车 初始化MariaDB完成,接下来测试登录
五、安装禅道企业版
1、可以参考手册安装下ioncube
解密扩展 :
https://www.zentao.net/book/zentaoprohelp/194.html
2、在禅道官网下载企业版php7.2对应的安装包( 可以联系禅道商务同事要一下安装包)
https://www.zentao.net/download.html 禅道官网下载地址
3、下载安装包后放到服务器/var/www/html目录下,解压安装包的到zentaopms目录。浏览器访问http://ip:端口/zentaopms/www/install.php 进行安装禅道。
4、设置虚拟主机
vi /etc/httpd/conf/httpd.conf检查是否加载conf配置,没有的话,可以手动增加一下
IncludeOptional conf.d/*.conf
另外,把 Require all denied默认拒绝访问设置为允许访问: Require all granted,方便测试。
<Directory /> AllowOverride none # Require all denied Require all granted </Directory>新增虚拟主机配置文件
vi /etc/httpd/conf.d/zentao.conf插入内容:
<VirtualHost *:80> ServerName localhost:80 #换成你具体的域名。 DocumentRoot "/var/www/html/zentaopms/www/" #换成具体的zentaopms下面的www目录。 <Directory /> Options FollowSymLinks AllowOverride All </Directory> </VirtualHost>重启httpd
systemctl restart httpd.service
5、使用http://ip:端口 ,访问禅道.
6、联系禅道商务同事索要授权文件,超级管理员登录禅道后台- 系统 - 授权信息-替换授权(老版本位置是在 后台 -授权信息-替换授权) 上传这个zip文件。