Bugzilla on Mac OS X
Sun, 03/21/2010 - 21:44 | by BenViz
I'm setting up Bugzilla to run on my MacBook Pro. I've been debating on whether or not I should host it on my hosting services. Since I can't always guarantee net access, I decided to try it on my laptop. We'll see if that was smart or not.
There may be a few other things that need to be done that I had already done as part of other configurations. Please let me know of any oversights.
My configuration is:
- Mac OS X 10.6.2
- Built-in Apache2 (2.2)
- Built-in Perl (5.10.0)
- MySQL (Ver 14.14 Distrib 5.1.39) from http://mysql.com
- Bugzilla 3.6rc1
NOTE: I could not get Bugzilla 3.4.6 working due to the "Undef to trick_taint at Bugzilla/Util.pm line 62" issue. 3.6rc1 seems to be working without an issue.
Here is what I had to do:
- Bugzilla installation location:
/Library/WebServer/Documents/bugzilla. cdto the Bugzilla installation directory and issue the./checksetup.plcommand. (You can do that as frequently as you want in the following steps and it should tell you what else you need to do to finish the installation.)- Perl Modules installed (not in the order that I executed them in):
sudo perl -MCPAN -e 'install "YAML"'
sudo perl -MCPAN -e 'install "Bundle::Bugzilla"'
sudo perl -MCPAN -e 'install "Chart::Base"'
sudo perl -MCPAN -e 'install "Daemon::Generic"'
sudo perl -MCPAN -e 'install "DateTime::Locale"'
sudo perl -MCPAN -e 'install "DateTime::TimeZone"'
sudo perl -MCPAN -e 'install "Email::MIME"'
sudo perl -MCPAN -e 'install "Email::MIME::Attachment::Stripper"'
sudo perl -MCPAN -e 'install "Email::MIME::Encodings"'
sudo perl -MCPAN -e 'install "Email::Reply"'
sudo perl -MCPAN -e 'install "Email::Send"'
sudo perl -MCPAN -e 'install "GD"'
sudo perl -MCPAN -e 'install "GD::Graph"'
sudo perl -MCPAN -e 'install "GD::Text"'
sudo perl -MCPAN -e 'install "HTML::Scrubber"'
sudo perl -MCPAN -e 'install "Image::Magick"'
sudo perl -MCPAN -e 'install "JSON::RPC"'
sudo perl -MCPAN -e 'install "List::MoreUtils"'
sudo perl -MCPAN -e 'install "PatchReader"'
sudo perl -MCPAN -e 'install "SOAP::Lite"'
sudo perl -MCPAN -e 'install "Template::Plugin::GD::Image"'
sudo perl -MCPAN -e 'install "Test::Taint"'
sudo perl -MCPAN -e 'install "XML::Twig"'
- Setup the Bugzilla accounts in MySQL as required.
- Installed PatchReader from http://cyberelk.net/tim/data/patchutils/stable/
- Added the following to
/usr/local/mysql/etc/my.cnf:
[mysqld]
max_allowed_packet=4M
Remember to restart MySQL after updating this file. - Created
/etc/apache2/other/bugzilla.confwith the following content:
<Directory "/Library/WebServer/Documents/bugzilla">
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
</Directory>
Comments
Post new comment