您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
mantis的安裝-簡要說明
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/12/26 11:01:27 ] 推薦標(biāo)簽:

一、安裝xampp,遇到的問題:
1、apache服務(wù)或者mysql服務(wù)啟動(dòng)時(shí)提示:apache  server  not  start  [-1];
解決方法:運(yùn)行xampp安裝路徑下apache文件夾下的apache_installservice.bat,出現(xiàn)命令行直到按任意鍵繼續(xù)后,關(guān)閉后,再運(yùn)行該路徑下的apache_uninstallservice.bat,關(guān)閉后,再啟動(dòng)服務(wù)即可;
2、apache服務(wù)啟動(dòng)時(shí)提示port 80 is busy,
解決方法:運(yùn)用 netstat –ano檢查80端口的使用情況,結(jié)束占用80端口的進(jìn)程,或者修改apacheconf下的httpd.conf文件,修改80端口,例如修改為8081;
3.[error] Can't load Perl file: C:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
解決方法:找到apacheconfextraperl.conf增加
LoadFile "C:/xampp/perl/bin/perl510.dll"
LoadModule perl_module modules/mod_perl.so
PerlSwitches -T
PerlPostConfigRequire "C:/xampp/apache/conf/extra/startup.pl"
二、xmapp安裝
點(diǎn)擊xampp-win32-1.7.4-beta5-VC6-installer.exe,直接安裝即可;
三、Mantis安裝:
將mantis的壓縮文件,解壓到xampp的htdocs文件夾下,重命名為mantis,訪問http://localhost/mantis/admin/install.php,出現(xiàn)安裝頁面,填入所需信息,mysql,root,root,數(shù)據(jù)庫名稱,bugtracker,點(diǎn)擊install按鈕,進(jìn)行安裝即可;
四、mantis集成過程
1.編輯config.inc.php
 define('TL_INTERFACE_BUGS', 'MANTIS');
 require_once(TL_ABS_PATH . 'lib/bugtracking/int_bugtracking.php');
2.在mantis上設(shè)置匿名登錄權(quán)限
  Mantis的匿名用戶具備對(duì)所有的項(xiàng)目都可以瀏覽的權(quán)限。注:這個(gè)dummy用戶需要administrator在后臺(tái)添加,注冊不了的
  修改mantis的config_inc.php文件,增加如下代碼:
  # --- 修改默認(rèn)設(shè)置為簡體中文 -------------
  $g_default_language ="chinese_simplified"; #默認(rèn)語言為簡體中文
  $g_allow_signup = ON;#是否允許新用戶注冊,ON是允許,OFF不允許
  # --- 登錄設(shè)置-------------
  $g_max_failed_login_count = 5;
  $g_show_realname = ON;# 是否允許匿名登錄,ON是允許,OFF不允許
  $g_allow_anonymous_login  = ON;
  $g_anonymous_account = 'dummy';
  # --- 郵件設(shè)置 -------------
  $g_administrator_email  = "mantis@****.com";#
  $g_webmaster_email      = "mantis@****.com";# 管理員郵件帳號(hào)
  $g_from_email           = "mantis@****.com";# 發(fā)送者帳號(hào),即Mantis自動(dòng)發(fā)郵件是顯示的用戶帳號(hào)
  $g_return_path_email    = "mantis@****.com";# 郵件回復(fù)地址
  $g_enable_email_notification    = ON;      # 開通郵件通知
  $g_smtp_host     = "mail.****.com";     # SMTP 服務(wù)器
  $g_smtp_username = "username";     # 郵箱登錄用戶名
  $g_smtp_password = "password";  # 郵箱登錄密碼
  $g_use_phpMailer = ON;    # 使用 PHPMailer 發(fā)送郵件
  $g_phpMailer_path = "C:/xampp/htdocs/mantis/core/phpmailer"; # PHPMailer 的存放路徑
  $g_phpMailer_method   = 2;       # PHPMailer 以 SMTP 方式發(fā)送 Email
  # --- 其他設(shè)置 -------------
  $g_show_project_menu_bar = ON;# 是否顯示項(xiàng)目選擇欄,ON是顯示,OFF不顯示
  $g_show_queries_count     = ON; # 在頁腳是否顯示執(zhí)行的查詢次數(shù),ON是顯示,OFF不顯示
  $g_default_new_account_access_level = DEVELOPER; # 默認(rèn)用戶級(jí)別
  $g_view_summary_threshold   = VIEWER; #設(shè)置查看權(quán)限
  $g_window_title = "缺陷跟蹤管理系統(tǒng)"; # 瀏覽器標(biāo)題
  $g_page_title = "缺陷跟蹤管理系統(tǒng)"; # 頁面標(biāo)題欄
  $g_max_failed_login_count = 5;#默認(rèn)登錄失敗次數(shù)
  $g_show_realname = ON;#顯示真名
  $g_allow_anonymous_login  = ON;# 允許用戶匿名登錄
  $g_anonymous_account = 'dummy';#匿名登錄的用戶名
  # --- 日期設(shè)置 -------------
  $g_short_date_format = "Y-m-d"; # 短日期格式,Y 大寫表示 4 位年
  $g_normal_date_format ="Y-m-d H:i"; # 普通日期格式
  $g_complete_date_format ="Y-m-d H:i:s"; # 完整日期格式
  # --- 報(bào)表設(shè)置 -------------
  $g_use_jpgraph = ON;
  $g_jpgraph_path = "C:/xampp/htdocs/mantis/core/jpgraph-2.3.3/src/";  #設(shè)置jpgraph的路徑
  $g_graph_font = 'chinese_gbk';

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