Pre-configuration: install mysql-5.5.13-win32 version of the database (speed quickly), set the root password is 123465 (mysql5.5 mysql database port numbers do not conflict with the redmine)
1, the installation Testlink (version 1.9 (Beta5))
The testlink extract the files in the apache \ htdocs folder (installation comes with apache when redmine, placed under the file to)
Web page opens testlink / install / index.php, enter the page configuration testlink
(Note that the database port number consistent with mysql5.5)
2, back up the original database environment, restored to the new environment (with redmine)
Backup
mysqldump-uroot-p123456testlink> F: \ testlink \ 2013-09-24 Monday .sql
(Reference redmin backup)
restore
mysql-uroot-p123456testlink <f: \ testlink backup \ 2013-09-23 Monday .sql
(Reference redmin recovery)
3, log Testlink, it may appear the following prompt:
Therearesecuritywarningsforyourconsideration.Seedetailsonfile:C:/xampp/htdocs/testlink/logs/config_check.txt.Todisableanyreferencetothesecheckings,set$tlCfg->config_check_warning_mode='SILENT';
Solution:
config.inc.php file open Testlink installation folder, the $ tlCfg-> config_check_warning_mode = 'FILE';
To tlCfg-> config_check_warning_mode = 'SILENT'; save! And then refresh the page, with no tips!
4, integrated redmine
a, under testlink to modify custom_config.inc.php.example custom_config.inc.php, plus at the end
$g_interface_bugs='REDMINE'
b, modify testlink \ cfg file under redmine.cfg.php
define('BUG_TRACK_DB_HOST','localhost');
define('BUG_TRACK_DB_NAME','bitnami_redmine');
define('BUG_TRACK_DB_TYPE','mysql');
define('BUG_TRACK_DB_USER','bitnami');
define('BUG_TRACK_DB_PASS','8a83cf48ac');
define('BUG_TRACK_DB_CHARSET',"UTF-8");
define('BUG_TRACK_HREF',"http://192.168.100.21:81/redmine/issues/");
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.100.21:81/redmine/projects/%s/issues/new");
Resolve
BUG_TRACK_DB_HOST: address database, where even a native database, if it is remote, fill in the IP address
BUG_TRACK_DB_NAME: database name
BUG_TRACK_DB_TYPE: database type, here redmine using mysql
BUG_TRACK_DB_USER: database user name
BUG_TRACK_DB_PASS: database password (user name and password to view the new environment redmine \ htdocs \ config file under database.yml)
BUG_TRACK_DB_CHARSET: encoding format (if garbled, for other formats)
BUG_TRACK_HREF: redmine address the issues
BUG_TRACK_ENTER_BUG_HREF: redmine item corresponding to the new address BUG
Restart apache, finished
Another: define ( 'BUG_TRACK_ENTER_BUG_HREF', "http://192.168.100.21:81/redmine/projects/%s/issues/new"); testlink this function is automatically linked to the corresponding redmine project, to achieve the purpose, testlink to configure it.
Enter testlink \ lib \ bugtracking, open the file int_redmine.php
Add the following code to the end of the
functiongetEnterBugURL()
{if(strstr(BUG_TRACK_ENTER_BUG_HREF,'%s')){
$tproject_prefix=isset($_SESSION['testprojectPrefix'])?trim($_SESSION['testprojectPrefix']):'';
$BugURL=sprintf(BUG_TRACK_ENTER_BUG_HREF,$tproject_prefix);
}
return$BugURL;}
Action of the program code is taken testlink identification paid% s.
Setting an item identified testlink to configure the admin login testlink
Once configured, when the use case execution, you can add a link to the issue redmine
Integration is completed
Reproduced in: https: //www.cnblogs.com/pinpin/p/9849285.html