您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
EasyPHP-2.0b1+Mantis-1.1.0安裝及技巧
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/1/25 15:31:08 ] 推薦標(biāo)簽:

Mantis是一個輕量級的brower的bug管理系統(tǒng),界面直觀,簡單易用,安裝簡單,支持多語言,多數(shù)據(jù)庫。

本文介紹一下基于Windows+mysql平臺的搭建步驟:

一:下載軟件
   1.下載 EasyPHP:EasyPHP-2.0b1-setup.exe;地址:http://easyphp.org/此版本集成了:apache 2.2.3,php 5.2.0,phpmyadmin 2.9.1.1 ,sqlitemanager 1.2.0,mysql 5.0.27

     2.下載 Mantis:mantis-1.1.0.tar.gz;地址:http://www.mantisbt.org/

二:安裝軟件
     1. 安 裝EasyPHP,exe文件在windows下直接安裝。(D:Program FilesEasyPHP 2.0b1)
     2.解壓縮 mantis-1.1.0.tar.gz并cut到EasyPHP 目錄下的www目錄中,將mantis-1.1.0目錄改名為Mantis(D:Program FilesEasyPHP 2.0b1wwwmantis)

三: Mantis配置:
1. 顯示中文:
在D:Program FilesEasyPHP 2.0b1wwwmantis目錄下找config_defaults_inc.php,

在該文件中找到語言設(shè)置的地方(language settings),修改這行:
   $g_default_language = 'english';
為:
$g_default_language = 'chinese_simplified';
即可顯示中文。

2.創(chuàng)建bugtracker數(shù)據(jù)庫:
打開瀏覽器在地址欄輸入 http://localhost/mantis/admin/install.php,不用修改任何內(nèi)容,點擊Install/Upgrade Database 創(chuàng)建bugtracker數(shù)據(jù)庫。

3.訪問mantis主頁:
打開瀏覽器,在地址欄輸入 http://localhost/mantis,進入Mantis登錄界面,輸入用戶名:administrator,密碼:root 可以看到mantis全貌了。

4.郵件設(shè)置:
        a):在D:Program FilesEasyPHP 2.0b1wwwmantis目錄下的config_defaults_inc.php中修改如下:
$g_administrator_email = [email=]'XXX@163.com';
$g_webmaster_email = [email=]'XXX@163.com'[/email];
$g_from_email   = [email=]'XXX@163.com'[/email];
$g_return_path_email = [email=]'XXX@163.com'[/email];
$g_phpMailer_method = 2;
$g_smtp_host   = 'smtp.163.com';
$g_smtp_username = 'XXX';
$g_smtp_password = 'XXX';

b):在D:Program FilesEasyPHP 2.0b1conf_files目錄下的php.ini中修改如下:

[mail function]

; For Win32 only.

SMTP = mail.163.com

smtp_port = 25

; For Win32 only.

sendmail_from = XXX@163.com

這樣注冊帳戶時,可以收到確認郵件了。

四:技巧
1.mantis頁面時間顯示和服務(wù)器時間不一致問題:

在D:Program FilesEasyPHP 2.0b1conf_files目錄下的php.ini中修改如下:

[Date]

; Defines the default timezone used by the date functions

date.timezone =PRC

2.沒有郵箱創(chuàng)建多個用戶測試功能:(不能用來測試郵件功能的)

1.進入數(shù)據(jù)庫,找到用戶表matis_user_table
2.把matis_user_table中的password 字段改成administrator用戶的密碼

3. aclearcase/" target="_blank" >ccess_level=10(查看人員)access_level=25(報告人員)access_level =40(修改人員)access_level=55(開發(fā)人員)access_level=70(管理人員)access_level=90(管理人員)
      4. 可以用username用戶名,密碼root登錄了

上一頁12下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd