Bugzilla is an open-source software that can release bugs and track bug progress. for details, refer to the official website of bugzilad: release:
Bugzilla is an open-source software that can release bugs and track bug progress. for details, see the official website of bugzilad: http://www.bugzilla.org/
Bytes
Installation steps:
1. install Http
1. you can use yum for installation, which is convenient.
# Yum install http
2. you can also use a CD to install
# Rpm-ivhapr-1.2.7-11.i386.rpm
# Rpm-ivhPostgresqlLibs-8.1.11-1.el5_1.1.i386.rpm
# Rpm-ivhapr-util-1.2.7-7.el5.i386.rpm
# Rpm-ivhhttpd-2.2.3-22.el5.i386.rpm
II. install MySQL
1. use yum for installation.
# Yum installMysqlPerl-DBI perl-DBD-MySQLMysql-Devel mysql-server
2. CD installation
# Rpm-ivhperl-DBI-1.52-2.el5.i386.rpm
# Rpm-ivhmysql-5.0.45-7.el5.i386.rpm
# Rpm-ivhperl-DBD-MySQL-3.0007-2.el5.i386.rpm
# Rpm-ivhmysql-devel-5.0.45-7.el5.i386.rpm
# Rpm-ivhmysql-server-5.0.45-7.el5.i386.rpm
3. install Bugzilla
# Cd/usr/local
# Tar zxvfbugzilla-3.2.2.tar.gz
# Cdbugzilla-3.2.2
#./Checksetup. pl (check the perl module required for installation)
Perl provides a simple module installation method: perl-MCPAN-e 'Install module name '. For example, to install the bugzilla module, run this command (theoretically): perl-MCPAN-e 'Install "Bundle: Bugzilla "'. However, it is generally not successful (the above Command is to install all modules together, you can also separate the modules, such as: perl-MCPAN-e 'installgd: Graph "').
Perl install-module.pl -- all is also possible.
After the preceding steps, you can install some perl modules.
4. start and configure MySQL
#/Etc/init. d/mysqldstart
# Mysqladmin-u rootpassword 123456
# Mysql-u root-p
Mysql> create database bugs;
Mysql> grant select, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, lock tables, create temporary tables, DROP, references on bugs. * TO bugs @ localhost identified by '20140901 ';
Mysql> flush privileges;
Mysql> quit
V. InstallationSendmailOr (qmail)
Red Hat sendmail can be used by default. if not, we recommend that you install qmail.
6. configure Bugzilla and Http
1. copy the installed Bugzilla to the Http home directory and configure it.
# Cp-rf/usr/local/bugzilla-3.2.2/var/www/html/bugzilla
# Cd/var/www/html/bugzilla/
# Vim localconfig
Here:
$ Db_host = "localhost ";
$ Db_name = "bugs ";
$ Db_user = "bugs ";
$ Db_pass = "123456 "; ------- This is what you used to create a database.
After that, run checksetup. pl again. The database and tables in the database will be created as required, and you are required to enter the administrator's email, realname, and password. Finally, set the bugzilla directory permissions.
# Chown-R apache. apache bugzilla
2. configure Http
# Vim/etc/httpd/conf/httpd. conf
Search:
AddHandler cgi-script. cgi remove the comment.
Search for and modify it:
DirectoryIndex index. cgi index.html. var
Adddefacharcharset GB2312
Added:
Options ExecCGI
AllowOverride Limit
Now, enable the apache service and log on to the Bugzilla. the logon method is http: // bug-server/bugzilla.