Windows Platform Installation Bugzilla

Source: Internet
Author: User
Tags win32 administrator password install perl

3. Install Active Perl

Run Activeperl-5.8.8.817-mswin32-x86-257965.msi to install Perl. All default values are selected. After the installation is complete, use the cmd command to enter the operating system command line. In turn, enter the following life

Make:
PPM (Enter)
Rep Add Bugzilla http://landfill.bugzilla.org/ppm (carriage return)
Install AppConfig (carriage return)
Install Timedate (carriage return)
Install DBI (carriage return)
Install Dbd-mysql (carriage return)
Install Template-toolkit (carriage return)
Install Mailtools (carriage return)
Install GD (carriage return)
Install Chart (carriage return)
Install Gdgraph (carriage return)
Install Patchreader (carriage return)

Note that the above install command needs to be case-sensitive, and it may take a while to execute each install command, wait until the previous command finishes seeing the ppm> prompt, and then enter the next command.

4. Configure Bugzilla

Use the cmd command to enter the operating system's command line. And then into the Bugzilla after the unpacked folder. This is assumed to be c:/bugzilla. Then execute the Perl checksetup.pl (carriage return). The basic effect is as follows:

C:/bugzilla>perl checksetup.pl

Checking perl modules ...
Checking for AppConfig (v1.52) Ok:found v1.55
......................
Checking for Patchreader (v0.9.4) Ok:found v0.9.5

......................
C:/bugzilla>

After the command completes, open the Localconfig file (c:/bugzilla/localconfig) in the Bugzilla directory in text mode. (If you run the previous Perl checksetup.pl without success, you won't

Generate Localconfig file). Edit the following:
========================================================================
#
# How to access the SQL database:
#
# Set the access information for the database below
$db _host = "localhost"; # where is the database?
$db _port = 3306; # which port to use
$db _name = "Bugs"; # Name of the MySQL database
$db _user = "Bugs"; # User to attach to the MySQL database prior to the authorized username

#
# Enter your database password here. It ' s normally advisable to specify
# A password for your Bugzilla database user.
# If You use apostrophe (') or a backslash (/) in your password, you ' ll
# need to escape it through preceding it with A/character. (/') or (//)
# Set password for authorized user
$db _pass = ' secpsd ';
==========================================================================

Once setup is complete, run the Perl checksetup.pl command again in the command line response directory.

C:/bugzilla>perl checksetup.pl

Checking perl modules ...
..................

The following Perl modules are optional:
.................

Most ActivePerl modules are available at Apache ' s ppm repository.
A List of mirrors is available at
http://www.apache.org/dyn/closer.cgi/perl/win32-bin/ppms/
You can add the repository with the following command:
PPM rep add Apache http://www.apache.org/dist/perl/win32-bin/ppms/

Checking User Setup ...
............
precompiling templates ...
Checking for MySQL Server (v3.23.41) Ok:found V4.0.20a-debug

Creating Table User_group_map ...
...........................

Looks like we don ' t have a administrator set up yet. Either this is your
The Bugzilla, or your administrator ' s privileges might have
accidently been deleted.

Note that you are required to enter the email address of the Bugzilla system administrator (Bugzilla is based on mail notification).
Enter the e-mail address of the administrator:byron@example.com

Confirm Email Address
You entered ' byron@example.com '. Is this correct? [y/n] Y

Enter administrator name
Enter the real name of the Administrator:byron Jones

Administrator password
Enter a password for the administrator Account:beef

Password Confirmation
Please retype the password to Verify:beef

' Byron@example.com ' is now set up as a administrator account.

C:/bugzilla>

To this end, the setup within the Bugzilla system is basically complete.


5. Configure the Bugzilla Web system

Bugzilla is web-based browsing, so it requires a Web server to run and can be managed using IIS under Windows. Go to Control Panel and open Admin tool to find Internet Information

Server (Internet Information Services), if this tool does not indicate that the operating system does not have this tool installed, you will need to install IIS workers under Control Panel via Add/remove Component (add removal component)

A. In the Default Web site subkey right-click to select the new key virtual directory, enter the directory name Bugzilla in the second step of the wizard. Then the next step is to select the path to the directory, bugzilla the decompression path (previously assumed

As C:/bugzilla). Next, in addition to the default two choices in the permissions settings, you can choose a third execution. Then complete the IIS Configuration Wizard.

Next, under the Default Web site, there will be one more virtual directory name subkey that we just entered. Right-click on it to open the Properties Settings dialog box. In the second label's document, select Enable the default document by deleting

In addition to pressing the button to delete all the original document names, then add a document called index.cgi.

Go back to the first tab of the property box in the virtual directory, select the Configuration button, open the Application Configuration dialog box, select the Add button, and in the pop-up dialog box, set the following:
Executable file: C:/perl/bin/perl.exe-xc:/bugzilla-wt '%s '%s
Note that the path above needs to change according to the actual situation
Name extension:. CGI
Action: limited to----get,head,post
Finally, select the script engine to determine.

6. Install Bugzilla mail system

The last thing to install is the mail system, by default Bugzilla is sent by SendMail for mail, and we need to download SendMail's bugzilla version of Windows installed from the Web

Sendmail-bugzilla-setup.exe, install this program, the need to set the mail server according to the actual situation, set very simple, after the installation of the program directory known as Sengmail.ini Mail

Component configuration file, you can set the following:
[SendMail]
; Address of the SMTP server
smtp_server=192.168.0.251
; The default domain name, which is the part of an @ letter in the message
Default_domain=system.mail
; Whether to turn on incorrect log functionality
Error_logfile=error.log
; Whether to turn on the debug log feature
;d Ebug_logfile=debug.log
; Bugzilla the user name and password to use when sending the message
Auth_username=bugzilla
Auth_password=bugzilla
; Set POP3 server, username, password
pop3_server=192.168.0.251
Pop3_username=bugzilla
Pop3_password=bugzilla

Now all the features are installed, open the browser, input Localhost/bugzilla can start to use the bugzilla. Enjoy it.

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.