testlink mysql配置_Testlink安装后配置修改
1.1.?config.inc.php
1.1.1.?日志路徑配置
/**
*??@var?string?Path?to?store?logs?-
*for?security?reasons?(see?http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)
*put?it?out?of?reach?via?web?or?configure?access?denied.
*/
//$tlCfg->log_path?=?'/var/testlink/logs/';?/*?unix?example?*/
=>
$tlCfg->log_path?=?'D:\Program?Files\EasyPHP-12.1\www\testlink\logs\\';
1.1.2.?上傳文件路徑配置
/**
*?TL_REPOSITORY_TYPE_FS:?the?where?the?filesystem?repository?should?be?located
*?We?recommend?to?change?the?directory?for?security?reason.
*?(see?http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)
*?Put?it?out?of?reach?via?web?or?configure?access?denied.
*
**/
//$g_repositoryPath?=?'/var/testlink/upload_area/';??/*?unix?example?*/
=》
$g_repositoryPath?=?'D:\Program?Files\EasyPHP-12.1\www\testlink\upload_area\\';
1.1.3.?配置檢查警告模式修改
There?are?security?warnings?for?your?consideration.?See?details?on?file:?D:\Program?Files\EasyPHP-12.1\www\testlink\logsconfig_check.txt.?To?disable?any?reference?to?these?checkings,?set?$tlCfg->config_check_warning_mode?=?'SILENT';
/**
*?@var?string?How?to?warning?user?when?security?weak?points?exists.
*
*?'SCREEN':?messages?will?displayed?on?login?screen,?and?tl?desktop?(default)
*?'FILE':?a?file?with?a?list?is?created?but?users?are?not?notified?via?GUI
*?????????user?will?receive?a?message?on?screen.
*?'SILENT':?same?that?FILE,?but?user?will?not?receive?message?on?screen.
*/
//$tlCfg->config_check_warning_mode?=?'FILE';
=》
$tlCfg->config_check_warning_mode?=?'SILENT';
1.1.4.?語言設置
/**?@var?string?Default?localization?for?users?*/
//?The?value?must?be?available?in?$g_locales?(see?cfg/const.inc.php).
//?Note:?An?attempt?will?be?done?to?establish?the?default?locale
//?automatically?using?$_SERVER['HTTP_ACCEPT_LANGUAGE']
//$tlCfg->default_language?=?'en_GB';
=》
$tlCfg->default_language?=?'zh_CN';
1.2.?Testlink數據庫配置
testlink\config_db.inc.php
//?Automatically?Generated?by?TestLink?Installer
define('DB_TYPE',?'mysql');
define('DB_USER',?'testlink');
define('DB_PASS',?'testlink');
define('DB_HOST',?'localhost');
define('DB_NAME',?'testlink');
define('DB_TABLE_PREFIX',?'tt');
?>
1.3.?Testlink和mantis集成
1、首頁-Issue?Tracker?Management
配置內容如下:
Type:mantis?(Interface:?db)
Configuration:
localhost
bugtracker
mysql
root
http://192.168.134.120/mantis/view.php?id=
http://192.168.134.120/mantis/
2、測試項目管理配置Issue?Tracker,選擇剛才配置::mantis?(Interface:?db)
總結
以上是生活随笔為你收集整理的testlink mysql配置_Testlink安装后配置修改的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hadoop mysql 存储过程_ha
- 下一篇: linux 自动安装mysql数据库_L