红联Linux门户
Linux帮助

Linux下安装Bugzilla-开源Bug管理工具

发布时间:2007-11-17 01:53:38来源:红联作者:HonxeInc
1. Install a Database Engine
mysql> grant all privileges on *.* to bugs@'%' identified by 'bugs'; //创建一个bugs用户,并且赋予root权限给bugs用户,新建用户之后可以用windows的Mysql-Front连接到mysql数据库.

mysql> FLUSH PRIVILEGES;
mysql> create database bugs;

2. Install a Webserver

3. Install Perl modules
follow the "perl -MCPAN -e 'install xx' ",Install Perl

1. AppConfig (1.52)
2. CGI (2.93)
3. Data::Dumper (any)
4. Date::Format (2.21)
5. DBI (1.38)
6. DBD::mysql (2.9003) if using MySQL
7. DBD::Pg (1.31) if using PostgreSQL
8. File::Spec (0.84)
9. File::Temp (any)
10. Template (2.08)
11. Text::Wrap (2001.0131)
12. Mail::Mailer (1.65)
13. Storable (any)
Optional Perl modules:
1. GD (1.20) for bug charting
2. Chart::Base (1.0) for bug charting
3. GD::Graph (any) for bug charting
4. GD::Text::Align (any) for bug charting
5. XML::Parser (any) for the XML interface
6. PatchReader (0.9.4) for pretty HTML view of patches
7. MIME::Parser (any) for the optional email interface

4 vi ./localconfig //
$db_host = '192.168.1.188'; # where is the database?
$db_name = 'bugs'; # name of the SQL database
$db_user = 'bugs'; # user to attach to the SQL database
$db_pass = 'bugs'; # password for the mysql user;

5 Run checksetup.pl to Install Bugzilla

6 配置/etc/httpd/conf/httpd.conf使其支持cgi文件;


AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit


7 重启mysql和apache;登陆bugzilla;
文章评论

共有 0 条评论