Installation and configuration of Bugzilla
Step 1: Getting the source code
Bugzilla is part of the Mozilla foundation. Its latest releases are available from the official website. This article will be covering the installation of Bugzilla version 4.4.2. The steps mentioned here should apply to later releases as well. However, for version-specific releases, check the appropriate release notes. Here is the URL for downloading Bugzilla version 4.4.2 on a Linux system: http://www. bugzilla.org/releases/4.4.2/
Pre-requisites for Bugzilla include a CGI-enabled Web server (an Apache http server), a database engine (MySQL, PostgreSQL, etc) and the latest Perl modules. Ensure all of them are on your Linux system before proceeding with the installation. This specific installation covers MySQL as the backend database.
Step 2: User and database creation
Before proceeding with the installation, the user and database need to be created by following the steps mentioned below.
The names used here for the database or the users are specific to this installation, which can change between installations.
Start the service by issuing the following command:
$/etc/rc.d/init.d/mysql start Trigger MySQL by issuing the following command (you will be asked for the root password, so ensure you keep it handy):
$mysql -u root -p Use the following keywords as shown in the MySQL prompt for creating a user in the database for Bugzilla: