2010年10月29日

Install Testlink on Ubuntu 10.04

Version: 1.9 RC1
Already installed apache so the following steps may differ from your case

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. Edit httpd.conf in apache
sudo vim /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 vim /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

沒有留言: