Manage Software Development with Bugzilla 4.2.1 installation and configuration on Ubuntu 12.04 LTS

Bugzilla can be used to track bugs and feature requests which helps in better management of software development.  You can buy a VPS from

Install the required packages


sudo apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-send-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl


 Install the optional package


sudo apt-get install apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl


Install even More Optional:

sudo apt-get install libtemplate-perl-doc bzr


For other OS please refer Bugzilla:Prerequisites


Download stable version of bugzilla.


tar xzf bugzilla-STABLE.tar.gz


sudo mv bugzilla-STABLE.tar.gz /var/www/bugs


cd /var/www/bugs


sudo /usr/bin/perl –all




sudo vi /etc/apache2/apache2.conf


Alias /bugs/ /var/www/bugs/

        AddHandler cgi-script .cgi .pl

        Options +Indexes +execCGI +FollowSymLinks

        DirectoryIndex index.cgi

        AllowOverride Limit

$ sudo useradd -d /home/apache2 -m apache2

$ sudo passwd apache2


Edit /etc/apache2/envvars to add.


export APACHE_RUN_USER=apache2

export APACHE_RUN_GROUP=apache2

vim /var/www/bugs/localconfig




$webservergroup = ‘apache2′;


sudo ./


sudo /etc/init.d/apache2 restart




Leave a Reply

Your email address will not be published. Required fields are marked *