top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to install Bugzilla in centos ?

+2 votes

Please provide any example link..

posted Oct 1, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

First, let’s begin by installing the necessary packages. Type the following:

yum install perl* mod_perl-devel -y

After the installation of the necessary packages is over, execute the following command in order to download the latest version of Bugzilla (adapt the URL to match the current version):


Unpack it to the desired directory:

tar zxvf bugzilla-4.2.2.tar.gz -C /var/www/html/

Enter the directory that contains the unpacked Bugzilla installation and rename the “bugzilla-${VERSION}” directory to something more convenient for web access:

cd /var/www/html/

mv -v bugzilla-4.4 bugzilla

Login to mysql using ‘root’ as user and your mysql ‘root’ password, and create a database for the Bugzilla installation:

mysql -uroot -p

mysql> create database bugzilla_DB;

Grant all privileges on the database you just created to a newly created user and identify it by his own password:

mysql> grant all on bugzilla_DB.* to some_user@localhost identified by 'random_password';

and exit mysql:

mysql> \q

Run the following command to find the necessary modules:


After the script is done, install the necessary and the optional modules by executing:

# /usr/bin/perl --all

Once the modules are installed, run the script again to generate the localconfig file:

Use your favorite text editor (in this case vim) and edit the $db_name, $db_user and $db_pass entries in the ‘localconfig’ file and fill them with the mysql database information we set earlier:

vim ./localconfig

Again, run the checksetup script to set initial configuration:


Next, these few lines need to be appended to the apache config file:

vim /etc/httpd/conf/httpd.conf

<Directory /var/www/html/bugzilla>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes

Save the file and execute the following command to restart the webserver:

service httpd restart

That’s it! Open http://<IP_ADDRESS_OR_HOSTNAME>/bugzilla and start organizing your software development!

NOTE: In case of “500 Internal Server Error” on your first try to access Bugzilla, please check for the “Options” line in the .htaccess file and comment it out.

answer Oct 3, 2014 by Amit Kumar Pandey
Similar Questions
0 votes

I want to use bugzilla. I have downloaded xampp. But I don't know any further process how to install it and what other related software should need to install.

Please help?

+2 votes

I can not find a resolution on bugzilla's doc about how to install bugzilla with https. By default, the bugzilla installation will be access with http://, not https://

If I want to access use https://, is there any package or software additional should be installed first? Or I can just configure on Bugzilla's parameter: SSL_Redirect and sslbase, and no need to change with bugzilla installation?

+1 vote

I was installing bugzilla on Solaris machine and getting below error

./ http://localhost
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got padlock picture.
TEST-FAILED Webserver is fetching rather than executing CGI files.
Check the AddHandler statement in your httpd.conf file.

I checked httpd.conf and I have added AddHandler cgi-script .cgi in this file. But not able to get through. Could you help me please.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.