Win2000 Bugzilla installation record
(Author: Jackey, Website: www.kuihua.net)
1 Introduction:
Bugzilla is a software test tool, a good open source bug tracking system; because it is specially developed for UNIX, I want to install it under the Windows platform; I don't know what is why, online Most of the installation of Bugzilla is bracked, plus it itself is a Perl script that can be modified, and the Bugzilla development team may also have a small problem in code maintenance and release; these factors have to be in Windows. Building a relatively complete bugzilla system under the platform, but also difficult to increase; however, if there is a certain perl language knowledge, it is still relatively fast.
This article is an experience introduction to the installation and modification of the Bugzilla script in a Windows LAN environment, step by step to configure and build bugzilla installation environments. Here are some other connection maps in this article, welcome you to discuss use and make progress together.
Sunflower Forum: http://www.kuihua.net/bbs/dispbbs.asp? BoardId = 1 & rootid = 1035 & id = 1035
Microsoft Training: http://www.devmanclub.com/showpost.aspx? Postid = 4130
9CBS column: http://www.9cbs.net/develop/read_article.asp? Id = 24088
In addition, this article refers to the following article in the Microsoft Training Forum, this article should be the improvement version of this article :), if you have anything, please leave a message or E-mail contact me. At the same time, in order to ensure that all the officials can truly use Bugzilla to rescue the vast people from the compassion of the PERL script, I also provided a Chinese version that has already excluded a large number of bugs, but still wants to make simple modifications. It is mainly to fill in the installation path of the E-mail address and MySQL; the article also explores how to use the CVSNT system to simultaneously upgrade the Bugzilla Development Team to avoid repeatedly modifying the Upgrade of Bugzilla; refer to the CVSNT system.
Reference article: http://www.devmanclub.com/showpost.aspx? Postid = 2584
CVS article: http://www.9cbs.net/develop/read_article.asp? Id = 19756
Download connection: http://www.kuihua.net/soft/bugzilla-2.17.6 (jackey) .rar
Finally, I wish you all the best in the world, using bugzilla to eliminate countless bugs every day, haha! !
2 Install MySQL and MySQLCC:
1. This article uses the latest mysql for windows version 4.0.17, no problem, this is the official download connection: http://www.mysql.com/get/downloads/mysql-4.0/mysql-4.0.17- Win.zip
2. Need to pay attention to it is best not to change the default installation location of MySQL, otherwise, you cannot boot, you need to change some settings. Here, you have: d: / mysql
3. After the installation is complete, enter D: / mysql / bin, execute Winmysqladmin.exe, if a green light appears, indicating that your MySQL system is started normally. 4. Download the Mysql Center Control version, this is a MySQL manager that can directly modify the database content, which is very convenient. Download connection: http://ftp.tku.edu.tw/mysql/downloads/mysqlcc/mysqlcc-0.9.3-win32.zip
5. Modify the mysql root user password:
D: /> cd mysql
D: / mysql> cd bin
D: / mysql / bin> mysql -u root mySQL
MySQL> Update User Set Password = Password ('
mysql> flush privileges;
Description: Where
6. Create a BUGS user and assign the appropriate permissions:
Mysql> Grant Select, Insert, Update, Delete, Index, Alter, Create, Drop, References, Lock Tables, Create Temporary Tables on bugs. * to bugs @ localhost identified by '
mysql> flush privileges;
Note: To remember the password of the BUGS user, use it in the bugzilla configuration file below.
7. Create a BUGS database:
Mysql> Create Database Bugs;
Mysql> EXIT
8. You can open mysqlcc.exe at this time, log in to this machine's MySQL database with root users to see changes; note: The above database operation can be operated directly in MySQLCC.
3 Install ActivePerl and related modules:
1. Download ActivePerl-5.6.1.633-MSWIN32-x86.msi or above. Here, you assume that your installation path is: d: / perl
2. Modify the download address of the PPM (Perl Package Manager) to improve the download speed when Perl installing other modules.
Open d: /perl/lib/cpan.pm, find and change $ cpan: defaultsite || = "ftp://ftp.perl.org/pub/cpan"; $ CPAN: Defaultsite || = "http: / /CPAN.SHELLHUNG.ORG ";
3. Because there are several perl modules that cannot be installed directly, you need to download to local NMAKE.EXE and CL.EXE to be compiled and installed, so it is best to install a Visual C 6.0 so that the installation of special modules can be completed.
4. Bugzilla needs multiple perl module support. It is introduced in its help documentation. In order to facilitate and simplify the installation process of the officials, I wrote a simple batch file. If you download my own modification package After the decompression has a PerlModule directory, there is a perlmodule.bat file, running directly, but you need to pay attention to: There are several modules that cannot be installed directly, take a closer suggestion, tell you how to install these special modules. Here, the AUTHEN :: SASL module is added to send mail authentication information. In addition, the source code for this batch is listed in the appendix of this article for improvement and reference. 4 download bugzilla:
1. First explain: If you have downloaded the modified package I have, this part can be skipped directly, and it has been changed in the modification package.
2. Www.bugzilla.org currently only bugzilla-2.17.6.tar.gz download, but its user authentication section has a problem, which is bugzilla / bugzilla / auth / db.pm file, you can provide CVS servers from Mozilla Uploaded uploaded upload, Mozilla's CVS server is as follows: anonymous@cvs-mirror.mozilla.org: / cvsroot
3. Here you assume that your decompression position is: D: / bugzilla
4. Download the Chinese Chinese version, you can download the SourceForge.net download, I use the latest bugailla-2.17.4-cn-0.92.tar.gz in my modification package, and it is still in English. If you are interested in your business, you can use your own Chinese because it is some of some active code scripts.
5. Decompress the downloaded file and copy the CN directory to the D: / bugzilla / template directory.
5 Configuring IIS:
1. Open [Control Panel] -> [Management Tool] -> [Internet Service Manager], press the [Default Web Site] Press the [Properties] -> [Main Directory] -> [Configuration ...], in [ Application Mapping] Click [Add], add the following information:
2. Perl script parser: (*. Pl)
Executable file: d: /perl/bin/perl.exe "% s"% s
Extension: .pl
Only: get, head, post
3. CGI script parser: (*. Cgi)
Executable file: d: /perl/bin/perl.exe "% s"% s
Extension: .cgi
Only: get, head, post
4. Default Web Site] -> [New] -> [Virtual Directory]:
Alias: Bugzilla, Access Directory: D: / Bugzilla, access [write] permissions.
5. Select the original virtual directory bugzilla, right click to select [Properties] -> [Document]. [Default Document] Add index.cgi.
(Until it, to be continued)