文章来源:http://www.mantis.org.cn
Mantis for Windows
1.安装之前,下载下列软件
XAMPP --->Apache,php,MySQL架设包
Mantis-1.0.5
2.安装xampp
执行刚下载的执行档即可
3.建立MySQL的使用者账号
利用xampp提供的页面来设定即可
4.安装mantis
解压缩mantis_1.0.5.tar.gz并将解开的目录放到C:\Program Files\xampp\htdocs\
在浏览器网址列键入http://<your ip>/mantis_1.0.5/index.php即可进行安装,重点是存取MySQL的账号要设对和MySQL,Apache要启动
5.设定mantis
在浏览器网址列键入http://<your ip>/mantis_1.0.5/index.php,如果安装成功,就会看到登入画面,用预设的账号administrator,密码root进入,新增一个有admin权限的使用者,确定新的使用者可以登入之后删除预设的使用者并移除C:\Program Files\xampp\htdocs\mantis_1.0.5\admin目录
**在新增使用者遇到了一个mail的error,使得新增的使用者无法登入,解决方式是在C:\Program Files\xampp\htdocs\mantis_1.0.5\下有个设定档config_inc.php,新增一行如下
$g_enable_email_notification = OFF;
**若想改中文接口同样在config_inc.php,新增一行如下
$g_default_language = 'chinese_traditional_utf8';
不过只有接口部份成中文,其它还是英文,而且输入中文会显示成乱码,这部份需再研究,或许在一开始安装时就选成繁体中文可能会有较好的结果
在用过了非开源的测试管理工具后,对开源工具也产生了兴趣,mantis是一个短平快的开源缺陷管理工具。它是一个基于php/MySQL/web的开源的错误追踪系统。
网上很多关于mantis的部署介绍,都要从apache到mysql到php的部署,在各个配置文件中改来改去,稍有版本对应不好或者配置不对,系统就无法运行,真是乏味。
后来,终于发现集成apache+php+mysql+...的安装工具——xampp;于是工作就变得简单起来,只需要安装xampp,然后在apache的配置文件\conf\httpd.conf 末尾加上:
Alias /mantis "c:/mantis/"
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
然后将mantis下的config_inc.php.sample改名为config_inc.php。再配置一下mantis的邮件服务。一切就ok了。省了很多时间。
C:\mantis\xampp\htdocs\mantis\config_inc.php
<?php
# Look in http://manual.mantisbugtracker.com/ or config_defaults_inc.php for more
# detailed comments.
# --- database variables ---------
# set these values to match your setup
$g_hostname = "localhost";
$g_db_username = "root";
$g_db_password = "test";
$g_database_name = "mantis";
$g_db_type = "mysql";
# --- email variables -------------
$g_administrator_email = 'mantis_china@163.com';
$g_webmaster_email = 'mantis_china@163.com';
# the "From: " field in emails
$g_from_email = 'mantis_china@163.com';
# the return address for bounced mail
$g_return_path_email = 'mantis_china@163.com';
$g_enable_email_notification = ON;
$g_smtp_host='mail.163.com.cn';
$g_smtp_username='mantis_china@163.com';
$g_smtp_password='test';
$g_use_phpMailer = ON;
$g_phpMailer_method =2;
$g_phpMailer_path = 'c:/mantis/xampp/htdocs/mantis/core/phpmailer/';
# --- file upload settings --------
# This is the master setting to disable *all* file uploading functionality
#
# The default value is ON but you must make sure file uploading is enabled
# in PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.
$g_allow_file_upload = ON;
$g_default_language = 'chinese_simplified';
$g_delete_bug_threshold = MANAGER;
putenv("TZ=Asia/Shanghai");
$g_use_jpgraph = ON;
$g_jpgraph_path = 'C:/mantis/xampp/htdocs/mantis/jpgraph-1.21b/src/';
$g_graph_font = 'chinese_gbk';
?>
分享到:
相关推荐
借助XAMPP安装Mantis(Mantis for Windows)_最简单适用 1.安装之前,下载下列软件 XAMPP --->Apache,php,MySQL架设包 1.7.1 Mantis-1.1.6 2.安装xampp 执行刚下载的执行档即可 3.建立MySQL的使用者账号 利用xampp...
在linux下使用xampp快速搭建mantis管理平台
借助XAMPP安装Mantis(Mantis for Windows)_最简单适用 内有详细的安装步骤, 绝对可用,过来人的经验!
公司web项目需要一款bug管理系统。本人亲测!
NULL 博文链接:https://1526541841.iteye.com/blog/2267730
Mantis安装使用手册(xampp版本 EasyPHP版本).docx
你是否还未没有快速部署mantis方法而苦恼?赶紧下载mantis1.2.5_XAMPP安装.pdf 他讲帮助你5分钟搞定mantis安装!人生从未如此效率!资源已解密!
利用XAMPP在linux下搭建Mantis手册.doc 另外还有安装包
将xampp安装至C盘或者D盘的xampp文件夹下,一路选择next即可,安装完成后打开xampp,将下载好的mantis压缩文件解压到D:\xampp\htdocs,重命名为mantis。 xampp下载地址:...
mantis是著名的开源缺陷管理平台,版本更新比较快,现在已经是2.1.5版了,而网上流传的安装手册版本比较旧,存在有不适用之处了,本文是针对1.2.5在xampp上的安装步骤,图文版的哈。 希望能对大家有用。
xampplite_mantis_testlink
ubuntu操作系统下的mantis安装,利用xampp环境。
mantis 1.2.19搭建文档 mysql-5.5.20 xampp-win32 xampp,本资源提供安装过程文档,及所有安装包,可直解压后安装
TestLink安装及使用手册,讲述了如何通过XAMPP安装testlink,以及安装过程中的注意事项,对mantis进行打通。