We're here to assist with any of your needs, don't hestitate to reach out.
MantisBT is an open-source web-based bug tracking system that helps developers, project managers, and testers collaborate in tracking and resolving software issues.
Before we start, make sure you have the following:
Begin by downloading the latest version of MantisBT from the official website:
wget https://www.mantisbt.org/download.php -O mantisbt.tar.gz
Next, extract the downloaded archive:
tar xzf mantisbt.tar.gz
Create a new Apache virtual host file for MantisBT:
sudo nano /etc/apache2/sites-available/mantisbt.conf
Copy and paste the following configuration:
ServerAdmin [email protected]
DocumentRoot /var/www/mantisbt
ServerName example.com
Options FollowSymLinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/mantisbt_error.log
CustomLog ${APACHE_LOG_DIR}/mantisbt_access.log combined
Save and close the file. Then enable the new virtual host:
sudo a2ensite mantisbt.conf
Finally, restart Apache for the changes to take effect:
sudo systemctl restart apache2
Login to your MySQL server as the root user:
mysql -u root -p
Create a new database for MantisBT:
CREATE DATABASE mantisbt;
Create a new user and grant privileges to the database:
CREATE USER 'mantisuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON mantisbt.* TO 'mantisuser'@'localhost';
Flush the privileges and exit MySQL:
FLUSH PRIVILEGES;
EXIT;
Copy the MantisBT configuration file:
cp config/config_inc.php.sample config/config_inc.php
Edit the configuration file:
nano config/config_inc.php
Update the database configuration:
$g_hostname = 'localhost';
$g_db_username = 'mantisuser';
$g_db_password = 'password';
$g_database_name = 'mantisbt';
Save and close the file.
Open your web browser and navigate to your server's domain or IP address.
You will be redirected to the MantisBT installation page. Fill in the required details such as administrator account credentials and database connection information.
Once the installation is complete, remove the "admin/install.php" file for security purposes:
sudo rm /var/www/mantisbt/admin/install.php
You can now log in to your MantisBT installation and start tracking and resolving software issues!
What our customers say about us
Create your free account today.