Bugzilla + Testopia Installation Guide for Linux

50f223cd7b6f99ff3dddb24af34bc4dc_256_256

Bugzilla is a server software to help you with development.

However, installing Bugzilla is a little complicated.

The installation process may make your machine insecure for short periods of time. Make sure there is a firewall between you and the Internet.

I highly recommend you to make a backup of your system before installing Bugzilla.

I use ubuntu14.04.1 in this guide.

First of all, update your Linux!

 

Perl

Check the version of Perl:

Better with 5.8.1 or higher. Otherwise, you’d better upgarde it.

MySQL

Bugzilla supports MySQL, PostgreSQL, and Oracle. I choose MySQL.

Check the version of MySQL:

At least 5.0.15.

If you ain’t got no MySQL:

( If it doesn’t work, try ” $ sudo apt-get install mysql-server ” and
$ sudo apt-get install mysql-client ” )
After finishing, add a MySQL account:

Then type in the following to add a bugzilla@localhost account:

DB_PASSWORD will be your password. ( not literally “DB_PASSWORD” )

Apache

You have freedom of choice here, pretty much any web server that is capable of running CGI scripts will work.

However, I strongly recommend using the Apache web server (either 1.3.x or 2.x).

If you don’t have Apache and your OS doesn’t provide official packages,

visit http://httpd.apache.org/ or use $ sudo apt-get install apache2.

 

Bugzilla

Download Bugzilla:

Unzip it and put it to a desirable place:

Add an alias to your configuration file of Apache according to your path:

( $ vim /etc/apache2/httpd.conf )

Then check whether you have the required Perl modules:

These will show a list of the required and optional Perl modules.
However, you may already have several of them installed and you don’t
have to install them all.
The following are some required modules:
• CGI (3.51)
• Date::Format (2.23)
• DateTime (0.28)
• DateTime::TimeZone (0.71)
• DBI (1.54)
• DBD::mysql (4.001) (for MySQL)
• DBD::Pg (2.7.0) (for PostgreSQL)
• DBD::Oracle (1.19) (for Oracle)
• Digest::SHA 
• Email::Send (2.04)
• Email::MIME (1.904)
• Template (2.22)
• URI (1.37)

You can install them individually.
e.g. $ sudo apt-get install libdbd-pg-perl libapache2-mod-perl2
Or install them all with install-module.pl:

After installing Perl modules, time to set up a basic configuration:

$ sudo ./checksetup.pl ( Make sure it’s at the correct path.
e.g. $ cd /usr/local/bugzilla-4.4.2/ )
Then write the file “./localconfig”:
$db_host = ‘localhost’; # Host address
$db_name = ‘bugzilla’; # Name of DataBase
$db_user = ‘bugzilla’; # ID of DataBase
$db_pass = ‘DB_PASSWORD’; # Password or DataBase
$webservergroup = ‘www-data’; # Group of Configuration File
Make sure the ID and password is the same with your MySQL DB )

Do the checksetup.pl again

It might require an administrator.

Looks like we don’t have an administrator set up yet. Either this is
your first time using Bugzilla, or your administrator’s privileges
might have accidentally been deleted.
Enter the e-mail address of the administrator:

Just follow what it says and type in the Email and password.
Restart Apache and Mysql
Restart Apache

↑It might need a sudo at the beginning
Restart Mysql

Type http://local/bugzilla/ ( It might be different with your configuration ).
Then you are good to go!

Testopia

Download:
ftp://ftp.mozilla.org/pub/mozilla.org/webtools/testopia/testopia-2.5-BUGZILLA-4.2.tar.gz

1. After finishing downloading, move it to the path where your bugzilla
installed. e.g. /usr/local/bugzilla-4.4.2/
2. Unzip it:

3. Delete the archive file:

4. Run checksetup’s Perl :

 

Restart Apache and Mysql
And there you have it!

11 comments

  1. Mood Lift

    wonderful points altogether, you just gained a new reader.
    What may you suggest in regards to your publish that you just made a few days in the past?
    Any sure?

  2. Rejuvena Review

    As a Newbie, I am constantly searching online for articles that
    can benefit me. Thank you

  3. wahl shaver amazon

    Good site you’ve got here.. It’s difficult to find excellent writing like yours nowadays.
    I really appreciate people like you! Take care!!

  4. Test Bank Solution

    What i don’t understood is actually how you are no longer actually much more well-favored than you may be
    now. You’re very intelligent. You already know therefore significantly in relation to this matter,
    produced me in my opinion imagine it from a lot of various angles.
    Its like men and women are not involved until it’s something to accomplish with Woman gaga!
    Your individual stuffs nice. Always deal with it
    up!

  5. Power Muscle Blast Supplement

    I like this site because so much utile material on here :
    D.

  6. Power Muscle Blast And Power Testo Blast

    Good information. Lucky me I ran across your website by chance (stumbleupon).
    I have saved it for later!

  7. Lucile

    I loved as much as you’ll recеive carried out right here.
    The sketch іss attractive, your authored subject matter stylish.
    nonethelеss, you commаnd get bought an nervoսsness oѵer that you ԝish
    be delivering the following. unwell unquestioably come more formеrly again since exactly the same nearly a lot often inside
    case you shield this hike.

  8. Hannah

    Bạn làm việc rất chăm chỉ nhưng doanh thu không được như ý muốn.

  9. Gerardo

    Bố bạn em hay nhậu nhẹt, cãi đánh
    nhau với mẹ nó, không ai có thể can ngăn.

  10. klicken Sie darauf,

    meinem Körper kribbelte es immer stärker und schon allein wenn ich seinen Namen las, bekam ich eine ungeheure Gänsehaut.Die Show war zu Ende und die Tanzfläche füllte sich schnell wieder.

  11. dulichtho.com

    Theo dõi tiến trình xử lý Hồ sơ và thay mặt đi nhận kết quả
    Thị thực cho Quý khách.

Leave a Reply

Your email address will not be published. Required fields are marked *