Things to download:
- Bugzilla TarBall
- MySQL "Windows Essentials"
- ActiveState Perl 5.8.1 or Higher MSI
- Apache HTTP Server version 2.x or high
Steps to Install:
- Extract Bugzilla TarBall archive to the directory of your choice. Eg: C:\Bugzilla.
- Install the MySQL as usual.
- Create a database for bugzilla on MySQL database using the following command.
create database bugs;
GRANT ALL PRIVILEGES ON bugs.* TO 'bugs'@'localhost' IDENTIFIED BY 'sockmonkey';
- Download the ActiveStatePerl and install it to C:\Perl.
- To avoid problems, create the C:\Temp directory (it has to be on drive C) and ensure SYSTEM has write and modify access.
- Bugzilla requires a number of perl modules to be installed. Following are the commands and output for this installation.
- Download and install the Apache HTTP server.
- Edit the C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf to set the Document root as follows.It is necessary to change both DocumentRoot and
properties.
Enable the CGI handler by uncommenting AddHandler cgi-script.cgi line as follows.
Allow .cgi scripts in the Bugzilla directory by adding the ExecCGI option as follows.
Allow Bugzilla's .htaccess file to restrict access to sensitive documents by allowing it to override the defaults. This involves changing AllowOverride None to AllowOverride All as follows.
Add index.cgi to the DirectoryInd ex list.
For ScriptInterpreterSource Registry-Strict to wor k, add an entry to the Registry so Apache will use Perl to execute .cgi files. Create a key HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command with the default val ue of the full path of perl.exe with a -T parameter as follows.
Finally, restart Apache to get it pick up th e changes. Run C:\Bugzilla\checksetup.pl to chec k the Perl modules and create localconfig as follows.
Run checksetup.pl again. Thi s time it will b uild t he dat abase tables and initialise Bugzilla.
Go to and http://localhost/ log into to Bugzilla using the account checksetup.pl just created.
References : Bugzilla:Win32Install
No comments:
Post a Comment