From ArchWiki
Revision as of 17:07, 24 December 2013 by Rho (talk | contribs) (added see also)
Jump to navigation Jump to search

Bugzilla is server software designed to help you manage software development.


You can install bugzilla from the official repositories.

# pacman -S bugzilla

It requires a bunch of perl modules to be installed too, but some required modules still need to be installed manually


Make a module check first:

$ cd /srv/http/bugzilla
$ ./checksetup.pl --check-modules

Check the screen output, you will learn which module is required and which is optional, for missing modules, it will also show you the shell command to install them.

Install all required and optional modules using:

$ perl install-module.pl -all

Next, some more configuration to let bugzilla know how to connect mysql and create initial tables in it.

Run checksetup.pl again, this time without the –check-modules switch:

$ ./checksetup.pl

A file called "localconfig" is generated if everything is ok. Then edit it, modify some parameters there:

$webservergroup = 'http';
$db_driver = 'DATABASE_TO_USE_HERE';
$db_name = 'DATABASE_NAME_HERE';
$db_user = 'DATABASE_USER_HERE';
$db_pass = 'YOUR_PASSWORD_HERE';


Finally, configure apache to run bugzilla using mod_cgi (also can be configured using mod_perl, refer this for details)

Add following lines to /etc/httpd/conf/httpd.conf:

<Directory /srv/http/bugzilla>
  AddHandler cgi-script .cgi
  Options +Indexes +ExecCGI
  DirectoryIndex index.cgi
  AllowOverride Limit

Now restart apache and required modules

Access http://server-domain-or-ip/bugzilla/ using your web browser.

See also