How to Install MantisBT on CentOS 7


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

Installing MantisBT on CentOS 7

MantisBT is an open-source web-based issue tracking system that helps organizations manage their bug tracking, project management, and collaboration needs. It provides a simple and easy-to-use interface for tracking and resolving issues, as well as facilitating communication between team members.

Step 1: Prerequisites

Before installing MantisBT, make sure your CentOS 7 server is up-to-date and has the necessary software installed. You will need:

  1. CentOS 7 server
  2. Apache web server
  3. PHP
  4. MySQL or MariaDB

Step 2: Install Apache, PHP, and MySQL/MariaDB

Use the following commands to install the required packages:

$ sudo yum install httpd php php-mysql mariadb-server

Enable and start the required services:

$ sudo systemctl enable httpd $ sudo systemctl start httpd $ sudo systemctl enable mariadb $ sudo systemctl start mariadb

Step 3: Install MantisBT

Download the latest version of MantisBT from the official website:

$ cd /tmp $ wget https://www.mantisbt.org/download.php

Extract the downloaded archive:

$ tar xf download.php

Move the extracted directory to the Apache document root:

$ sudo mv /tmp/mantisbt- /var/www/html/mantisbt

Step 4: Create the MantisBT Database

Log in to MySQL/MariaDB:

$ mysql -u root -p

Create a new database for MantisBT:

mysql> CREATE DATABASE mantisbt;

Create a new user and grant necessary privileges:

mysql> CREATE USER 'mantisbtuser'@'localhost' IDENTIFIED BY 'password'; mysql> GRANT ALL PRIVILEGES ON mantisbt.* TO 'mantisbtuser'@'localhost'; mysql> FLUSH PRIVILEGES; mysql> EXIT;

Step 5: Configure MantisBT

Open the MantisBT configuration file:

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

Update the database settings with the information for the previously created database and user:

$g_hostname      = 'localhost'; $g_db_username   = 'mantisbtuser'; $g_db_password   = 'password'; $g_database_name = 'mantisbt';

Step 6: Set Permissions

Update the permissions on the MantisBT directory:

$ sudo chown -R apache:apache /var/www/html/mantisbt

Step 7: Access MantisBT

Open your web browser and access MantisBT using your server's IP address or hostname:


Follow the installation wizard to complete the setup of MantisBT.


You have successfully installed MantisBT on your CentOS 7 server. You can now use this powerful issue tracking system to efficiently manage your projects and collaborate with your team.

Refer A Friend
Get $25

Installing MantisBT
CentOS 7
MantisBT installation guide
MantisBT setup on CentOS
step-by-step MantisBT installation
CentOS 7 installation tutorial
install MantisBT on CentOS 7
CentOS 7 MantisBT installation
MantisBT CentOS 7 setup
MantisBT CentOS 7 installation tutorial

Why Customers Love Us

What our customers say about us

Ready To Get Started For Free?

Create your free account today.