mantis和testlink集成解决方案

1   关于testlink缺陷追踪工具mantis的连接

需要修改的配置文件为testlink下的C:\xampp\htdocs\testlink\cfg\mantis.cfg.php

C:\xampp\htdocs\testlink\config.inc.php

mantis.cfg.php需要修改的配置项如下:

<?php

/**

* TestLink Open Source Project - http://testlink.sourceforge.net/ 

* $Id: mantis.cfg.php,v 1.7 2007/03/05 18:22:04 franciscom Exp $ 

* Constants used throughout TestLink are defined within this file

* they should be changed for your environment

* 20051229 - scs - added DEFINE for the DB-Type

*/

//Set the bug tracking system Interface to MANTIS 1.2.15

//also tested with MANTIS 1.2.15.a3

 

/** The DB host to use when connecting to the mantis db */

define('BUG_TRACK_DB_HOST', 'localhost');

/** The name of the database that contains the mantis tables */

define('BUG_TRACK_DB_NAME', 'bugtracker');

/** The DB type being used by mantis 

values: mysql,mssql,postgres

*/

define('BUG_TRACK_DB_TYPE', 'mysql');

/** The DB password to use for connecting to the mantis db */

define('BUG_TRACK_DB_USER', 'root');

define('BUG_TRACK_DB_PASS', '');

/* link of the web server for mantis*/

/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects

/* Change the following in your mantis config_inc.php (replace dummy with your created user)

 # --- anonymous login -----------

# Allow anonymous login

$g_allow_anonymous_login = ON;

$g_anonymous_account = 'dummy';

*/ 

define('BUG_TRACK_HREF', "http://localhost/mantis/view.php?id="); 

/** link to the bugtracking system, for entering new bugs */

define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");

?>

 

 config.inc.php需要修改的配置项如下标黄部分:

 

 

2   testlink怎么设置中文?

简单的方式是设置角色的语言改成简体中文,刷新一下即可

 

3  mantis 怎么设置中文?

C:\xampp\htdocs\mantis/ config_inc.php文件中添加如下配置项

$g_default_language='chinese_simplified';

 

4  XAMPP control panel 上的pid port各是什么意思。那个port下面的端口号为啥有好多个?

答:pid是进程号,唯一.  window 下  taskkill  /pid   pid    linux  kill pid 可以杀掉对应进程
port多个,程序可以监听多个端口

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
请按照以下步骤在Ubuntu上安装Mantis: 1. 首先,确保你的系统已更新并安装了Apache和MySQL。 2. 使用以下命令安装PHP7.0及其相关组件:sudo apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-xmlrpc php7.0-json php7.0-gd php7.0-mbstring php7.0-common php7.0-cli 3. 安装Mantis所需的附加软件包:sudo apt-get install git 4. 克隆Mantis的代码库到你的本地系统:git clone https://github.com/mantisbt/mantisbt.git 5. 进入Mantis的代码目录:cd mantisbt 6. 为Mantis创建一个数据库:mysql -u root -p -e "CREATE DATABASE mantis;" 7. 导入Mantis的数据库架构:mysql -u root -p mantis < sql/mysql/mantis_create_tables.sql 8. 为Mantis创建一个MySQL用户:mysql -u root -p -e "GRANT ALL PRIVILEGES ON mantis.* TO 'mantis'@'localhost' IDENTIFIED BY 'password';" 9. 复制并重命名`config_inc.php.sample`文件:cp config/config_inc.php.sample config/config_inc.php 10. 使用文本编辑器打开`config/config_inc.php`文件,并修改以下配置项: - `$g_hostname`:将其设置为`localhost` - `$g_db_name`:将其设置为`mantis` - `$g_db_username`:将其设置为`mantis` - `$g_db_password`:将其设置为之前为MySQL用户设置的密码 - `$g_crypto_master_salt`:将其设置为一个随机的字符串 11. 配置Apache,将Mantis的根目录指向`/path/to/mantisbt`。 12. 重启Apache服务器:sudo service apache2 restart 13. 现在,你可以通过浏览器访问`http://localhost/mantisbt`来安装和配置Mantis

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值