Sunday 13 May 2012


Installing Testlink on ubuntu


1. Get source from http://testlink.sourceforge.net/docs/testLink.php

2. Extract the file and mv to /var/www
sudo cp -r testlink_1_9_RC1 /var/www/
Rename the dir to testlink (Optional, just affect the URL)

3. Install MySQL,PHP5, and related mod
sudo apt-get install mysql-server php5 php5-mysql php5-gd

4. Install Apache2
sudo apt-get install apache2
Edit httpd.conf in apache
sudo vi /etc/apache2/httpd.conf
Add:
AddType application/x-httpd-php .php .htm .html
AddDefaultCharset UTF-8
ServerName 127.0.0.1

Restart apache server
sudo /etc/init.d/apache2 restart

5. Install with web installer.
http://your_ip/testlink
Just follow the instructions.

6. Finish the installation
Reload the page again and login as admin (pwd = admin)
Change admin's passwd in "Personal" page
Remove install/ in var/www/testlink
Edit config
sudo vi /var/www/testlink/config.inc.php
Turn off the warning message:
$tlCfg->config_check_warning_
mode = 'SILENT';
Enable API Key:
$tlCfg->api->enabled = TRUE;
In this way, there will be a "Generate a new key" button in "Personal" page

3 comments:

  1. Thanks, good post! Looks better than official TestLink documentation )

    ReplyDelete
  2. Hi i install all as you but i have big problem
    3. Install MySQL,PHP5, and related mod
    sudo apt-get install mysql-server php5 php5-mysql php5-gd
    4. Install Apache2
    sudo apt-get install apache2

    in WEB i see next mesages:

    Server Operating System (no constrains) Linux
    PHP version Failed! - You are running on PHP 5.3.10-1ubuntu3.9, and TestLink requires PHP 5.4.0 or greater. This is fatal problem. You must upgrade it.


    Linux ws-048 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 17:31:43 UTC 2013 i686 i686 i386 GNU/Linux

    ReplyDelete
  3. Hi...I forgot the admin username and password for Testlink, is there any way to get it?

    ReplyDelete