Today I wanted to install Bugzilla on my server. I Googled around and found a few tutorials outlining one way to get it accomplished. Unfortunately, some of the configuration that was outlined in those tutorials did not match up with how I was trying to set it up. Here is (for myself as much as for anyone else) a quick description of the problem and solution.
The tutorials I found online appear to be geared toward setting up Bugzilla on a server with a fresh install of Ubuntu 12.04, minus Apache, MySQL, or the necessary Perl modules. Additionally, the Apache configuration is set up with access to Bugzilla at www.somedomain.com/bugzilla. In my case, I did not need to create a new Apache users or group, did not need to install MySQL, and already had most of the Perl modules installed from supporting other applications. Additionally, I wanted to set up Bugzilla at bugs.discypher.org instead of www.discypher.org/bugzilla.
For the most part, I followed this tutorial for installing Bugzilla on Ubuntu 11.04 by Rinzwind at askubuntu.com. (Thanks!). The Apache configuration works just fine as laid out in that tutorial, but did not meet my needs. Instead of creating a new Apache group, I used the Apache group that already exists on my system. It was this existing group that I entered in the /var/www/bugzilla/localconfig file. Instead of editing the /etc/apache2/apache2.conf file to add the <directory>…</directory>, I simply copied over the ‘default’ conf file to a ‘bugs’ file in /etc/apache2/sites-available. I used the same directives in my ‘bugs’ conf file as was suggested in Rinzwind’s tutorial for the apache2.conf file.
Once the site was enabled and Apache was restarted everything was up and running. Now I have some bug tracking software running on my server. As I am gearing up to start my radio project, it will be quite useful. I’ve set it up to integrate with Mylyn in Eclipse (which I am also getting acquainted with this week). Thanks for reading, and hopefully this helps someone who may be in a similar situation.
Edit: A few typos.