MantisBT is an open source issue tracking system used to track and manage bugs and issues in software projects. This tutorial explains how to install MantisBT on Linux Mint latest version.
Download the latest stable version of MantisBT from the official website www.mantisbt.org or use the following command to download it via terminal.
wget https://github.com/mantisbt/mantisbt/releases/download/release-2.25.2/mantisbt-2.25.2.tar.gz
Extract the downloaded file using the following command:
tar -xvzf mantisbt-2.25.2.tar.gz
Move the extracted mantisbt-2.25.2
directory to the Apache web server root directory /var/www/html/
sudo mv mantisbt-2.25.2 /var/www/html/
mysql -u root -p
CREATE DATABASE mantisbt;
CREATE USER 'mantisbtuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON mantisbt.* TO 'mantisbtuser'@'localhost';
FLUSH PRIVILEGES;
exit
Rename the config files and edit them as follows:
cd /var/www/html/mantisbt-2.25.2
mv config_inc.php.sample config_inc.php
vi config_inc.php
Change the database details with your own database credentials:
$g_db_type = 'mysqli';
$g_hostname = 'localhost';
$g_database_name = 'mantisbt';
$g_db_username = 'mantisbtuser';
$g_db_password = 'password';
Save and exit the file.
sudo chown -R www-data:www-data /var/www/html/mantisbt-2.25.2
sudo chmod -R 755 /var/www/html/mantisbt-2.25.2
Open your browser and enter the URL: http://localhost/mantisbt-2.25.2/
The MantisBT installer will start. Follow the prompts to complete the installation process.
Once the installation process is complete, you will be directed to the MantisBT login screen. Use the default administrator credentials to log in: username: administrator
, and password: root
Change the administrator password and email address as required.
In this tutorial, you have learned how to install MantisBT on Linux Mint latest version. You can now start using MantisBT to track and manage bugs and issues in your software projects.
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!