Wednesday, August 18, 2010

Installing Bugzilla on a Window's System Part 1

As you are building your project, you need a way to keep track of issues. Many people keep track of issues in an excel spreadsheet which can be hard to maintain. The better way is to use an issue tracking system. Bugzilla is an open source issue tracking system. I don't think it is the best one out there, but it is the only open source one that I know about. It can be a big pain to install though.

You can install Bugzilla by checking it out from CVS, or by downloading the tar.gz file from their website.

Installing Bugzilla by downloading tar.gz
***************************************************
download from http://www.bugzilla.org/download/
select stable release
I am installing version Bugzilla 3.2.2

You will download a tar.gz file which some unzip programs can't unzip.

If you do not have a tool to unzip this type of archive file, you can download one from here: http://www.sfsu.edu/ftp/win/utils/. I Download the powarc61.exe.

You can now open the tar file for bugzilla using this tool. Select extract and place the bugzilla file somewhere on your c drive.


Install from CVS
********************************
Instead of installing from CVS using the command client, I would use TortoiseCVS.

You can download Tortoise from this site: http://www.tortoisecvs.org/download.shtml.
The version I am downloading is TortoiseCVSW-1.10.10.exe.

After installing it, you will select the right mouse button on your C: and select cvs checkout.

Fill in the following information-

Protocal: Password server (:pserver:)
Protocol parameters:
Server: cvs-mirror.mozilla.org
Port: 2401
Repository folder: /cvsroot
User name: anonymous
Module (located in the lower right corner): Bugzilla

***********************************
You also need to install mySQL. You can download mySQL from this website: http://dev.mysql.com/downloads/. You can see my mySQL tutorial for instructions on how to install it. If you already have it installed, you can skip this step.

Now you need to create the database for Bugzilla.

Start your mySql database and open your SQLyog Enterprise Manager. (If you aren't using an Enterprise Manager, you will need to create the database using the command prompt)

Under root@localhost, select your right mouse button and select create Database.

Input the name bugs for the database name.

Run this query in the Query Analyzer: grant all privileges on bugs.* to 'bugs'@'localhost'
Run this query: flush privileges;


Go To Bugzilla Installation Part 2

0 comments: