Jason之软件开发BUG跟踪系统
一、软件名称mantisbt-1.2.4.zip;
二、安装环境xampp-win32-1.7.3.exe
三、进入MYSQL,建库及用户
Create table mantis;
Grant all privileges on mantis.* to mantis@’localhost’ identified by ‘123456’;
四、进行安装
http://127.0.0.1/admin/install.php,按提示进行操作。
五、具体操作如下(注意路径表示方法可能要修改)
mantis(螳螂 )是一个基于php/MySQL/web的缺陷跟踪系统
首先, mantis 需要LAMP环境,步骤略。
将 mantis解压到E:\amp\xampp\htdocs\目录下。
生成: mantis配置文件:
官方下载地址: http://www.mantisbt.org/
mantis(螳螂 )是一个基于php/MySQL/web的缺陷跟踪系统
首先, mantis 需要LAMP环境,步骤略。
将 mantis解压到E:\amp\xampp\htdocs\mantis目录下。
生成: mantis配置文件:
cd E:\amp\xampp\htdocs\mantis\mantis
cp config_inc.php.sample config_inc.php
3.配置 mantis文件
vi config_inc.php
        $g_hostname      = "localhost";
        $g_db_username   = "root";
        $g_db_password   = "123456";
        $g_database_name = "mantis";
        $g_db_type       = "mysql";
:wq
 
建立 Mysql 数据库并根据上面进行设置。
访问 Http://127.0.0.1/mantis/admin/install.php进行安装,,一直next,next.     注意,有个多选框,不要钩选。
重新打开浏览器: http://localhost/mantis
使用默认的管理员帐号、密码:
                 user: administrator
                 passwd: root        
汉化方法:
在 mantis目录下找到config_defaults_inc.php
里面有一项是      $g_default_language = 'english';
将 english修改成 $g_default_language = 'chinese_simplified';
保存文件。
 
4.设置使用 PHPMailer发送邮件
在 config_inc.php文件中添加
        $g_phpMailer_method             = 2;                      # PHPMailer 以 SMTP 方式发送 Email
        $g_smtp_host           = 'mail.TECHNET.com';              # SMTP 服务器
        $g_smtp_username       = 'zhangsan@abc.com';              # 邮箱登录用户名
         $g_smtp_password       = 'zhangsanpasswd';                # 邮箱登录密码
        $g_administrator_email = 'zhangsan@technet.com';
        $g_webmaster_email      = 'zhangsan@technet.com';
        $g_from_name                    = 'technet.com';
        $g_from_email           = 'zhangsan@technet.com';      
        $g_return_path_email    = 'zhangsan@technet.com';      
        $g_email_receive_own    = OFF;
        $g_email_send_using_cronjob = OFF;
 
 这样这个软件就安装完毕了,可以使用了,有空常联系。