4.1.5. Perl Modules
All Perl modules can be found on the
@@ -822,7 +845,9 @@ CLASS="section"
>
4.1.5.1. DBIThe DBI module is a generic Perl module used the
MySQL-related modules. As long as your Perl installation was done
@@ -835,7 +860,9 @@ CLASS="section"
>
4.1.5.2. Data::DumperThe Data::Dumper module provides data structure persistence for
Perl (similar to Java's serialization). It comes with later
@@ -847,7 +874,9 @@ CLASS="section"
>
4.1.5.3. MySQL-related modulesThe Perl/MySQL interface requires a few mutually-dependent Perl
modules. These modules are grouped together into the the
@@ -871,7 +900,9 @@ CLASS="section"
>
4.1.5.4. TimeDate modulesMany of the more common date/time/calendar related Perl modules
have been grouped into a bundle similar to the MySQL modules bundle.
@@ -885,7 +916,9 @@ CLASS="section"
>
4.1.5.5. GD (optional)The GD library was written by Thomas Boutell a long while ago to
programatically generate images in C. Since then it's become the
@@ -938,7 +971,9 @@ CLASS="section"
>
4.1.5.6. Chart::Base (optional)The Chart module provides Bugzilla with on-the-fly charting
abilities. It can be installed in the usual fashion after it has been
@@ -951,7 +986,9 @@ CLASS="section"
>
4.1.5.7. Template ToolkitWhen you install Template Toolkit, you'll get asked various
questions about features to enable. The defaults are fine, except
@@ -967,7 +1004,9 @@ CLASS="section"
>
4.1.6. HTTP ServerYou have a freedom of choice here - Apache, Netscape or any other
server on UNIX would do. You can run the web server on a
@@ -1009,8 +1048,12 @@ VALIGN="TOP"
>
You'll want to make sure that your web server will run any file
- with the .cgi extension as a CGI and not just display it. If you're
+>You'll want to make sure that your web server will run
+ any file
+ with the .cgi extension as a CGI program and not simply display the source
+ code. If you're
using Apache that means uncommenting the following line in the httpd.conf
file:
AddHandler cgi-script .cgi
AddHandler cgi-script .cgi
+ With Apache you'll also want to make sure that within the
- httpd.conf file the line:
+ httpd.conf file these lines:
Options ExecCGI AllowOverride Limit
Options +ExecCGI
+AllowOverride Limit
+
- is in the stanza that covers the directories into which you intend to
+ are in the stanza that covers the directories into which you intend to
put the bugzilla .html and .cgi files.
Users of older versions of Apache may find the above lines
- in the srm.conf and access.conf files, respecitvely.
"data"
- and
- "shadow"
- directories and the
+ directory and the
"localconfig"4.1.7. BugzillaYou should untar the Bugzilla files into a directory that you're
willing to make writable by the default web server user (probably
@@ -1219,6 +1262,64 @@ CLASS="filename"
for Perl. This can be done using the following Perl one-liner, but
I suggest using the symlink approach to avoid upgrade hassles.
| "Bonsaitools" is the name Terry Weissman, the
+ original author of Bugzilla, created
+ for his suite of webtools at the time he created Bugzilla and several
+ other tools in use at mozilla.org. He created a directory,
+ /usr/bonsaitools to house his specific versions
+ of perl and other utilities. This usage is still current at
+ bugzilla.mozilla.org,
+ but in general most other places do not use it. You can either edit
+ the paths at the start of each perl file to the correct location of
+ perl on your system, or simply bow to history and create a
+ /usr/bonsaitools and /usr/bonsaitools/bin
+ directory, placing a symlink to perl on your system
+ inside /usr/bonsaitools/bin
+ |
perl -pi -e
- 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm
- processmail syncshadowdb
perl -pi -e 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm processmail syncshadowdb
+ 4.1.8. Setting Up the MySQL DatabaseAfter you've gotten all the software installed and working you're
ready to start preparing the database for its life as the back end to
@@ -1423,7 +1525,9 @@ CLASS="section"
>
4.1.9. 4.1.9. checksetup.pl
4.1.10. Securing MySQLIf you followed the installation instructions for setting up your
"bugs" and "root" user in MySQL, much of this should not apply to you.
@@ -1850,7 +1956,9 @@ CLASS="section"
>
4.1.11. Configuring Bugzilla
You should run through the parameters on the Edit Parameters page
(link in the footer) and set them all to appropriate values.
--
cgit v1.2.3-24-g4f1b