Installing and configuring bugzilla 4.0.2 on Ubuntu 11.10

Installing and configuring bugzilla 4.0.2 on Ubuntu 11.10

Install the required packegs

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 bugzialla from link.

tar xzf bugzilla-STABLE.tar.gz

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

cd /var/www/bugs

 sudo /usr/bin/perl install-module.pl --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 ./checksetup.pl

sudo /etc/init.d/apache2 restart

http://ip.add.re.ss/bugzilla/


Done!!