How to Install MantisBT on CentOS 8


Easily deploy your favorite applications in seconds at an unbeatable price for your next projects.

Installing MantisBT on CentOS 8

MantisBT is an open-source web-based bug tracking system that helps developers and project managers track and manage software issues and bugs in a collaborative way. It provides a streamlined and easily accessible platform for reporting, tracking, and resolving software defects or other issues.

Step 1: Update the system

Before installing MantisBT, it is recommended to update the system packages to their latest versions. Open the terminal and run the following command:

sudo dnf update

Step 2: Install Apache and PHP

MantisBT requires a web server and PHP to run. Install Apache and PHP along with necessary extensions using the following command:

sudo dnf install httpd php php-cli php-mysqli php-gd php-ldap php-xml php-mbstring php-intl

Step 3: Start and enable Apache

Start the Apache service and enable it to start automatically on boot:

sudo systemctl start httpd sudo systemctl enable httpd

Step 4: Install MariaDB

MantisBT requires a database server to store its data. Install MariaDB using the following command:

sudo dnf install mariadb-server

Step 5: Start and enable MariaDB

Start the MariaDB service and enable it to start automatically on boot:

sudo systemctl start mariadb sudo systemctl enable mariadb

Step 6: Secure MariaDB installation

Run the secure installation script to set a root password and remove anonymous users and test databases:

sudo mysql_secure_installation

Step 7: Create a database and user for MantisBT

Log in to the MariaDB shell using the root account:

sudo mysql -u root -p

Create a new database:


Create a new user and grant privileges on the database:

CREATE USER 'mantisuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON mantisbt.* TO 'mantisuser'@'localhost';

Flush the privileges and exit the MariaDB shell:


Step 8: Download and extract MantisBT

Go to the MantisBT website and download the latest version of the software from the downloads section. Once downloaded, extract the contents to the Apache document root directory:

sudo tar xfz mantisbt-X.X.X.tar.gz -C /var/www/html/

Step 9: Set permissions

Set the correct ownership and permissions for MantisBT files and directories:

sudo chown -R apache:apache /var/www/html/mantisbt sudo chmod -R 755 /var/www/html/mantisbt

Step 10: Configure MantisBT

Create a configuration file for MantisBT:

sudo cp /var/www/html/mantisbt/config_defaults_inc.php /var/www/html/mantisbt/config_inc.php

Edit the configuration file to include the correct database details:

sudo nano /var/www/html/mantisbt/config_inc.php

Step 11: Enable rewrite module

Enable the rewrite module for Apache:

sudo dnf install php-mcrypt sudo systemctl restart httpd

Step 12: Access MantisBT

Open a web browser and navigate to your server's IP address or domain name followed by "/mantisbt". You will be prompted to go through the MantisBT installation process, where you can set up an administrator account and complete the setup.

Congratulations! You have successfully installed MantisBT on CentOS 8. You can now start using it to track and manage software issues efficiently.

Refer A Friend
Get $25

Installing MantisBT
CentOS 8
MantisBT installation guide
MantisBT on CentOS
CentOS 8 installation guide
MantisBT CentOS 8
step-by-step MantisBT installation
MantisBT installation tutorial
CentOS 8 MantisBT setup
MantisBT setup guide

Why Customers Love Us

What our customers say about us

Ready To Get Started For Free?

Create your free account today.