Centos7.3 企业项目禅道的安装

来源:互联网 发布:跟程序员有关的电影 编辑:程序博客网 时间:2024/06/17 03:30

禅道介绍

禅道 项目管理软件 是国产的开源项目管理软件,专注研发项目管理,内置需求管理、任务管理、bug管理、缺陷管理、用例管理、计划发布等功能,实现了软件的完整生命周期管理。

禅道属于开源项目,有收费版,本次以开源版9.1.2进行搭建

提示:安装禅道环境需要LNMP或者LAMP,本地以LNMP进行演示


禅道官网:http://www.zentao.net/

环境准备:在服务器上面搭建lnmp架构,此步骤省略,可以参考网址     http://blog.csdn.net/birdie_l/article/details/77994770

lnmp环境准备好后继续下面的步骤,

下载禅道wget http://dl.cnezsoft.com/zentao/9.1.2/ZenTaoPMS.9.1.2.zip

创建一个存放禅道的数据目录:mkdir /xiangmu/zentao

解压安装包: unzip ZenTaoPMS.9.1.2.zip -d /xiangmu/zentao/

[root@www ~]# ls /xiangmu/zentao/         
zentaopms
[root@www ~]# ls /xiangmu/zentao/zentaopms/                         ——解压完成后可以看见此目录里面多了这些文件
bin  config  db  doc  framework  lib  module  tmp  VERSION  www     
[root@www ~]# chown -R nginx. /xiangmu/zentao/ -R                ——此处记得将该目录及下面子目录改为nginx用户,否则网页安装会失败

配置nginx

[root@www ~]# vim /etc/nginx/conf.d/zentao.conf

server {
        listen       80;
        server_name  ztwww.yanjie.ink;
        index        index.php index.html;
        root         /xiangmu/zentao/zentaopms/www;
        error_page 404 /404.html;
            location = /40x.html {
        }
        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }

        location ~ \.php$ {
            fastcgi_pass    unix:/var/run/fastcgi/fastcgi.socket;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /xiangmu/zentao/zentaopms/www$fastcgi_script_name;
            include        fastcgi_params;
        }
}

[root@www ~]# systemctl restart nginx && systemctl status nginx                 ——启动nginx并查看状态
nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-12-03 15:35:28 CST; 3ms ago
  Process: 31499 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
  Process: 31497 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
  Process: 31495 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
 Main PID: 31502 (nginx)
   Memory: 9.8M
   CGroup: /system.slice/nginx.service
           ├─31502 nginx: master process /usr/sbin/nginx
           └─31503 nginx: master process /usr/sbin/nginx

配置

1.png-76.2kB

http://static.zybuluo.com/abcdocker/dh7z90buih0i8nzdmahtl5oe/2.png



更多精彩请关注  http://blog.csdn.net/birdie_l

原创粉丝点击