zoukankan      html  css  js  c++  java
  • 手把手教你秒装禅道

    1.秒装禅道

    1.1 禅道介绍

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

    禅道需要LNMP环境或者LAMP环境

    1.2 安装LNMP

    • 由于测试环境centos 7.2,说白了图省事。
    [root@moban ~]# yum install epel-release
    [root@moban ~]# yum install -y nginx
    [root@moban ~]# yum install -y php php-devel php-fpm php-mysql php-common php-devel php-gd libjpeg* php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-bcmath php-mhash libmcrypt libmcrypt-devel
    [root@moban ~]# yum install -y mysql
    [root@moban ~]# yum -y install mariadb mariadb-server
    [root@moban ~]# yum install -y vim*
    

    1.3 下载禅道

    [root@moban ~]# wget http://dl.cnezsoft.com/zentao/9.1.2/ZenTaoPMS.9.1.2.zip
    [root@moban ~]# unzip -d /usr/share/nginx/html/ ZenTaoPMS.9.1.2.zip
    
    • 修改nginx配置文件如下
    [root@moban ~]# cat /etc/nginx/nginx.conf
    # For more information on configuration, see:
    #   * Official English Documentation: http://nginx.org/en/docs/
    #   * Official Russian Documentation: http://nginx.org/ru/docs/
    
    user nginx;
    worker_processes auto;
    error_log /var/log/nginx/error.log;
    pid /run/nginx.pid;
    
    include /usr/share/nginx/modules/*.conf;
    
    events {
        worker_connections 1024;
    }
    
    http {
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
    
        sendfile            on;
        tcp_nopush          on;
        tcp_nodelay         on;
        keepalive_timeout   65;
        types_hash_max_size 2048;
    
        include             /etc/nginx/mime.types;
        default_type        application/octet-stream;
    
        include /etc/nginx/conf.d/*.conf;
    
    server {
        listen       80;
        server_name  10.0.0.42;
        access_log  /var/log/nginx/access.log main;
        location / {
                  root   html;
                  index  index.html index.htm;
        location ~ .*.(php|php5)?$ {
                  fastcgi_pass  127.0.0.1:9000;
                  fastcgi_index index.php;
                  include fastcgi.conf;
                   }
              }
         }
    }  
    • 启动nginx,php,MySQL(marridb)
    [root@moban ~]# systemctl start nginx
    [root@moban ~]# systemctl start mariadb
    [root@moban ~]# systemctl start php-fpm.service 
    
    • 访问http://10.0.0.42/zentaopms/www/index.php 猛点下一步,输入mysql库名并且创建mysql的root密码结果如图:

     

                                     so easy是不是!!!!!

  • 相关阅读:
    3.10 Go Map哈希表
    3.9 Go Slice切片
    3.8 Go Array数组
    3.7 Go指针
    3.6 Go String型
    3.5 Go布尔型
    3.4 Go字符型
    3.3 Go浮点型
    3.2 Go整数类型
    3.1Go变量
  • 原文地址:https://www.cnblogs.com/so-cool/p/8027061.html
Copyright © 2011-2022 走看看