How To Install testlink On CentOS

Article By: jill


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
Expected Screenshot
PHP image BIP media
Download TestLink 1.9.3 Website:
 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: , , , , , , ,

Welcome to the healthcare-only HIPAA - GDPR compliant cloud. Exclusively hosted on a HPC environment!

Learn more or start today by choosing your secure HIPAA - GDPR compliant server's Operating System bellow and pick the package that's best for you.

BIPmd makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine, thousand or more.

Windows VPS options and add ons
Linux VPS options and add ons


Looking for a custom solution?

Our technicians can provide you with the best custom-made solutionss on the market, no matter whether you're a small business or large enterprise.

Get in touch

Leave a Reply