I. Required Software
The required software for installing Bugzilla includes MySQL database, MySQL GUI tools, ActivePerl software, Bugzilla installation package, and IIS components.
Installation environment
Operating System OS: Windows XP
Bugzilla: 4.3.1
Database: MySQL
Database Management Tool: MySQL GUI tools
Web server: IIS server
Perl Parser: ActivePerl
Ii. Install the MySQL database
MySQL: http://dev.mysql.com/downloads/installer/
Follow the Wizard to install. Remember the root password
3. Install MySQL GUI tools
MySQL GUI tools: http://dev.mysql.com/downloads/gui-tools/
4. Use MySQL GUI tools to create a Bugs database
5. Install ActivePerl
ActivePerl: http://www.activestate.com/activeperl/downloads
Follow the Wizard to install
6. Install Bugzilla
6.1 download Bugzilla. : Http://www.bugzilla.org /. Decompress the downloaded package to the root directory of drive C.
6.2 install the Perl module required by the bugzilla Software
Use the checksetup. pl provided by Bugzilla to install the Perl module required by Bugzilla.
If the installation is successful, a localconfig file will be generated in the bugzilla directory.
Open the localconfig file and change $ db_port = 0 to $ db_port = 3306; $ index_html = 0; to $ index_html = 1;
Change $ db_host to the address of your database server, $ db_user = 'root'; $ db_pass = 'password you set ';
Run checksetup. pl again on the command line to generate database-related data tables,
After the data table is generated, enter the host address and server address,
Administrator name and account (this account is an email address), as well as the administrator login password. and confirm the password
VII. IIS configuration
1. Create a virtual directory Bugzilla
2. access permission execution
3. Add Configuration
Enter c: \ Perl \ bin \ perl.exe-X-WT "% s" % s in the executable file
Enter. cgi in the extension
4. Add index. cgi to the default document.
VIII. Localization
Decompress the Chinese package to the CN folder, and copy the entire file directory CN to the bugzilla subdirectory template;
Log on to the bugzilla as an administrator, click the parameters link in the footer, and change the value of ages to CN,
Save, then the bugzilla page you will see later is the Chinese page. If you want to return to the English interface, change CN back to en. To ensure backward compatibility,
All Chinese files are saved in UTF-8 format. But whether or not you want to convert Bugzilla to a UTF-8 to handle strings,
To avoid Bugzilla's accidental garbled characters, we strongly recommend that you change row 55th of the file installation directory> \ Bugzilla \ cgi. PM to $ self-> charset ('utf-8 ').
You can find the corresponding Bugzilla package in the http://bugzilla.org/download.html.
9. Modify the value of MySQL max_allowed_packet
Find the my. ini file in the MySQL installation directory, and add
Max_allowed_packet = 20 m
If you do not modify the value of max_allowed_packet, an error is returned when uploading an image attachment.
10,There was an error connecting to MySQL:
Install_driver (MySQL) failed: Attempt to reload DBD/MySQL. PM aborted.
Compilation failed in require at (eval 1260) line 3, <DATA> chunk 558.
At Bugzilla/DB. PM line 1284
solution: Under the DOS command: PPM upgrade DBI