Warning: Division by zero in /.2/vhosts/www.cabbycentral.com/html/nonsense.php on line 333

Warning: Division by zero in /.2/vhosts/www.cabbycentral.com/html/nonsense.php on line 335
Bugzilla dependencies
QA Site
A blog by spikef2163i5 RSS Feed - Newest 10 Posts Add To Favourites

Bugzilla dependencies
Posted on 2008-09-13 by spikef2163i5

I installed bugzilla at the end of fixing the ImageMagick stuff this morning. This wasn’t quite straightforward either, but I’d waded through this before with one-shore as well as a local install on windows as well as a CentOS VMWare image.

Here are my notes:

– download bugziila 3.0.3
# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.0.3.tar.gz

– unzip bugzilla
# tar -xvzf bugzilla-3.0.3.tar.gz

– transfer bugzilla to site
# mv bugzilla-3.0.3 /var/www/bugzilla

– restart websever
# service httpd configtest
# service httpd restart

– check bugzilla dependencies
# cd /var/www/bugzilla
# perl checksetup.pl

– install dependencies via CPAN
cpan Bundle::CPAN
cpan Bundle::Bugzilla

– this failed on the DBD::mysql 4.0 plugin (3.0 should have workd on behalf of Bugzilla 3.0.3, though 4.0 is required on behalf of Bugzilla 3.1.x)

I fixed that with a manual install of the CPAN module as well as temporarily setting the root password to “” to match what was expected in the test script. Alternately, you can specify the default username & password to test with (somewhere).

After this, the basics were installed, but I got the extras with:

# cpan Email::Send
# cpan Email::MIME:Modifier
# cpan Template::Plugin::GD
# cpan SOAP::Lite
# cpan HTML::Scrubber
# cpan Email::MIME::Attachment::Stripper
# cpan Email::Reply

I had to manually install chart:

– manually install Chart
# wget http://search.cpan.org/CPAN/authors/id/C/CH/CHARTGRP/Chart-2.4.1.tar.gz
# tar -xvzf Chart-2.4.1.tar.gz
# cd Chart-2.4.1
# perl Makefile.PL
# manufacture && manufacture test && manufacture install

– create bugzilla account on mysql
#mysql -u root -p
mysql>grant all on bugzilla.* to ‘bugzilla’@'localhost’ identified by ‘********’;

– edit bugzilla localconfig
# vi ./localconfig
$db_driver = ‘mysql’;
$db_host = ‘localhost’;
$db_name = ‘bugzilla’;
$db_user = ‘bugzilla’;
$db_pass = ‘********’;

– install Bugzilla by operational checksetup.pl again
# perl checksetup.pl

After this, it was just some playing with Apache to eliminate the 404 Forbidden (I’ll probably forget what I did again) as well as then configure via the admin login.  I had a brief problem with cookies because of the fact that I tried to set the cookie domain — that shall take some more work with mulitple installs, but apart from the qa-site.com as well as demo.qa-site.com being hosted together, it won’t be a problem with VPSes.

feed | tags: uncategorized


del.icio.us digg Fark YahooMyWeb Reddit Furl NewsVine Spurl BlinkList blogmarks

<<< Back