您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Bugzilla
windows下bugzilla的搭建
作者:網(wǎng)絡轉載 發(fā)布時間:[ 2014/1/13 10:28:21 ] 推薦標簽:Windows bugzilla 缺陷

在Windows環(huán)境下安裝Bugzilla真是好難啊,AppConfig和Template這2個模塊苦苦尋找也沒有找到Win32版本的,距離成功是差了這一步。
終于發(fā)現(xiàn)了一篇Win32環(huán)境下的安裝手記,閱讀之... 
文章中提到的“ppm 模塊名”的安裝命令是錯誤的,應該是“ppm install 模塊名”。使用nmake的方法,終于搞定了AppConfig和Template這二個模塊。相關模塊包及安裝方法下載。

Bugzilla Windows安裝紅寶書
zhs 發(fā)表于:12 Oct 2003 04:49 PM

一直尋找合適的Bug Tracking System,網(wǎng)上找了很久,commercial的太貴,還有l(wèi)icence限制,遠遠超出我等貧民的承受范圍。也曾考慮干脆自己寫一個算了,但終究未能如愿。對Bugzilla倒是早有所聞,只可惜好像在Linux下比較好安裝,在windows上卻難上加難。在Bugzilla的document和FAQ中可見一斑:
Making Bugzilla work on windows is still a very painful processes. The Bugzilla Team is working to make it easier, but that goal is not considered a top priority. If you wish to run Bugzilla, we still recommend doing so on a Unix based system such as GNU/Linux. As of this writing, all members of the Bugzilla team and all known large installations run on Unix based systems.

If after hearing all that, you have enough pain tolerance to attempt installing Bugzilla on Win32, here are some pointers. Because this is a development version of the guide, these instructions are subject to change without notice. In fact, the Bugzilla Team hopes they do as we would like to have Bugzilla resonabally close to "out of the box" compatibility by the 2.18 release.

A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
Remove Windows. Install Linux. Install Bugzilla. The boss will never know the difference.
本人花了差不多兩天時間,終于基本上在windows 2000 professional上安裝上了bugzilla,現(xiàn)在貢獻出來,希望對大家能有所幫助。

一、安裝Perl
1、下載ActivePerl,可以到華軍軟件園去搜索(http://www.onlinedown.net/),我下載的是ActivePerl-5.8.0.806-MSWin32-x86.msi,安裝到D:Perl(安裝路徑可自定,以下同)
2、打開D:PerlLibCPAN.pm 查找并更改$CPAN: defaultsite ||= "ftp://ftp.perl.org/pub/CPAN";為$CPAN: efaultsite ||= "http://cpan.shellhung.org/";,主要是為了提高下面安裝其他perl模塊時的下載安裝速度。

二、安裝Mysql
1、下載Mysql(http://www.onlinedown.net/),我下載的是mysql-4.0.15-win.zip,直接安裝即可。同時可以下載安裝mysqlcc-0.9.3-win32.zip,這是mysql的管理軟件,挺好用的。
2、修改mysql的root用戶密碼
E:>cd mysql
E:mysql>cd bin
E:mysqlin>mysql -u root mysql
mysql>UPDATE user SET Password=PASSWORD('<new_password'>) WHERE user='root';
mysql>FLUSH PRIVILEGES;
其中<new_password>為root用戶的新密碼。更改密碼后,要用root用戶訪問mysql,必須使用mysql -u root -p,按提示敲入正確的root密碼。
3、創(chuàng)建bugs用戶,并賦給相應的權限
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES,LOCK TABLES,CREATE TEMPORARY TABLES ON bugs.* TObugs@localhostIDENTIFIED BY 'bugs_password';
mysql> FLUSH PRIVILEGES;
要記住bugs用戶的密碼,在下面的bugzilla配置文件要用。
4、創(chuàng)建bugs數(shù)據(jù)庫
mysql>create database bugs;

三、下載Bugzilla(http://www.bugzilla.org/)
好下載bugzilla-2.17.4,如果安裝2.16好像要改很多perl腳本,我沒有安裝成功:(
解壓到E:Bugzilla

四、配置IIS
1、打開控制面板->管理工具->Internet Information Services, 再Default Web Site右鍵選擇Properties-> Home Dictory-> Configuration,在App Mappings中點擊Add增加如下資料
Executable: D:Perlinperl.exe "%s" %s
Extension: .pl
Limit to: GET,HEAD,POST

Executable: D:Perlinperl.exe "%s" %s
Extension: .cgi
Limit to: GET,HEAD,POST

注意Perl.exe的路徑

2、Default Web Site中增加Virtual Directory: Bugzilla。Access Permission增加Execute。
3、選擇剛建立的虛擬目錄Bugzilla,右鍵選擇Properties-> Documents。Default Documents中增加index.cgi。

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