zoukankan      html  css  js  c++  java
  • 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 FilesEasyPHP-12.1www estlinklogs\';



    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 FilesEasyPHP-12.1www estlinkupload_area\'; 



    1.1.3. 配置检查警告模式修改

    There are security warnings for your consideration. See details on file: D:Program FilesEasyPHP-12.1www estlinklogsconfig_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数据库配置

    testlinkconfig_db.inc.php

    <?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

    配置内容如下:

    Typemantis (Interface: db)

    Configuration

    <!-- Template mantisdbInterface --> 

    <issuetracker> 

    <dbhost>localhost</dbhost>

    <dbname>bugtracker</dbname> 

    <dbtype>mysql</dbtype> 

    <dbuser>root</dbuser> 

    <dbpassword></dbpassword> 

    <uriview>http://192.168.134.120/mantis/view.php?id=</uriview> 

    <uricreate>http://192.168.134.120/mantis/</uricreate> 

    </issuetracker>

    2、测试项目管理配置Issue Tracker,选择刚才配置::mantis (Interface: db)

  • 相关阅读:
    Beta阶段事后诸葛亮分析
    Beta阶段项目复审
    展示博客
    Beta版本测试报告以及Beta版本发布说明
    团队作业8——第二次项目冲刺(Beta阶段)博客汇总
    团队作业8----第二次项目冲刺(beta阶段)5.25
    团队作业8----第二次项目冲刺(beta阶段)5.24
    团队作业8----第二次项目冲刺(beta阶段)5.23
    团队作业8----第二次项目冲刺(beta阶段)5.22
    团队作业8----第二次项目冲刺(beta阶段)5.21
  • 原文地址:https://www.cnblogs.com/pinpin/p/9849319.html
Copyright © 2011-2022 走看看