Introduction
What Does Bugzilla Do ?
Track bugs and code changes
Communicate with teammates
Submit and review patches
Manage quality assurance (QA)
Why Should You Use Bugzilla ?
1. First of all we need install LAMP server :-
2. We need to install perl module but it is hard to install each every module. I would recommend that let the script install all the perl module itself.:-
From below command you can install perl and other compiler :-
3. After installation is done you need make sure all the services are running properly. Firewall and selinux is adjusted properly to make the installation smooth. In my case I have turned off the selinux and firewall at system level :-
4. Now create database with name bugzilla and grant the privileges.
5. Next we need to download the bugzilla from the below link :-
6. Now extract and rename the directory and move it webroot directory /var/www/html :-
7. Now verify that all perl modules is installed with script by going inside /var/www/html/bugzilla :-
If any package is missing than enter the below command :-
8. Now run the following command this will generate a localconfig file in which we have to fill the database information which we created earlier :-
Now edit the localconfig file as below :-
Run the command again it will ask you for the credentials :-
9. Now you need to enable rewrite and CGI module in apache2 :-
10. Now configure apache2 to load bugzilla edit apache2 conf file :-
sudo nano /etc/apache2/apache2.conf
Now rename the .htaccess file in asset and data folder of bugzilla :-
After that restart Apache2 service :-
11. Now open your browser for GUI login :-
http://192.168.15.98/bugzilla <==Change IP as per your system
Try logging in with username and password which we entered during installation :-
Username :- sarfaraz@techs2resolve.in <==change as per your
Password :- **********
In the next tutorial we will see how to configure the smtp and other setting.
That's it for now enjoy using bugzilla
Please Do Likes, Comment and Share.
Bugzilla is a "Defect Tracking System" or "Bug-Tracking System". Defect Tracking System allow individual or group of developers to keep track of outstanding bugs in their product effectively. Bugzilla has many features its expensive counterparts lack.
What Does Bugzilla Do ?
Track bugs and code changes
Communicate with teammates
Submit and review patches
Manage quality assurance (QA)
Bugzilla can help you get handle on the software development process successful projects often are the results of successful organization and communication. Bugzilla is a powerful tool that will help your team get organized and communicate effectively.
Why Should You Use Bugzilla ?
Many companies are finding that Bugzilla helps reduce downtime, increase productivity, raises customer satisfaction, and improve communication. Bugzilla can also help reduce cost by providing IT support accountability, telephone support knowledge bases, and by keeping tabs on unusual system or software issues. Bugzilla can do the same for your organization, regardless of its size.
sudo apt-get update
sudo apt-get install apache2 php5 mysql-server phpmyadmin -y
2. We need to install perl module but it is hard to install each every module. I would recommend that let the script install all the perl module itself.:-
Required Perl modules:
CGI (3.51)
Date::Format (2.21)
DateTime (0.28)
DateTime::TimeZone (0.71)
DBI (1.41)
DBD::mysql (4.00) if using MySQL
DBD::Pg (1.45) if using PostgreSQL
DBD::Oracle (1.19) if using Oracle
Digest::SHA (any)
Email::Send (2.00)
Email::MIME (1.904)
Template (2.22)
URI (any)
Optional Perl modules:
GD (1.20) for bug charting
Template::Plugin::GD::Image (any) for Graphical Reports
Chart::Lines (2.1) for bug charting
GD::Graph (any) for bug charting
GD::Text (any) for bug charting
XML::Twig (any) for bug import/export
MIME::Parser (5.406) for bug import/export
LWP::UserAgent (any) for Automatic Update Notifications
PatchReader (0.9.4) for pretty HTML view of patches
Net::LDAP (any) for LDAP Authentication
Authen::SASL (any) for SASL Authentication
Authen::Radius (any) for RADIUS Authentication
SOAP::Lite (0.712) for the web service interface
JSON::RPC (any) for the JSON-RPC interface
Test::Taint (any) for the web service interface
HTML::Parser (3.40) for More HTML in Product/Group Descriptions
HTML::Scrubber (any) for More HTML in Product/Group Descriptions
Email::MIME::Attachment::Stripper (any) for Inbound Email
Email::Reply (any) for Inbound Email
TheSchwartz (any) for Mail Queueing
Daemon::Generic (any) for Mail Queueing
mod_perl2 (1.999022) for mod_perl
From below command you can install perl and other compiler :-
sudo apt-get install perl postfix make gcc -y
3. After installation is done you need make sure all the services are running properly. Firewall and selinux is adjusted properly to make the installation smooth. In my case I have turned off the selinux and firewall at system level :-
sudo service apache2 restart
sudo service mysql restart
4. Now create database with name bugzilla and grant the privileges.
create database bugs;
create user bugs@localhost IDENTIFIED BY 'bugs';
GRANT ALL ON bugs.*TO bugs@localhost;
FLUSH PRIVILEGES;
exit
5. Next we need to download the bugzilla from the below link :-
wget https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-5.0.2.tar.gz
6. Now extract and rename the directory and move it webroot directory /var/www/html :-
tar -zxvf bugzilla-5.0.2.tar.gz
mv bugzilla-5.0.2 bugzilla
cp -av bugzilla /var/www/html/
7. Now verify that all perl modules is installed with script by going inside /var/www/html/bugzilla :-
./checksetup.pl --check-modules
If any package is missing than enter the below command :-
perl install-module.pl -all
8. Now run the following command this will generate a localconfig file in which we have to fill the database information which we created earlier :-
cd /var/www/html/bugzilla/
./checksetup.pl
Now edit the localconfig file as below :-
# nano localconfig
$create_htaccess = 1;
$webservergroup = 'www-data';
$use_suexec = 0;
$db_driver = 'mysql';
$db_host = 'localhost';
$db_name = 'bugs';
$db_user = 'bugs';
$db_pass = 'bugs';
Run the command again it will ask you for the credentials :-
./checksetup.pl
9. Now you need to enable rewrite and CGI module in apache2 :-
sudo a2enmod rewrite
sudo service apache2 restart
sudo a2enmod cgi
sudo service apache2 restart
10. Now configure apache2 to load bugzilla edit apache2 conf file :-
sudo nano /etc/apache2/apache2.conf
Alias /bugzilla/ /var/www/html/bugzilla/
<Directory /var/www/html/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI +FollowSymLinks
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes Options
</Directory>
Now rename the .htaccess file in asset and data folder of bugzilla :-
cd /var/www/html/bugzilla/data/
mv .htaccess .htaccess-old
cd /var/www/html/bugzilla/data/assets
mv .htaccess .htaccess-old
After that restart Apache2 service :-
sudo service apache2 restart
11. Now open your browser for GUI login :-
http://192.168.15.98/bugzilla <==Change IP as per your system
Try logging in with username and password which we entered during installation :-
Username :- sarfaraz@techs2resolve.in <==change as per your
Password :- **********
In the next tutorial we will see how to configure the smtp and other setting.
That's it for now enjoy using bugzilla
Please Do Likes, Comment and Share.
22:33
Tags :
Linux
,
Ubuntu-12.04
Subscribe by Email
Follow Updates Articles from This Blog via Email
No Comments