Install testlink VPS cloud server.

Install testlink Introduction

In this Tutorial you will learn how to install Testlink 1.9.3 on CentOS 6.2:

Using yum to install required packages

yum install mysql-server php php-mysql php-gd php-ldap

Modify /etc/php.ini to optimize php configuration for TestLink

session.gc_maxlifetime = 2400
max_execution_time = 120

Set up web server and mysql services

 chkconfig httpd on
 chkconfig mysqld on
 service httpd start
 service mysqld start

Set a password for mysql root user

 mysqladmin -u root password NEWPASSWORD

Add port 80 to iptables, Add the following rule into /etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

Restart Iptables:

 service iptables restart

Create a php file at /var/www/html to check if php works properly

 <?php phpinfo();>

Expected Screenshot
PHP image BIP media

Download TestLink 1.9.3

 cd /var/www/html
 tar zxvf testlink-1.9.3.tar.gz
 mv testlink-1.9.3 testlink
 chmod -R 755 testlink
 chmod -R 777 testlink/gui/templates_c
 chown -R apache:apache testlink

Go to TestLink webpage to setup first configuration : http://server_ip/testlink

1. Click "New Installation"
Screenshot : [](
2. Click " I agree to the terms set out in this license."
3. There is checking report. To check if there is no fatal error.
Screenshot : []( and click continue
4. Here, we use MySQL. Use the root password we created before. click "Process TestLink Setup"
5. Login to test link with admin/admin

There are some security warning need to be fixed

  • Change admin default password
  • Remove Install directory:
    rm -rf /var/www/html/testlink/install/
  • Modify email settings:

Uncomment the following four variables and modify them to your environment setting.

$g_smtp_host = ''; # SMTP server MUST BE configured
$g_tl_admin_email = 'tl_admin@testlink'; # for problem/error notification
$g_from_email = 'testlink@testlink'; # email sender
$g_return_path_email = 'francisco@testlink';

Tags: , , , , , , ,

Spin up a cloud server in no time flat

Simple setup. Full root access. Straightforward pricing.


Leave a Reply