安装、配置testlink

1、Vertrigoserv下载地址:   http://vertrigo.sourceforge.net/ ,testlink删除后缀放在www目录下。

2、Testlink 下载最新的  :   https://sourceforge.net/projects/testlink/files/

3、下载XAMPP https://www.apachefriends.org/index.html

说明:1、2可以配置,2、3也可以配置,我是1、2配置时出现http端口占用,但实际未占用没有解决掉(自认为是http.conf只修改了两个80端口,是配置后来的才知道需要修改3处),配置的2、3

首先Apache默认端口为80,因为IIS80端口占用,我修改为8081

1、可使用开始->cmd ->netstat -ano查看端口号

如果被占用,可以启动任务管理器,关掉对应的PID,一般被占用的为80,不允许关掉,下面这部分可以忽略,

1、安装Xmapp

    可以在安装文件Xmapp内找到并打开: xampp-control.exe,点击Start启动Apache,MySQL、FileZila

http.conf下修改以下,共3处

 下面也要修改哦

 有人MySQL443占用也要修改端口号,这块我没有出现问题

2、要把下载的testlink放到xampp\htdocs下,并删除后缀,如:

如果出现了

"Checking if /var/testlink/logs/ directory exists [S] Failed! 
Checking if /var/testlink/upload_area/ directory exists [S] Failed

在config.inc.php中修改

修改 :$tlCfg->log_path = '/var/testlink/logs/'; /* unix example */

   为 :$tlCfg->log_path = TL_ABS_PATH . 'logs' . DIRECTORY_SEPARATOR ;

修改:$g_repositoryPath = '/var/testlink/upload_area/';  /* unix example */

    为:$g_repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR;

一直点击下一步 ,

Database admin password:有的密码是空的,有的说是root

如果这里错了会出现:TestLink setup will now attempt to setup the database:

Creating connection to Database Server:Failed!

Please check the database login details and try again.
Database Error Message: Access denied for user 'root'@'localhost' (using password: YES)

 到此:xampp安装完成

http://localhost:8081/testlink登录

There are security warnings for your consideration. See details on file: C:/xampp/htdocs/testlink/logs/config_check.txt. To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = ‘SILENT’;

同样是这个文件config.inc.php

修改:$tlCfg->config_check_warning_mode = 'FILE';

   为:$tlCfg->config_check_warning_mode = 'SILENT';

禁止其他新建用户登录:$tlCfg->user_self_signup = TRUE;将true改为false。

 修改语言:

testlink配置完成了。

猜你喜欢

转载自blog.csdn.net/zhangyan323/article/details/86478956