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 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.
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
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
Start the Apache service and enable it to start automatically on boot:
sudo systemctl start httpd
sudo systemctl enable httpd
MantisBT requires a database server to store its data. Install MariaDB using the following command:
sudo dnf install mariadb-server
Start the MariaDB service and enable it to start automatically on boot:
sudo systemctl start mariadb
sudo systemctl enable mariadb
Run the secure installation script to set a root password and remove anonymous users and test databases:
sudo mysql_secure_installation
Log in to the MariaDB shell using the root account:
sudo mysql -u root -p
Create a new database:
CREATE DATABASE mantisbt;
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:
FLUSH PRIVILEGES;
EXIT;
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/
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
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
Enable the rewrite module for Apache:
sudo dnf install php-mcrypt
sudo systemctl restart httpd
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.
What our customers say about us
Create your free account today.