Bugzilla + Testopia Installation Guide for Linux

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!



Check the version of Perl:

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


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” )


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.



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!



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!


  1. biro jodoh

    Hei Saya tahu ini off topic tapi saya bertanya-tanya apakah Anda tahu dari setiap widget saya bisa menambah blog saya yang secara otomatis men-tweet update twitter terbaru saya.

    Saya sudah mencari plug-in seperti ini untuk beberapa waktu dan berharap mungkin Anda akan memiliki beberapa pengalaman dengan sesuatu seperti ini.
    Tolong beritahu saya jika Anda mengalami apa-apa. Aku benar-benar menikmati membaca blog
    Anda dan saya berharap untuk update baru Anda.

  2. cheap nfl jerseys

    Hi all, here every one is sharing these experience, therefore it’s pleasant to read this webpage, and I used to pay a
    visit this website daily.cheap nfl jerseys

  3. nutrition

    hello!,I like your writing so so much! proportion we
    keep in touch extra approximately your post on AOL? I need a
    specialist in this space to resolve my problem. May
    be that is you! Looking ahead to see you.

  4. Desert Safari

    Unquestionably believe that which you stated. Your favorite
    reason seemed to be at the net the simplest factor to understand of.
    I say to you, I definitely get annoyed while folks think
    about worries that they just do not realize about.
    You controlled to hit the nail upon the highest and also outlined
    out the entire thing without having side-effects , folks could take a signal.
    Will probably be back to get more. Thank you

  5. social network

    Lady Like Solution of Crowd 351485879 of times !! Great Post 🙂

  6. wesentliche

    Das finde ich cool…würd auch gern zeichnen können…

  7. hobbyhuren emden

    Sie erhalten einen kostenlos Livetime- Zugang und können die Suchfunktion nutzen, alle Sexinserate ansehen und müßen keine Adressdaten eingeben, nur die Postleitzahl ist empfehlenswert um auch selbst gefunden zu werden.

  8. mba business analytics scmhrd

    Katz has introduced a Qualified MBA system that is created to
    cater to the busy schedules of working professionals.
    The program, which gives blended on the web courses, offers students flexibility and the capacity to customize
    their education to their one of a kind career aspirations.

  9. Jasa seo

    Anda seharusnya untuk ambil bagian dalam kontes
    untuk satu kualitas tertinggi situs di web. saya akan merekomendasikan blog ini!

  10. Pengeluaran Toggel

    “If you want to do a quick tour of the four main Disney Theme Parks, I’d recommend 5 days; one for each Theme Park plus an extra day to go back to either Epcot or the
    Magic Kingdom, both of which are difficult to do in only one day.
    “Each time of year has something that sets it apart from
    others. A single coupon it, however, you can in fact get some good amazing ideas by reading RSS feeds frequently.

  11. Data togel

    The Small Freestanding Bath And Back To Wall Combo.
    The release of the communications requested in this FOIA will
    nudge open a door to the inner sanctum of the High Priests of green-think in the EPA,
    as well as provide much-needed insight into the EPA’s
    operational allies amongst environmental NGOs and associated non-profit advocacy
    groups. Seven lease sales that were scheduled to take place after Obama’s inauguration have been now canceled entirely: one in the western Gulf, one off the coast of Virginia, and five in Alaskan waters, all with proven reserves.

Leave a Reply

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