在網上看了好多TestLink安裝介紹,感覺這篇不錯,已經經過多次驗證
轉自[url]http://www.51testing.com/html/89/128389-846209.html[/url]
安裝TestLink
1.先安裝XAMPP-win32-1.8.0(最好安裝到C:/program files檔案下),其他預設就可以了
2.解壓TestLink的檔案到C:\program?files\xampp\thdocs\TestLink檔案下(注意:不要多添加一個TestLink檔案夾)。
3.開始安裝TestLink,打開浏覽器,輸入http://192.168.10.17/testlink/install/index.php(192.168.10.17屬目前IP位址)。
4.打開頁面後,點選“New installation”,進入安裝頁面,這個頁面要檢查一些相關配置環境。隻管read/write permissions欄是否有failed。
5.如果報Checking if /var/testlink/logs/ directory exists [S] </B<< td> Failed!
Checking if /var/testlink/upload_area/ directory exists [S] </B<< td> Failed!
修改C:\Program Files\xampp\htdocs\testlink\ config.inc.php檔案:
//$tlCfg->log_path = '/var/testlink/logs/'; /* unix example 注釋掉該句,
添加如下内容
$tlCfg->log_path = 'testlinkDir/logs/';
//$g_repositoryPath = '/var/testlink/upload_area/'; /* unix example 注釋掉該句,
添加如下内容
$g_repositoryPath = 'testlinkDir/upload_area/';
注意:testlinkDir 表示安裝目錄路徑
6.再重新整理,如果通過後,就可以進行安裝了,database type選擇MYSQL、database host填寫localhost。
database name 填寫testlink .
7.填寫MYSQL資料庫使用者名和密碼
Database login: root
Database password: *******
8.填寫testlink資料庫的登入帳号和密碼
testlink DB login: testlink
testlink DB password: ******
9.安裝好之後,在testlink登入頁面使用的登入名和密碼,預設是admin/admin
10. 點選“process testlink setup”開始安裝testlink.
11.登入testlink
http://127.0.0.1/testlink/login.php
如果首次登入會有一個紅色框框提示,這時需要把testlink中config.inc.php檔案,找到config_check_warning_mode,把他的參數值改為SILENT。