Install bugzllia in centos

Source: Internet
Author: User

1. Install the bugzilla dependent library.

Yum install GD Gd-devel httpd mysqld GCC g ++ make

 

Yum install Perl-XML-twig
Yum install ImageMagick-perl
Yum install mod_perl
Yum install Perl-HTML-parser
Yum install Perl-email-mime-attachment-Stripper
Yum install Perl-Chart
Yum install Perl-patchreader

 

Yum install Perl-net-LDAP

 

2. Generate and configure the bugzilla database.

Mysql-uroot-P

Mysql> Create Database bugs default Character Set utf8

Mysql> grant select, insert, update, delete, index, alter, create,
Lock tables, create temporary tables, drop, references on bugs. *
Bugs @ localhost identified by 'passwd ';

 

3. Download and install bugzllia.

Http://www.bugzilla.org/download/#stable

 

First, check whether the corresponding Perl module has been installed:
./Checksetup. pl-check-Modules

The following content appears:

Install the required Perl package:
/Usr/bin/perl-mcpan-e 'Install Email: send'
/Usr/bin/perl-mcpan-e 'Install template'
/Usr/bin/perl-mcpan-e 'Install Email: MIME: modifier'

Install an optional Perl package:
/Usr/bin/perl-mcpan-e 'Install GD: graph'
/Usr/bin/perl-mcpan-e 'Install template: Plugin: Gd: image'
/Usr/bin/perl-mcpan-e 'Install Email: reply'
/Usr/bin/perl-mcpan-e 'Install Email: MIME: attachment: Stripper'
/Usr/bin/perl-mcpan-e 'Install HTML: scrubber'
/Usr/bin/perl-mcpan-e 'Install XML: twig'
/Usr/bin/perl-mcpan-e 'Install chart: base'
/Usr/bin/perl-mcpan-e 'Install Apache: dbi'

With that missing, you can use the command to install the package: Perl-mcpan-e 'package name'

If all are OK.

Modify the localconfig file and set the database access method.
Modify the following settings of localconfig:
$ Db_pass = ";
Is
$ Db_pass = 'passwd ';

Run checksetup. pl again to initialize the database.

 

4. Modify the httpd. conf file to create a virtual path for bugzllia.

Finally, configure the Apache server to make Bugzilla 3 available later. In this step, you only need to add the following files:

/Etc/httpd/CONF. d/Bugzilla. conf

The content of the/etc/httpd/CONF. d/Bugzilla. conf file is as follows:

#
# This configuration file is Bugzilla.
#

Alias/bugzilla "/var/www/bugzilla"

Addhandler CGI-script. cgi
Options + indexes + execcgi
Directoryindex index. cgi
AllowOverride limit
Order allow, deny
Allow from all

After adding the Apache configuration file, restart httpd. If the file does not take effect after restart, restart the Server Host:

Service httpd restart

 

5. log on to bugzllia.

Http: // ip/Bugzilla

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.