Install Bugzilla On Ubuntu Linux

  • by
  • 8 Months ago
  • 0

In this article we can see a guide on how to install Bugzilla on Ubuntu Linux. Bugzilla is a free help desk software. You can’t rate bugs according to importance or color code them. But that lack of features also means a clean, simple, easy-to-use interface. It does have some advanced features, such as advanced search which can remember your searches, and editable user profiles. Email preferences and bug permissions are comprehensive. But again a very clean and easy to use free help desk software .


Install Bugzilla On Ubuntu Linux

Install Bugzilla On Ubuntu Linux

Stand-out features

  • Advanced search
  • Remembers your queries

Install the OS

Get Ubuntu Server 14.04 LTS and install it. Here are some tips:

  • Choose any server name you like.
  • When creating the initial Linux user, call it bugzilla, give it a strong password, and write that password down.
  • You do not need an encrypted home directory.
  • Choose all the defaults for the “partitioning” part (excepting of course where the default is “No” and you need to press “Yes” to continue).
  • Choose “install security updates automatically” unless you want to do them manually.
  • From the install options, choose “OpenSSH Server” and “LAMP Server“.
  • Set the password for the MySQL root user to a strong password, and write that password down.
  • Install the Grub boot loader to the Master Boot Record.

Reboot when the installer finishes.

Become root

ssh to the machine as the ‘bugzilla’ user, or start a console. Then:

sudo su

Install Prerequisites

apt-get install git nano
apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libfile-which-perl libgd-dev libmysqlclient-dev lynx-cur graphviz python-sphinx rst2pdf

This will take a little while.

Download Bugzilla

Get it from :

cd /var/www/html

git clone --branch release-X.X-stable bugzilla

(where “X.X” is the 2-digit version number of the stable release of Bugzilla that you want – e.g. 5.0)

Configure MySQL

The following instructions use the simple nano editor, but feel free to use any text editor you are comfortable with.

nano /etc/mysql/my.cnf

Set the following values, which increase the maximum attachment size and make it possible to search for short words and terms:

  • Alter on Line 52: max_allowed_packet=100M
  • Add as new line 32, in the [mysqld] section: ft_min_word_len=2

Save and exit.

Then, add a user to MySQL for Bugzilla to use:

mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO bugs@localhost IDENTIFIED BY '$db_pass'"

Replace $db_pass with a strong password you have generated. Write it down. When you run the above command, it will prompt you for the MySQL root password that you configured when you installed Ubuntu. You should make $db_pass different to that password.

Pages: 1 2

  • facebook
  • googleplus
  • twitter
  • linkedin
  • linkedin