Testlink 1.9.5 安装

初始化数据库

1
2
CREATEDATABASEtestlinkCHARACTERSETutf8COLLATEutf8_general_ci; 
GRANTALLONtestlink.*TO'testlink'@'localhost'IDENTIFIEDBY'2013Pwd';
1
2
# mysql -u <user> -p<password> <dbname> <
<testlinkdir>/install/sql/testlink_create_tables.sql
1
2
# mysql -u <user> -p<password> <dbname> <
<testlinkdir>/install/sql/testlink_create_default_data.sql

配置数据库

Create a <testlink-dir>/config_db.inc.php

<?php // Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'testlinker');
define('DB_PASS', 'testlink_pass');
define('DB_HOST', 'localhost:port');
define('DB_NAME', 'tl_master');
?>

配置apache

1
2
3
4
5
6
7
# testlink
Alias /testlink "E:/.../testlink-1.9.5"
<Directory "E:/.../testlink-1.9.5">
    Order allow,deny
    Allow from all
    Require all granted
</Directory>

默认管理员帐号 admin/admin