Win7 under Bugzilla configuration

Source: Internet
Author: User

One. MySQL installation.

1. Download and install MySQL. During the installation process, you need to set the root password. After installation, click MySQL 5.5 command line client from the beginning, will let the input password, enter the password set at that time, you can start using MySQL.

2. Create bugs database and [email protected] users.

Use command: Create DATABASE bugs; Create a database bugs.

Create user [email protected]; //create user [email protected]

Grant all on bugs.* to [email protected] ' localhost '; All permissions assigned to the created user bugs database.

Flush privileges; Refresh user permissions.

The MySQL configuration is complete.

Problem: The grant line begins to fail because it is created directly from the CMD input directly into the MySQL interface and will fail. You need to verify the identity from the MySQL 5.5 command line client and enter password to assign permissions successfully.

Delete Database use: Drop bugs; Delete User use: drop [email protected];

Two. Install ActivePerl.

Download the installation file, which is installed by default under C drive. Configure the environment variable to add the bin path under Perl. If you use Perl-v in cmd, the version of Perl appears, stating that the ACTIVEPERL environment variable is configured correctly.

Three. Install Bugzilla.

After decompression, place it under the C drive.

In cmd, use CD C://bugzilla to enter the Bugzilla folder directory.

Then use the Perl checksetup.pl command to check the Perl modules Bugzilla need.

The cmd side will use red to prompt for errors and required Perl modules.

According to the prompts, use the PPM install required module name, for the Perl module installation.

Once the required module is installed, once again Perl checksetup.pl, the Green font "checksetup.pl complete" will be displayed if successful.

At this point, a localhost no suffix file is generated under Bugzilla and opened with a text editor.

$db_port = 0; Change to $db_port = 3306; $index _html = 0; Change to $index_html = 1;

Running checksetup.pl again at the command line will generate a database-related data table,

When the data table is generated, the address server address of the host is required.

Administrator name and account (the account is an email address) and administrator login password. and confirm the password.

When all is completed, the Bugzilla configuration is complete.

Question: If the server IP is wrong at the beginning or needs to be changed later, go to the params file in the Data folder under Bugzilla to change the ' urlbase ' = ' = ' To the new IP address.

Four. Configure IIS.

Open the Administrative Tools in Control Panel. Open IIS Manager. Right click on the default website, click "Add Virtual Directory", alias is Bugzilla, the physical path is Bugzilla folder on the C drive path.

Then double-click on "Default Document", right-click, select "Add" and fill in the name with "index.cgi".

Double-click "Process Mapper", click "Add Script Map", "Request path" to fill in "*.cgi", "Executable" in "C:\Perl\bin\perl.exe-T"%s "%s", "name" filled in arbitrarily, such as ActiveState Perl for. Cgi.

IIS is also configured.

Five. When the Bugzilla server is started, enter Http://localhost/bugzilla in the Web browser to open and use the Bugzilla Defect management tool.

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.