Installing bugzilla in Linux involves the following processes:
1. First install mysql
I installed mysql5.0.
There are many rpm packages for mysql5.0 on the internet, mainly for Installation
MySQL-shared-compat-5.0.24a-0.rhel4.i386.rpm
MySQL-devel-standard-5.0.24a-0.rhel4.i386.rpm
MySQL-server-standard-5.0.24a-0.rhel4.i386.rpm
To install the client, install the following two
MySQL-client-standard-5.0.24a-0.rhel4.i386.rpm
MySQL-test-standard-5.0.24a-0.rhel4.i386.rpm
Generally, socket (2) problems occur.
The solution is as follows:
First, check whether selinux is set in your linux system.
Modify/etc/selinux/config
SELINUXTYPE = disabled
Then, check whether the installed mysql directory belongs to the mysql user and group.
If not
Chown-R/var/lib/mysql
2. Apache installation is very simple
Download the rpm package from the Internet and install it directly. If your system comes with one, you do not have to install
Common problems:
Port occupied or cannot open webpage
Solution:
Modify httpd. conf
Listen 8089.
You can change the port number as needed.
Then, check whether your system has enabled the firewall. If yes, close it.
3. Install bugzilla and download it from the official website of bugzilla.
What I download is bugzilla-2.20.2.tar.
Next Extract
Tar-xcvf bugzilla-2.20.2.tar
Decompress the package and enter the decompressed directory.
Bugzilla-2.20.2/cd
Run
./Checksetup. pl
Will check which modules of bugzilla have not been installed
Checking perl modules...
Checking for AppConfig (v1.52) not found
Checking for CGI (v2.93) not found
Checking for Data: Dumper (any) OK: found v2.12
Checking for Date: Format (v2.21) not found
Checking for DBI (v1.38) OK: found v1.601
Checking for File: Spec (v0.84) found v0.83
Checking for File: Temp (any) OK: found v0.13
Checking for Template (v2.08) not found
Checking for Text: Wrap (v2001.0131) OK: found v2001.0929
Checking for Mail: Mailer (v1.65) not found
Checking for Storable (any) OK: found v2.06
The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart: Base (v1.0) not found
Checking for XML: Parser (any) OK: found v2.31
Checking for GD: Graph (any) not found
Checking for GD: Text: Align (any) not found
Checking for PatchReader (v0.9.4) not found
If you want to see graphical bug charts (plow.historical data over
Time), you should install libgd and the following Perl modules:
GD:/usr/bin/perl-MCPAN-e 'Install "GD "'
Chart:/usr/bin/perl-MCPAN-e 'Install "Chart: Base "'
If you want to see graphical bug reports (bar, pie and line charts
Current data), you should install libgd and the following Perl modules:
GD:/usr/bin/perl-MCPAN-e 'Install "GD "'
GD: Graph:/usr/bin/perl-MCPAN-e 'Install "GD: Graph "'
GD: Text: Align:/usr/bin/perl-MCPAN-e 'Install "GD: Text: Align "'
If you want to see pretty HTML views of patches, you should install
PatchReader module:
PatchReader:/usr/bin/perl-MCPAN-e 'Install "PatchReader "'
Bugzilla requires some Perl modules which are either missing from
Your system, or the version on your system is too old.
They can be installed by running (as root) the following:
/Usr/bin/perl-MCPAN-e 'Install "Mail: Mailer "'
Minimum version required: 1.65
/Usr/bin/perl-MCPAN-e 'Install "File: Spec "'
Minimum version required: 0.84
/Usr/bin/perl-MCPAN-e 'Install "AppConfig "'
Minimum version required: 1.52
/Usr/bin/perl-MCPAN-e 'Install "Template "'
Minimum version required: 2.08
/Usr/bin/perl-MCPAN-e 'Install "Date: Format "'
Minimum version required: 2.21
/Usr/bin/perl-MCPAN-e 'Install "CGI "'
Minimum version required: 2.93
Many packages are not installed.
Next, follow the prompts to install it online.
Perl-MCPAN-e 'Install "GD "'
Perl-MCPAN-e 'Install "Chart: Base "'
...............