Skip to content


Bugzilla Installation on Ubuntu System

Installation checklist

  1. Perl 5.8.1 or above – this usually comes with Ubuntu 8.04 or above by default.
  2. MySQL Server
  3. Apache Web Server 1.3.x or 2.x

Install the required packages

  1. For MySQL, do apt-get install mysql-server mysql-client

  2. For Apache, do apt-get install apache2 apache2-common

  3. For Perl Modules, there’s a long list. Do the following
apt-get install libchart-perl perlmagick libgd-gd2-perl
libgd-graph-perl libgd-text-perl libnet-ldap-perl
libtemplate-perl-doc libtemplate-plugin-gd-perl
libappconfig-perl libconvert-binhex-perl libfile-temp-perl
libio-stringy-perl libmailtools-perl libmime-perl libmime-tools-perl
libtemplate-perl libtimedate-perl libemail-send-perl
libemail-mime-perl libemail-mime-modifier-perl libdbd-pg-perl
libauthen-sasl-perl libsoap-lite-perl libhtml-scrubber-perl
libemail-mime-contenttype-perl libemail-mime-encodings-perl
libapache2-mod-perl2

4. Extract the bugzilla tar ball into /var/www directory and rename the directory name to bugzilla
5.
Change the ownership of the directory and files to www-data by using
chown www-data /var/www/bugzilla/ -R
6. Go into /var/www/bugzilla and run the following

./checksetup.pl --check-modules 

It will list out all the modules which have been installed and the

On Ubuntu 8.04, an old perl-cgi module is there (version 3.15)
whereas bugzilla 3.2.2 requires 3.21 or above. Do the following to update it
  • Download the file CGI.pm-3.42.tar.gz

  • The following commands to be used
cd /tmp
tar -zxf CGI.pm-3.42.tar.gz
cd CGI.pm-3.42
perl Makefile.PL       # to configure the file
make                   # to compile the file
make test              # to test if the compilation has been okay
make install           # to install the module CGI version 3.42

optional modules which you can install. Use your own discretion.

Posted in Linux.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

Spam protection by WP Captcha-Free



I'm happy to use Increase Sociability.