I installed bugzilla after fixing the ImageMagick stuff this morning. This wasn’t quite straightforward either, but I’d waded through this before with one-shore and a local install on windows and 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
– move 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 for Bugzilla 3.0.3, though 4.0 is required for Bugzilla 3.1.x)
I fixed that with a manual install of the CPAN module and 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
# make && make test && make 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 running checksetup.pl again
# perl checksetup.pl
After this, it was just some playing with Apache to get rid of the 404 Forbidden (I’ll probably forget what I did again) and then configure via the admin login. I had a brief problem with cookies because I tried to set the cookie domain — that will take some more work with mulitple installs, but apart from the qa-site.com and demo.qa-site.com being hosted together, it won’t be a problem with VPSes.