windows下搭建Mantis 缺陷管理系统
来源:互联网 发布:数据分析属于什么专业 编辑:程序博客网 时间:2024/05/18 01:02
什么是Mantis
MantisBT is a free popular web-based bugtracking system (feature list). It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. MantisBT has been installed on Windows, Linux, Mac OS, OS/2, and others. Almost any web browser should be able to function as a client. It is released under the terms of the GNU General Public License (GPL).
Mantis是一个BUG管理系统。主要特点如下:
1、 用php写的系统,安装方便,不用像 bugzilla 那样安装那么多perl支持;
2、 系统相对简单轻磅,使用简单;
3、 出色的多语支持,对于对日开发等公司非常合适;
界面图示:
在线演示地址:http://www.futureware.biz/mantisdemo
环境搭建及Mantis安装、配置
由于Mantis是用php写的系统,而要调试php程序当然要用到apache+php+mysql,而apache+php+mysql配置起来却又是很麻烦的事,这还不包括环境冲突、、、等等,这些又或者是那些导致配置失败的问题。但刚巧有这么一个套件可以省去这些以前是需要解决的问题,这个套件就是EasyPHP了。EasyPHP集成了:Apache、PHP、MySQL、PhpMyAdmin。
以上软件可参考文章最后的参考资料。
适用范围
本文介绍基于Windows下的Mantis BUG管理系统的搭建。
软件下载
Mantis下载地址:http://www.mantisbt.org/
EasyPHP下载地址:http://www.easyphp.org/
安装EasyPHP
安装EasyPHP很简单,双击下载到的EasyPHP-DevServer-14.1VC11-install,然后一直默认点击Next即可安装完成。当然啦,在License Agreement页面是必须选择I Access The Agreement……
软件默认目录:C:"Program Files"EasyPHP3.1 (自己随意选择安装位置,我选的是在D:\EasyPHP-DevServer-14.1VC11)
安装进度…
Installing…
Completing!
EasyHPH成功安装!勾选上“Open Help”、“Launch EasyPHP”,点击“Finish”。可看到如下页面:
若成功运行时,双击在Windows托盘的 图标,可看到如下图所示,Apache、MySQL的右边都是显示“Started”并亮绿灯的。
已知问题:
1、 若Apache没有正常运行,可能是因为Apache的默认使用的80端口被占用(Apache端口修改方法请继续往下阅读…);
2、 若找不到原因,请重新启动电脑,据说重新启动电脑可以解决80%的问题,希望你遇到的不是余下的20%中的…
安装Mantis
1、 将下载到的mantisbt-1.2.19解压到mantis文件夹;
2、 EasyPHP安装目录,打开D:\EasyPHP-DevServer-14.1VC11
3、 将mantis文件夹复制到D:\EasyPHP-DevServer-14.1VC11\data\localweb;
安装Phpmyadmin
1、 打开D:\EasyPHP-DevServer-14.1VC11\binaries\php(记不太清,可以在EasyPHP-DevServer-14.1VC11文件夹下,搜素phpmyadmin)
2、 将phpmyadmin文件夹剪切到D:\EasyPHP-DevServer-14.1VC11\data\localweb
建立Bug数据库
1、 右键Windows托盘的 图标,选择“Local Web”,(或者在IE地址中输入“http://127.0.0.1/”)可看到如下页面:
2、 点击选择“mantis”,进入页面:
3、 不用修改/填写任何值,直接点击页面最下方的“Install/Upgrade Database”按钮
4、 成功后可看到如下页面:
² OK,到此为止,Mantis系统已经搭建成功了。下面立刻验证一下是否已配置成功!
2、 点击选择“mantis”(或可省略步骤,直接在IE地址中输入“http://127.0.0.1/mantis/login_page.php”),进入页面:
配置完成的Mantis的只有一个默认的系统管理员用户:
账号:administrator
密码:root
中文版配置
配置完成时,Mantis默认为English系统,而要使用中文版Mantis则需要修改配置文件。
² 配置方法:
打开Mantis目录,用记事本打开config_defaults_inc.php 文件,找到如下代码片段:
。。。。。。
# --- language settings -----------
# If the language is set to 'auto', the actual
# language is determined by the user agent (web browser)
# language preference.
$g_default_language = 'english';
。。。。。。
将english 改为chinese_simplified
修改完成后的代码片段如下所示:
……
# --- language settings -----------
# If the language is set to 'auto', the actual
# language is determined by the user agent (web browser)
# language preference.
$g_default_language = 'chinese_simplified';
……
² 验证配置是否成功:
再次在IE中登录Mantis系统“http://127.0.0.1/mantis/login_page.php”),进入页面:
OK,成功了。登录后,也一样是全中文的界面:
局域网访问
配置完成时,Mantis默认为只能够本机访问,若要在局域网内访问则需要修改Apache的配置文件。
² 配置方法:
打开apache目录,用记事本打开httpd.conf 文件,找到如下代码片段:
。。。。。。
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 127.0.0.1:80
。。。。。。
在Listen 127.0.0.1:80下一行加入一段代码 Listen 192.168.1.101:80
注:192.168.1.101为Mantis服务器的IP地址
修改完成后的代码片段如下所示:
……
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 127.0.0.1:80
Listen 192.168.1.101:80
……
² 验证配置是否成功:
在局域网任一电脑中通过IE登录Mantis系统
http:// 192.168.1.101/mantis/login_page.php即可正常访问。
端口被占用
Mantis配置完成时,访问Mantis系统可能会出现端口被占用的问题,常见的原因是IIS默认端口为80,而Mantis配置完成时,默认的端口也是80。因此需要修改Mantis的端口或者是IIS的端口才可正常访问Mantis。
将Listen 192.168.1.101:80修改为 Listen 192.168.1.101:8001² 验证配置是否成功:
在局域网任一电脑中通过IE登录Mantis系统
http:// 192.168.1.101:8001/mantis/login_page.php即可正常访问。
邮件系统
Mantis项目中显示真实姓名
- windows下搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- (转)搭建Mantis 缺陷管理系统
- 如何搭建Mantis 缺陷管理系统
- Mantis 缺陷管理系统
- 缺陷跟踪系统Mantis在Windows下的安装配置
- win7 64位搭建Mantis 缺陷管理系统(1)--下载与安装
- win7 64位搭建Mantis 缺陷管理系统(2)--配置及问题修复
- 在web项目中应用shiro
- 常见浏览器内核概述
- Android使用WindowManager在界面添加一个悬浮框
- 大明A+B
- Android基础动画
- windows下搭建Mantis 缺陷管理系统
- JAVA 希尔排序
- 求最大公约数(gcd)
- YUV格式学习:Y转换成RGB24
- 深度学习-LeCun、Bengio和Hinton的联合综述
- @import使用
- 获取当前时间前半个小时和后半个小时的SQL代码
- 制作私有pod库的过程总结
- 一行代码巧妙实现iOS返回按钮