How To Install Mantis on Fedora OS

Article By: bobby


Install Mantis

Install Mantis VPS Server

This tutorial provides step-by-step instructions on how to install Mantis - Defect Tracker on your Fedora operating system. Mantis is an open source free defect tracking utility that is really easy to configure and use. Its installation is also very easy if you follow the steps that I have mentioned below.

Let's get started and Install Mantis

...Start Terminal Become root:
$ su

Enter Password:

[Root]$ yum update

Wait until the update has finished.

[Root]$ yum install httpd php php-pdo php-mysql php-gd mysql mysql-server

Enable and start services for both the httpd and mysqld. Go to the /var/www/html location (this is where the fun starts).

cd /var/www/html/

When I wrote this the Mantis version was 1.1.4, it may have changed now (it probably has), but get the latest version of Mantis from Sourceforge:

$ wget

Untar the tarball:

$ tar xvf mantis-1.1.4.tar.gz
$ chown www-data mantis-1.1.4

Above line gives www-data (or your apache username) access to the mantis-1.1.4 folder. Open your favourite browser (hopefully Mozilla) and point to http://localhost, this should open your Mantis installer in your browser (if it does not, you've done something wrong). Select install as is (please change the password and user name for your root if it is different).   If you are getting the error saying that config file could not be written, please do the below steps.

$ gedit /var/www/html/mantis-1.1.4/config_inc.php
Insert the following text:
 $g_hostname = 'localhost';
 $g_db_type = 'mysql';
 $g_database_name = 'bugtracker';
 $g_db_username = 'root';
 $g_db_password = '';

Your Mantis installation is complete; delete the admin directory in the /var/www/html/mantis-1.1.4 directory:

$ cd /var/www/html/mantis-1.1.4
$ rm -fr admin/

Edit the config_inc.php. Add the following lines to remove the the image verification (it does not work on local server for some reason). Add the settings to send emails via Send mail. Hopefully you have installed this, if not:

$ yum install send-mail

If it is installed:

$ cd /var/www/html/mantis-1.1.4
$ gedit config_inc.php

Add the following the following:

$ g_signup_use_captcha = OFF;
$ g_phpMailer_method = 1;


SELinux may block your sendmail, if so go to System > Administration > SELinux management. Under Boolean Option, filter Sendmail. Enable the option httpd_can_sendmail. Log in to Mantis using http://localdomain. Log on with: Username: administrator Password: root If you create new account, you should receive an activation email on your email ID. Thank you!

Tags: , , , , ,

Welcome to the healthcare-only HIPAA - GDPR compliant cloud. Exclusively hosted on a HPC environment!

Learn more or start today by choosing your secure HIPAA - GDPR compliant server's Operating System bellow and pick the package that's best for you.

BIPmd makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine, thousand or more.

Windows VPS options and add ons
Linux VPS options and add ons


Looking for a custom solution?

Our technicians can provide you with the best custom-made solutionss on the market, no matter whether you're a small business or large enterprise.

Get in touch

Leave a Reply