We're here to assist with any of your needs, don't hestitate to reach out.
Bugzilla is an open-source bug tracking system that helps organizations track and manage software defects and issues. It is widely used by development and QA teams to ensure that bugs are properly reported, tracked, and resolved during the software development lifecycle.
Before installing Bugzilla, it is recommended to update the system packages to their latest versions. Open a terminal and run the following commands:
sudo apt update
sudo apt upgrade -y
Bugzilla has several dependencies that need to be installed. You can install them by running the following command:
sudo apt install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-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 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 libgd-dev libmysqlclient-dev libpng-dev libjpeg-dev libpango1.0-dev libgif-dev libbz2-dev libwww-perl
The installation may take some time as it downloads and configures the necessary packages.
During the installation process, you will be prompted to enter a password for the MySQL "root" user. Make sure to remember this password as it will be needed later.
Next, run the following command to secure your MySQL installation:
sudo mysql_secure_installation
Follow the on-screen instructions to set a strong password, remove anonymous users, disallow root login remotely, remove the test database, and reload privileges.
Download the latest stable version of Bugzilla from the official Bugzilla website (https://www.bugzilla.org/download/) or using the following command:
wget https://www.bugzilla.org/release/bugzilla-.tar.gz
Replace with the actual version number of Bugzilla.
Once the download is complete, extract the archive using the following command:
tar xvf bugzilla-.tar.gz
Move the extracted Bugzilla directory to the Apache document root directory:
sudo mv bugzilla- /var/www/html/bugzilla
Bugzilla requires additional Perl modules to function properly. Install them by running the following command:
sudo apt install libgd-graph-perl libjson-xs-perl libxml-twig-tools libemail-mime-attachment-stripper-perl
Navigate to the Bugzilla directory:
cd /var/www/html/bugzilla
Run the following command to configure Bugzilla:
sudo ./checksetup.pl
During the setup, you will be asked a series of questions. Make sure to provide the correct information, including the database name, user, and password.
Edit the default Apache configuration file:
sudo nano /etc/apache2/sites-enabled/000-default.conf
Add the following lines inside the `` block:
Alias /bugzilla /var/www/html/bugzilla AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limit FileInfo Indexes Options Require all granted
Save the configuration file and restart Apache:
sudo systemctl restart apache2
You can now access Bugzilla by navigating to http://your_server_ip/bugzilla in your web browser. Follow the on-screen instructions to complete the installation and create your administrator account.
Remember to remove the Bugzilla installation directory after completing the installation for security purposes:
sudo rm -rf /var/www/html/bugzilla
Congratulations! You have successfully installed Bugzilla on Ubuntu 22.04.
What our customers say about us
Create your free account today.