安装TestLink

系统环境:Centos6.5

1、安装XAMPP

为什么要安装XAMPP呢?因为TestLink需要最新的PHP,所以安装XAMPP,而且XAMPP里包括了很多的Apache组件,MySQL等应有尽有。


2、启动 XAMPP
/opt/lampp/lampp start

3、安装 testlink

tar zvxf testlink_1.9.3.tar.gz -C /opt/lampp/htdocs/testlink

4、登陆testlink 页面


5、根据页面提示操作

a.页面有fail的需要根据页面提示处理,警告的可以暂时不处理。

b.配置登陆数据库的时候,root那一项 只要填写root  没有密码(因为MySQL 初始没有密码),下面那个用户是创建的tesklink的用户。需要自己设置。

c.最后一错误是:

 
<span style="font-size:12px;">TestLink setup will now attempt to setup the database:

Creating connection to Database Server:OK!

Connecting to database `testlink`:OK!
Creating Testlink DB user `testlink`:OK! (ok - user_exists ok - grant assignment) 
Processing:sql/mysql/testlink_create_tables.sql
OK!
Writing configuration file:Failed!

TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'testlink');
define('DB_PASS', 'mypassword');
define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
?>

Once that's been done, you can log into TestLink by pointing your browser at your TestLink site.</span>



解决方式:
在testlink目录中创建config_db.inc.php文件,并拷贝php的代码即可
<span style="font-size:12px;">[root@NanjingBaseServer testlink]$ vim config.inc.php 
[root@NanjingBaseServer testlink]$ touch config_db.inc.php; vim config_db.inc.php  </span>



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值