Centos 6.5 Installation Bugzilla 5.0.2

Source: Internet
Author: User

1. Download Bugzilla

: https://ftp.mozilla.org/pub/webtools/

Because I did a search on GitHub. "Bugzilla cn" Prompts the Chinese language pack on the 5.0.2 version.

Another address with a Chinese language pack: Https://github.com/hxping7/bugzilla5.0.2_zh-CN

2. Install MySQL

1. Querying the current version

Rpm–qa | grep MySQL

[Email protected] ~]# Rpm-qa | grep MySQL

Mysql-5.1.73-3.el6_5.x86_64

Mysql-libs-5.1.73-3.el6_5.x86_64

Mysql-server-5.1.73-3.el6_5.x86_64

Mysql-connector-odbc-5.1.5r1144-7.el6.x86_64

2. Uninstall the current version

Rpm–e or Rpm–e--nodeps

3. View the list of installable versions

Yum List | grep MySQL

4. Installation version

Yum install-y mysql-server MySQL mysql-devel

See if the installation was successful with "Rpm–qi Mysql-server"

5. Start MySQL

Service mysqld Start

Service mysqld Restart

6. Set Boot up

Query boot status: Chkconfig--list | grep mysqld

Set boot up: Chkconfig mysqld on

7. Configure MySQL

After starting the MySQL service, you need to set the root password and add other users (about how to set the root password, when the first start of the service prompted)

/usr/bin/mysqladmin-u root password ' new-password '//Set password for root account

Login Test

Mysql–u root–p

3. Installing the HTTPD Service

See http://wenhai.iteye.com/blog/2280133 2nd "Install httpd service".

4. Installing Bugzilla

1. root User login MySQL

Mysql–u root–p

2. Create the bugs database and grant root user rights

Create database bugs;

Authorized:

Grant all on bugs.* to [e-mail protected] identified by "root"; #授权

Flush privileges; # Refresh

3. Unzip the Bugzilla

Tar XF bugzilla-5.0.2_cn.tar.gz-c/var/www/html/

4. Installing the Perl environment

Go to the Bugzilla directory and execute "perl checksetup.pl"

Follow the prompts to install the necessary plugins.

or perform "/usr/bin/perl Install-module.pl–all" to install all the necessary and optional modules directly, eliminating the hassle of one execution (but taking a long time).

After all plug-ins have been installed, execute the "Perl checksetup.pl" command, prompting "checksetup.pl complete." You can proceed to the next step.

Execution Error:

Hint ' @ ' localhost ' has no permissions on the bugs database

Go to MySQL and execute "grant all on bugs.*" @ ' localhost ' identity by ';

5. Set Bugzilla

After all the modules are installed, a "localconfig" file is generated in the Bugzilla root directory, after modifying the parameters of the database, execute checksetup.pl again, enter the user name, the mailbox and other information.

6. The

5. Configure httpd, add CGI library support

Vi/etc/httpd/conf/httpd.conf

At the end of the file, append the following:

<virtualhost *:80>
documentroot/var/www/html/bugzilla/
</VirtualHost>
<Directory/var/www/html/bugzilla>
AddHandler Cgi-script. CGI
Options +indexes +execcgi
DirectoryIndex index.cgi
allowoverride Limit FileInfo Indexes
</Directory>

Execute "VI htaccess" to modify the files in the Bugzilla directory, and watch the "options–indexes" line.

Perform "Service httpd restart" to restart the httpd services.

6. Visit Bugzilla

http://10.242.130.56:81/bugzilla/

Centos 6.5 installation Bugzilla 5.0.2

Related Article

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.