日期:2014-05-16  浏览次数:20579 次

bugzilla/linux安装
安装mysql
建议安装MySQL 5.0

关于MySQL 5.0的rpm包网上有很多,主要安装

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
客户端要安装的话就安装下面两个

MySQL-client-standard-5.0.24a-0.rhel4.i386.rpm
MySQL-test-standard-5.0.24a-0.rhel4.i386.rpm
一般都会遇到socket(2)问题

解决方法如下:

先看看自己的linux系统有没有设置selinux
修改 /etc/selinux/config
SELINUXTYPE=disabled
看看自己安装的mysql目录是不是属于mysql用户和组,如果不是就
chown -R /var/lib/mysql
Apache的安装
Apache安装比较简单,下载rpm 包,直接安装。如果本身系统自带,就不必安装

一般会遇到的问题:

端口被占用或者打不开网页
解决方法:修改httpd.conf

Listen 8089
端口号可以任意更改

然后检查自己的系统是不是开启了防火墙,如果开启,关闭即可

Bugzilla的安装
将下载下来的Bugzilla解压

tar -xcvf bugzilla-2.20.2.tar
解压后 进入 解压的目录

cd /bugzilla-2.20.2
执行

./checksetup.pl
会检查bugzilla的哪些模块还没有安装

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 you want to see graphical bug charts (plotting 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 you want to see graphical bug reports (bar, pie and line charts of
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 the
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 ro