MantisBT is an open-source software that helps in the management of software development projects. In this tutorial, we will learn how to install MantisBT on Fedora Server Latest.
Before installing any new package, it is advised to update the system with the latest packages to avoid any errors. To update the system, run the following command in your terminal:
sudo dnf update -y
MantisBT requires Apache, MySQL/MariaDB, and PHP to function. To install the LAMP stack, run the following command:
sudo dnf install -y httpd mariadb-server php php-mysqlnd php-gd php-imap php-ldap php-mbstring php-xml
This command will install Apache, MySQL/MariaDB, and all the necessary PHP modules required by MantisBT.
After installing the LAMP stack, we need to create a database for MantisBT. To do this, follow the steps below:
sudo systemctl start mariadb
sudo mysql_secure_installation
sudo mysql -u root -p
CREATE DATABASE mantisbt_db;
GRANT ALL PRIVILEGES ON mantisbt_db.* TO 'mantisbt_user'@'localhost' IDENTIFIED BY 'password';
Note: Remember to replace password
with a strong password. In our case, we have used password
.
FLUSH PRIVILEGES;
exit;
To download and install MantisBT, follow the steps below:
sudo wget https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.24.4/mantisbt-2.24.4.tar.gz
Note: The version number may differ from the one shown above.
sudo tar -xzf mantisbt-2.24.4.tar.gz -C /var/www/html/
sudo chown -R apache:apache /var/www/html/mantisbt-2.24.4
To configure Apache for MantisBT, follow the steps below:
sudo vi /etc/httpd/conf.d/mantisbt.conf
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/mantisbt-2.24.4
ServerName example.com
ErrorLog /var/log/httpd/mantisbt_error_log
CustomLog /var/log/httpd/mantisbt_access_log combined
<Directory /var/www/html/mantisbt-2.24.4>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Note: Remember to replace example.com
with your server's domain name.
sudo systemctl restart httpd
To complete the installation of MantisBT, follow the steps below:
Open your web browser and go to http://example.com/
, where example.com
is your server's domain name.
Follow the on-screen instructions to complete the installation.
When prompted for the database details, enter the following:
install.php
file from the MantisBT directory:sudo rm /var/www/html/mantisbt-2.24.4/install.php
In this tutorial, we learned how to install MantisBT on Fedora Server Latest. We also configured Apache and the database for MantisBT. Now you can start using MantisBT to manage your software development 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!