Installation of Bugzilla on Windows XP

Advertisement:

1. Download and Install Java 1.4.
2. Right Click "My Computer" and select properties.


3. Go to System Properties >> Advanced >> Environment Variables >> Add New Variables:
  • “JAVA_HOME ” [give here "Java directory path" ]
4. Download and Install MySQL Database. Then create database with the name as "bugs"

5. In MySQL Command Line type the following command
  • mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, CREATE TEMPORARY TABLES, DROP, REFERENCES ON test.
  • TO test@localhost IDENTIFIED BY ‘test’;
  • mysql> FLUSH PRIVILEGES;
This will create the User “test” with password as “test”.

6. Now install Perl and open pearl package manager. Select the First tab and install the following modules:
  • Bundle everything
  • AppConfig
  • CGI 2.93
  • data-dumper
  • DBI
  • DBD-mysql
  • File-Spec 0.84
  • File-Temp
  • Template-Toolkit
  • Text-wrap
  • Mime-tool, mime-xparser
  • Date::Format - (http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/TimeDate.zip). Unzip then and put the folder in “perl\lib” Directory. Open .ppd file and make the following changes:


7. Go to Command prompt and cd c:\perl\lib\timedate and type ppm install TimeDate.ppd

8. Unzip the Bugzilla in c:\ drive

9. Open the IIS Administration (RUN >> inetmgr), make a virtual directory with name “MyBugTracker” and give the path of the folder C:\ bugzilla-2.22.3.
  • Note: Do not give name of virtual directory as Bugzilla.
10. In the Bugzilla directory, Goto localconfig file and change $db_pass = ‘test’;

11. Open Command Prompt of windows. Type "cd c:\bugzilla 2.33.2\" and open the file checksetup.pl

12. Follow the instructions and enter the Administrator Name and Password.

13. Open up the properties of the virtual directory, you created for Bugzilla. Select the Configuration option to access the Script Mappings. Create an entry mapping:
  • .cgi to c:\perl\bin\perl.exe -xc:\bugzilla -wT “%s” %s
14. Now in browser windows type
  • “http://localhost/BugTracker/index.cgi”
Now, you make it happen. Enjoy the Bug Tracking with Bugzilla.
Advertisement:

4 comments:

  1. Which version is Perl?

    ReplyDelete
  2. hi I have completed all steps upto step11, i m facing problem in configuring iis with perl, error is

    "CGI Error"
    the specified cgi application misbehaved by not returning a complete set of http headers.The headers it did return are:

    Cant open perl script “C:\bugzilla-2.22.3\index.cgi”": Invalid argument


    and one more thing i missed earlier
    i didnt find package


    #File::Spec (0.82)
    Type In search Box : File-Spec
    Install: File-Spec 0.84
    thanx in advance
    sarvesh.qtp@gmail.com

    ReplyDelete
  3. I am also getting the same error.
    Thanks in advance.

    Sunil Rai
    me.sunilrai@gmail.com

    ReplyDelete
    Replies
    1. I am also getting same error. Please let me know how to follow to install bugzilla?

      Delete

175248765853890