Welcome to my blah blah blog.

Tutorial: Installing Bugzilla on Fedora 11 & CentOS 5

Installing Bugzilla

So a buddy of mine, Charlie Glisan, was having issues installing Bugzilla on Fedora 11 and CentOS 5 a while back. After hours of strife, and finally getting the software up and running, he decided he would write detailed instructions on how to accomplish the install. He doesn’t have a blog himself and thought that it might be helpful to others out there that are trying to accomplish the same goal to have the instructions available, so he asked if I would like to post the instructions on my blog.

I am always a fan of finding helpful information out on the interwebs, so I am posting his instructions, verbatim, in hopes that they are helpful to a few struggling souls. If you have any questions, or find errors, please post them in the comments below and we will try to get to them as quickly as possible.

Installing Bugzilla on Fedora 11 & CentOS 5

Log in as root or su:

$ su
(enter root password)

For CentOS only, add the EPEL repository (which contains Bugzilla):

$ rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

Install Bugzilla:

$ yum install bugzilla

Install MySQL:

$ yum install mysql-server

Install Apache:

$ yum install httpd

Start the the MySQL service:

$ /etc/init.d/mysqld start

Set password for the root user in MySQL:

$ mysqladmin -u root password {password}

Log into MySQL:

$ mysql -u root -p

Create ‘bugs’ user in MySQL:

mysql> CREATE USER 'bugs'@'localhost' IDENTIFIED BY '{password}';

Create ‘bugs’ database in MySQL:

mysql> CREATE DATABASE bugs;

Grant privileges to ‘bugs’ user:

mysql> GRANT ALL ON bugs.* TO 'bugs'@'localhost';

Run checksetup.pl to check modules and to create a new copy of localconfig:

$ /usr/share/bugzilla/./checksetup.pl

Edit your copy of localconfg – change $db_pass to the password you entered for the MySQL user ‘bugs’ earlier:

$ gedit /etc/bugzilla/localconfig
$db_pass = '{password}';

Run checksetup.pl again to finish setting up Bugzilla:

$ /usr/share/bugzilla/./checksetup.pl

When prompted to do so specify the Bugzilla administrator’s email address, name, and password.

Start apache:

$ /etc/init.d/httpd start

Go to http://localhost/bugzilla/ in a browser and behold.

If, upon a reboot, mysqld and/or httpd are not running, you can add them to the list of services that run at startup:

$ ntsysv (Or $ /usr/sbin/ntsysv on CentOS)

Arrow up or down to find mysqld and/or httpd. Hit the space key to select/deselect the service. When done, hit Tab to get to the Ok or Cancel buttons.


  1. Murali

    Posted on September 19th, 2011 at 1:52 am

    Hey, thank you for nice information. Looks like configuring httpd.conf to include bugzilla is missing.

    Thank you for the steps though

  2. lmntcrans

    Posted on March 26th, 2012 at 11:59 am

    Murali; current versions put in a /etc/httpd/conf.d/bugzilla file for you, taking care of that

  3. Sterling Michel

    Posted on March 27th, 2012 at 5:30 pm

    Thanks you much. I spent one week trying to get it install using the source code from bugzilla and I think there is an issue with the code.

  4. Robbie

    Posted on April 24th, 2012 at 3:22 am

    Great – this saved me a lot of ball-ache!


  5. Vijay

    Posted on June 10th, 2012 at 10:43 am


    I have installed BugZilla through YUM and execution of checksetup.pl
    is sucessfull. It throws error ‘403 Forbidden’ when try to access bugzill with url: http://localhost/bugzilla/.

    I am using CentOS.

    Pls suugest me if i missed any setps.


  6. Kevin deLeon

    Posted on June 10th, 2012 at 11:38 am


    As I stated in the blog post, I didn’t write this tutorial. I was just posting it for a friend (kind of a guest writer). So, I am sorry to say you are probably on your own. If he swings through, maybe he’ll post a reply.

    As for 403 errors…they can be caused by many different things. One of the most common is visiting an empty directory when “directory listing” is turned off on the server. However, if bugzilla was installed successfully to the localhost/bugzilla/ directory, then that seems like an unlikely problem. I would check to make sure there are actually files in that directory as a first step.

  7. prashansa

    Posted on August 4th, 2012 at 7:46 am

    ii have installed bugzilla following these steps but it’s giving an error
    /etc/bugzilla/localconfig: Permission denied at Bugzilla/Install/Localconfig.pm line 386.

  8. Kevin deLeon

    Posted on August 4th, 2012 at 12:05 pm

    @prashansa, Sorry you are having trouble with the install. It looks like Bugzilla is trying to write a file called localconfig to that directory “/etc/bugzilla/”… You may not have permissions to do that.

    Be sure you are running checksetup.pl (./checksetup.pl) from the Bugzilla directory (cd /path/to/bugzilla;), and that your account has write access to that directory.

  9. prashansa

    Posted on August 7th, 2012 at 5:00 am

    kevin thank’s for your reply
    now bugzilla is installed propely but still giving an error during configuration
    ERROR:install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
    Compilation failed in require at (eval 1314) line 3, line 558.

  10. Kevin deLeon

    Posted on August 7th, 2012 at 8:44 am


    No problem…glad that helped. It sounds like you are either missing the Perl DBD::mysql module or according to an article I found, if you are using OS X, then it may be a path issue.


    See if that link helps…if not, make sure you have the correct Perl module installed for mysql.

  11. prashansa

    Posted on August 8th, 2012 at 4:13 am

    thank for your support kevin

    I am working on fedora 17 yes i found there is misssing PerlDBD
    now i have installed tar file of DBD but where should i placed that DBD file in in mysql folder or in bugzilla folder
    (bugzilla and mysql both is in /usr/local file)

  12. Tomas

    Posted on April 8th, 2013 at 9:31 am

    Thanks! This is a great step-by-step guide! I’m using Fedora 18 and it works almost perfect, I just need to use:

    service [service_name] start

    instead of the commands in this guide.

  13. Dee

    Posted on October 8th, 2013 at 12:10 pm

    Thank you! You did the great work! Peace!

Thoughts? Leave a Comment.