Install BugZilla 5.0.3 on Windows 7 x64 localhost - opensource Perl Bug tracking software

Trabla: Install BugZilla 5.0.3 on Windows 7 x64 localhost ( XAMPP 5.6.24 + ActivePerl 5.24.0 ) - opensource Perl Bug tracking system ( used by the Mozilla projects )

Install BugZilla 5.0.3 on Windows 7 x64 localhost - opensource Perl Bug tracking software

Bugzilla is a web-based general-purpose bugtracker and testing tool originally developed and used by the Mozilla project, and licensed under the Mozilla Public License
Bugzilla has been adopted by a variety of organizations for use as a bug tracking system for both free and open-source software and proprietary projects and products. Bugzilla is used, among others, by the Mozilla Foundation, WebKit, Linux kernel, FreeBSD, GNOME, KDE, Apache, Red Hat, Eclipse and LibreOffice.



Solving:



Watch on YouTube

1.  Download and install XAMPP 5.6.24  from site:
https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/5.6.24/

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 1


2. Download and install  ActivePerl 5.24.0 for Windows ( x64 ) from official site
http://www.activestate.com/activeperl/downloads

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 2


ATTENTION:

-  in ActivePerl Setup Wizard  - select "Custom" setup type

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 3

- create & select installation directory 
C:\usr 

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 4



3. Download BugZila 5.0.3  opensource Perl Bug tracking software  from
official site:
https://www.bugzilla.org/download/

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 5

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 6


4. Extract bugzilla-3.0.5.tar.gz archive  into \Downloads folder - using 7zip http://www.7-zip.org/download.html ) open source archive ( or any archiver processing tar.gz )

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 7

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 8

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 9


5. Create folder C:\bugzilla 

and copy all files from downloaded BugZila 5.0.3  opensource Perl Bug tracking software extracted archive

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 10


6. Run XAMPP Control Panel 

open Apache( httpd.conf ) file ( Apache ->  Config-> Apache( httpd.conf ) )

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 11

- add following text string

Alias /bugzilla/ "C:/bugzilla/"

after text ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"




Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 12

-  after text

<Directory "C:/xampp/cgi-bin">
    AllowOverride All
    Options None
    Require all granted
</Directory>

add following text

<Directory "C:/bugzilla">
    ScriptInterpreterSource Registry-Strict
    Options +ExecCGI +FollowSymLinks
    DirectoryIndex index.cgi index.html
    AllowOverride All
    Require all granted
</Directory>

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 13

- save  & close Apache( httpd.conf )

open my.ini file ( MySQL->  Config-> my.ini )

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 14

- Find max_allowed_packet 
change value to 16M  ( default is 1M )


Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 15

- After string

log_error = "mysql_error.log"

add text string

ft_min_word_len=2


Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 16

save  & close my.ini

- start Apache
- start Database

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 17


7.  Now we need to create Database for BugZila 5.0.3  opensource Perl Bug tracking system

1) Open phpMyAdmin in new browser tab (or window :) ) -

 http://localhost/phpmyadmin

2) Open SQL tab
3) Execute following query

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 18


CREATE DATABASE `bugzilla` 
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'bugzilla-owner'@'localhost'; 
CREATE USER 'bugzilla-owner'@'127.0.0.1';
CREATE USER 'bugzilla-owner'@'::1';

SET PASSWORD 
FOR 'bugzilla-owner'@'localhost' = PASSWORD('bugzilla123$%');
SET PASSWORD 
FOR 'bugzilla-owner'@'127.0.0.1' = PASSWORD('bugzilla123$%');
SET PASSWORD 
FOR 'bugzilla-owner'@'::1' = PASSWORD('bugzilla123$%');


GRANT ALL PRIVILEGES ON 
`bugzilla`.* TO 'bugzilla-owner'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`bugzilla`.* TO 'bugzilla-owner'@'127.0.0.1' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`bugzilla`.* TO 'bugzilla-owner'@'::1' WITH GRANT OPTION;

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 19

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 20


8.  Now we are ready to start installation of  BugZila 5.0.3  opensource Perl Bug tracking system

- open Windows Command Promt ( CMD )

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 21

- type CD C:\bugzilla  and press Enter button on keyboard

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 22


- type perl checksetup.pl and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 23

You will see following output with list of required Perl modules to install 
( list of CMD commands ). Also we need to run  ppm install DBD-mysql - for  MySQL support.
Let's do it :)

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 24


- type  ppm install TimeDate  and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 25

- type  ppm install DateTime and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 26

- type  ppm install DateTime-TimeZone and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 27

- type  ppm install Template-Toolkit and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 28

- type  ppm install Email-Sender and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 29

- type  ppm install Email-MIME and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 30

- type  ppm install File-Slurp and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 31

- type  ppm install JSON-XS and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 32

- type  ppm install DateTime-TimeZone-Local-Win32 and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 33

- type  ppm install DBD-mysql and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 34

- type  perl checksetup.pl  and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 35

./localconfig  is generated. Now we need to edit this file - set Database connection params.
( DO NOT CLOSE CMD window !!! )

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 36

- open  C:\bugzilla\localconfig   file in text editor

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 37

- Find string

$db_name = 'bugs';

change value to

$db_name = 'bugzilla';


Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 38


Find string

$db_user = 'bugs';

change value to

$db_user = 'bugzilla-owner';


Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 39

Find string

$db_pass = '';

change value to

$db_pass = 'bugzilla123$%';

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 40

Find string

$db_port = 0;

change value to

$db_port = 3306;

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 41

- Save & close C:\bugzilla\localconfig   file

- go back to CMD , type  perl checksetup.pl  and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 42

- installing database

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 43

- type admin email and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 44

- type admin name and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 45

- type admin password and press Enter button &
retype admin password and press Enter button

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 46

- close CMD

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 47


Hooray !!! Enjoy  BugZilla 5.0.3 opensource Perl Bug tracking software !!!

Open http://localhost/bugzilla/  in your browser

ATTENTION:  don't forget "/" in the end of url - or you will get error - Object not found! 

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 48



Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 49

Install BugZilla 5.0.3 on Windows 7 Perl Bug tracking tutorial 50


No comments:

Post a Comment