Jump to content

# Bugzilla

2 languages

- 日本語
- 中文（简体）

From ArchWiki

Related articles

- LAMP
- MariaDB
- Sqlite

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

## Installation

Install the bugzilla package.

## Configuration

### Module dependencies

Perform a module check first:

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

Check the output for which modules are required and which are optional. The shell commands to install missing modules will also be shown.

Install all required and optional modules using:

    # perl install-module.pl --all

### Final module check

What follows is some more configuration to let BugZilla connect to 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 okay. Then, modify some of the file's parameters:

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

### Apache

Finally, configure Apache HTTP Server to run BugZilla using mod_cgi (can also be configured using mod_perl; refer to this for details).

First uncomment the following line in `/etc/httpd/conf/httpd.conf`:

    LoadModule cgi_module modules/mod_cgi.so

Then add the following lines to `/etc/httpd/conf/httpd.conf`:

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

Now restart Apache and required modules.

Access `http://server_domain_or_ip/bugzilla/` using your web browser.

## See also

- bugzilla documentation
- https://web.archive.org/web/20200111080219/http://blog.samsonis.me/2009/04/bugzilla-on-archlinux/

Categories:

- Issue tracking systems
- Mozilla