Bugzilla is a popular open-source bug tracking system that is used by many software development teams. In this tutorial, we will show how to install Bugzilla on Windows 11 machine. We will be using the latest version of Bugzilla which can be downloaded from https://www.bugzilla.org/
Before starting with the installation, please make sure that your system meets the following requirements:
- Minimum of 2 GB RAM
- At least 20GB hard disk space
- Perl 5.16 or Higher
- MySQL or PostgreSQL
Once you have confirmed the above requirements, let's begin with the installation process.
Step 1: Download Bugzilla
- Go to https://www.bugzilla.org/download/
- Download the latest stable version of Bugzilla that matches the requirements of your system. You can download the files in ZIP or tarball format.
Step 2: Extract the files
- Extract the downloaded ZIP or tarball to a directory on your system using software like WinZip or 7-Zip.
Step 3: Install Perl
Bugzilla requires Perl 5.16 or higher to be installed on your system. You can download Perl from the following link https://www.perl.org/get.html
- Download the appropriate version of Perl that matches your system (x86 or x64) and install it.
- Make sure Perl is added to your system environment variables by checking the box during installation.
Step 4: Install MySQL or PostgreSQL
Bugzilla requires a database management system for storing and managing bug reports. You can choose between MySQL and PostgreSQL as per your preference.
Installing MySQL
- Download the MySQL Community Server installer from the following link: https://dev.mysql.com/downloads/file/?id=504865.
- Run the downloaded installer and follow the instructions to install MySQL server.
- During the installation, set a root password and note it down as it will be needed during the Bugzilla installation process.
Installing PostgreSQL
- Download the PostgreSQL installer from the following link: https://www.postgresql.org/download/windows/
- Run the downloaded installer and follow the instructions to install PostgreSQL server.
- During the installation, set a superuser password and note it down as it will be needed during the Bugzilla installation process.
Step 5: Configure Bugzilla
- Navigate to the extracted Bugzilla folder and run the
checksetup.pl
script.
- If you have chosen MySQL, run the following command:
perl checksetup.pl --dbuser=root --dbpass=<yourmysqlpassword> --dbhost=localhost --dbname=bugs
- If you have chosen PostgreSQL, run the following command:
perl checksetup.pl --dbuser=postgres --dbpass=<yourpostgrespassword> --dbhost=localhost --dbname=bugs
- After running the above command, the script will check for all the dependencies, configure the database, and create a local configuration file.
- You can edit the local configuration file
localconfig
present in the Bugzilla folder for making any changes to the configuration.
Step 6: Launch Bugzilla
- Go to the extracted Bugzilla folder and run the
runserver.pl
script in a command prompt.
- This will start Bugzilla, and you can access it on the browser by navigating to
http://localhost:8080/bugzilla/
.
Congratulations! You have successfully installed Bugzilla on your Windows 11 computer.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!