Install testlink on CentOS OR Linux
Tuesday, January 21, 2014
How to Configure Test link on CentOS
We are explain, how to install Test link 1.9.3 on CentOS step by step. there are following steps :-
1. Install required packages using yum :-
yum install mysql-server php php-mysql php-gd php-ldap
2. Modify /etc/php.ini to optimize php configuration for TestLink :-
vi /etc/php.ini
session.gc_maxlifetime = 2400
max_execution_time = 120
3. Set up web server and mysql services :-
chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start
4. Set a password for mysql root user :-
mysqladmin -u root password 'NEWPASSWORD'
5. Add port 80 to iptables, Add the following rule into /etc/sysconfig/iptables :-
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
6. Restart Iptables :-
service iptables restart
7. Create a test.php php file at /var/www/html and add below text in that file to check if php works properly :-
touch test.php
vi test.php
8. Download TestLink 1.9.3 and configure
Website: http://sourceforge.net/projects/testlink/
cd /var/www/html
wget http://goo.gl/HLuhE
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
9. Go to TestLink webpage to setup first configuration : http://server_ip/testlink
1. Click "New Installation"
Screenshot : [http://screencast.com/t/ghllOE4alWj](http://screencast.com/t/ghllOE4alWj)
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 : [http://screencast.com/t/niazmypZ6](http://screencast.com/t/niazmypZ6) 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
10. There are some security warning need to be fixed
1. Change admin default password
2. Remove Install directory: rm -rf /var/www/html/testlink/install/
3. Modify email settings: cp custom_config.inc.php.example custom_config.inc.php
11. Uncomment the following four variables and modify them to your environment setting.
$g_smtp_host = '127.0.0.1'; # 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 = 'ajju@testlink';
12. For Security need to disable warning using below
vi var/www/html/testlink/config.inc.php
change below property to 'SILENT', default is 'FILE'
$tlCfg->config_check_warning_ mode = SILENT;
More Reference Urls :-
TestLink - Installation & Configuration Manual : http://goo.gl/eFNUo
Install TestLink : http://goo.gl/peKDv
We are explain, how to install Test link 1.9.3 on CentOS step by step. there are following steps :-
1. Install required packages using yum :-
yum install mysql-server php php-mysql php-gd php-ldap
2. Modify /etc/php.ini to optimize php configuration for TestLink :-
vi /etc/php.ini
session.gc_maxlifetime = 2400
max_execution_time = 120
3. Set up web server and mysql services :-
chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start
4. Set a password for mysql root user :-
mysqladmin -u root password 'NEWPASSWORD'
5. Add port 80 to iptables, Add the following rule into /etc/sysconfig/iptables :-
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
6. Restart Iptables :-
service iptables restart
7. Create a test.php php file at /var/www/html and add below text in that file to check if php works properly :-
touch test.php
vi test.php
8. Download TestLink 1.9.3 and configure
Website: http://sourceforge.net/projects/testlink/
cd /var/www/html
wget http://goo.gl/HLuhE
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
9. Go to TestLink webpage to setup first configuration : http://server_ip/testlink
1. Click "New Installation"
Screenshot : [http://screencast.com/t/ghllOE4alWj](http://screencast.com/t/ghllOE4alWj)
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 : [http://screencast.com/t/niazmypZ6](http://screencast.com/t/niazmypZ6) 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
10. There are some security warning need to be fixed
1. Change admin default password
2. Remove Install directory: rm -rf /var/www/html/testlink/install/
3. Modify email settings: cp custom_config.inc.php.example custom_config.inc.php
11. Uncomment the following four variables and modify them to your environment setting.
$g_smtp_host = '127.0.0.1'; # 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 = 'ajju@testlink';
12. For Security need to disable warning using below
vi var/www/html/testlink/config.inc.php
change below property to 'SILENT', default is 'FILE'
$tlCfg->config_check_warning_
More Reference Urls :-
TestLink - Installation & Configuration Manual : http://goo.gl/eFNUo
Install TestLink : http://goo.gl/peKDv
0 comments:
Post a Comment