TestLink學習二:Windows搭建TestLink環境

來源:互聯網
上載者:User

標籤:apache2   mission   war   ati   imp   silent   工具   方式   win   

環境準備

  搭建php5.4.39+apache2.2+mysq5.5.28l環境

  (可參考http://www.cnblogs.com/yangxia-test/p/4414161.html)

 

(注意:testlink1.9.13要求php5.4以上.)

 

一、Testlink環境搭建

下載你需要用的TestLink版本,本文的TestLink的版本是1.9.13,:http://sourceforge.net/projects/testlink/files/TestLink%201.9/TestLink%201.9.13/

下載之後,在windows下,發現該文檔的打包方式是Linux下的方式Testlink1.9.13.tar.gz,用Winzip工具解壓就可以看到Testlink1.9.13.tar.gz--->Testlink1.9.13.tar--->TestLink1.9.13,將最後一層重新命名為testlink

1、 將”testlink”檔案夾複製到”D:\php\”(php的安裝目錄)目錄下;

注意: 將後面的版本號碼去掉,TestLink1.9.13變成testlink

2、開啟IE瀏覽器,輸入:http://IP地址:連接埠號碼/testlink(如:http://localhost/testlink); 

3、開啟頁面後,點擊“New installation”

4、進入安裝頁面,這個頁面要檢查一些相關配置環境。只管read/write permissions欄是否有failed。在頁面中點擊“new installation”;    

注意:此步驟如如果報Checking if /var/testlink/logs/ directory exists [S] </B<< td>    Failed!
        Checking if /var/testlink/upload_area/ directory exists [S] </B<< td>  Failed!

  修改D:\php\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 表示安裝目錄路徑

 

5、再重新整理,如果通過後,就可以進行安裝了

database type選擇MYSQL、database host填寫localhost。database name 填寫testlink .

填寫MYSQL資料庫使用者名稱和密碼
  Database login: root
  Database password: *******

填寫testlink資料庫的登入帳號和密碼
  testlink DB login: testlink
  testlink DB password: ******

上述參數配置好後,點擊頁面中【Process Tesklink Setup】按鈕;當出現以下頁面提示時,表示配置成功;

二、登入使用

1、登入

安裝好之後,在http://localhost/testlink/login.php登入頁面使用的登入名稱和密碼,預設是admin/admin

 

2、漢化

解決方案:

1)htdocs\testlink目錄下修改檔案config.inc.php

將$tlCfg->default_language = ‘en_GB‘;
改為
/* [LOCALIZATION] */
$tlCfg->default_language = ‘zh_CN‘;

2)登入TestLink,點擊My SettingS,可以查看personal data,其中的locale選擇Chinese Simplified,點擊save.此時頁面為中文的.

 

3、當使用者登入後(使用admin/admin登入)頁面上面為會安全提示,如下:

There are security warnings for your consideration. See details on file: D:\Program files\VertrigoServ
\www\testlink\logs\config_check.txt.
To disable any reference to these checkings,
set $tlCfg->config_check_warning_mode = ‘SILENT‘;
解決辦法:
在....\VertrigoServ\www\testlink\ 根目錄下找到config.inc.php 檔案開啟,

將$tlCfg->config_check_warning_mode = ‘FILE‘;
改為
/* [LOGGING] */
$tlCfg->config_check_warning_mode = ‘SILENT‘;

 

4、禁止使用者註冊

開啟config.inc.php,找到$tlCfg->user_self_signup ,將其後true改為false,在登入介面便取消了New User連結。

 

環境已經基本搭建好了,區域網路的其它機器也可以正常訪問,接下來就是學習如何使用它了,加油!

TestLink學習二:Windows搭建TestLink環境

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.