Install configuration Bugzilla Notes

Source: Internet
Author: User
Tags mysql version create database

Because of the installation of their own time to take some detours, so on the one hand to remind themselves, on the other hand, you can have the need for a friend to make a reference

Bugzilla is an open-source software that can post bugs and track progress on bugs, and the official documentation can be viewed: http://www.bugzilla.org/docs/

I was installed on the RH9 successfully bugzilla-2.18rc3, and successfully installed the configuration over 2.16 7, and later found in 2.18 to add the function of the chart, it is very interesting, so upgraded a bit. Before installing, determine the version of some software on your machine: Perl (5.6 or above), MySQL (3.23.41 or above), SendMail (8.7 or above), http://www.bugzilla.org/ download/download 2.18RC3 and unzip locally

#cd/usr/local

#tar-ZXVF bugzilla-2.18rc3.tar.gz

#cd Bugzilla

#./checksetup.pl-------Check the Perl modules required for installation

If the corresponding Perl module is missing, there are two ways to fix it:

1.perl-mcan-e ' Install ' bundle::bugzilla '------Select the CPAN host site to download and install the missing Perl module and enter ~/when completed. Cpan/build View install.html Understanding Installation

2. Direct to http://www/cpan.org/modules/, download the corresponding module down, decompression after installation, such as CGI module

#cd CGI

#perl makefile.pl

#make

#make Test

#make Install

All modules can be installed according to this method, in the installation of some modules such as Template Toolkit will have some information requirements to confirm, in accordance with the default all the way to enter

Note: I am more inclined to the second method, a more flexible, you can download the installation of different versions of the module, the other is not dependent on the network situation, the first time I installed the first method, the results of a long time did not download a module, and then know that Cpan's website closed, Halo ~. There is also a point to remind, sometimes the information displayed after running checksetup.pl will only be found and not OK, which means that the current module is too low version, need to download a newer version of the installation

Then make a link to Perl # ln-s/usr/bin/perl/usr/bonsaitools/bin/perl

After installing the Perl module that you need, it's half done, and then set up MySQL

#mysql-U root-pyourpasswd

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 ' $db _pass ';

mysql> FLUSH privileges;

Mysql>quit

-----------The bold fields above only your MySQL version of 4.0 is required, where the bugs, Bugs@localhost and $db_pass, respectively, for Bugzilla established database name, bugzilla database user and password, Please use your notes when you're ready, and you'll need it soon.

Then enter the Bugzilla directory, modify the Localconfig file, modify the following:

$db _host = "localhost";

$db _name = "Bugs";

$db _user = "Bugs";

$db _pass = "xxxx";-------is what you used when you built the database.

OK, then run checksetup.pl again, and here you will create the database and tables in it, and ask you to enter the administrator's email, realname, and password, and finally set the Bugzilla directory permissions

#chown-R Apache.apache 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.