Installing Mantis Bug Tracker

Last update on October 20, 2009 12:29 PM by jak58
Published by jak58

Installing of Mantis Bug Tracker





Mantis BT is an open source tool for event management. The tool is written in PHP and relies on a database to work. The database recommended for implementation of Mantis is mysql.

Requirements

  • The tools making up Mantis BT are native to a software suite widely used in Web development called LAMP (Linux-Apache-MySQL-Php)
  • Linux is the OS that will host the Mantis.
  • Apache is the front-end Web server to receive HTTP requests.
  • Mysql is a tool recommended DBMS to host the database of Mantis.
  • Php is the tool of interpretation of PHP language allowing the use of dynamic web pages.

Configuring Mysql


Configure Mysql to create a database and an authorized user on this database. In our case the database is called "mantisdb" and the user name "mantis".
  • Creating= the database
    • Connect to the MySQL console:



create database mantisdb;
    • Creating the user account


grant all on mantisdb.* to 'mantis'@'localhost' identified by 'password'; 

Installing Mantis


You must download the archive containing MantisBT. Unpack the archive in the web directory of your webserver (eg / var / www)
Go to this page via your web browser to continue the installation:

Put the values shown in the screenshot and click on install/upgrade database


Mantis is now installed
You can use the following URL:

Configure Mantis


Configuring mantis is donee through the config_inc.php configuration file
The file contains the following lines:

<?php
	// Configuration of database
	$g_hostname = 'localhost';
	$g_db_type = 'mysql';
	$g_database_name = 'mantisdb';
	$g_db_username = 'mantis';
	$g_db_password = 'mantis';


	// Setting up the mail 
	$g_phpMailer_method='2';
	$g_smtp_host='server.address.smtp';

	// Configure email addresses system 
	$g_administrator_email='administrator@netapsys.com';
	$g_webmaster_email=$g_administrator_email;
	$g_from_email='no-reply-mantis@netapsys.com';

	// Setting the language and date format
	$g_default_language='english';
	$g_short_date_format='d-m-Y';
	$g_normal_date_format='d-m-Y H:i';
	$g_complete_date_format='d-m-Y H:i';

	
	// Customizing Mantis
	$g_window_title='Mantis Netapsys';

?>


Notes: Thanks to wjaouadi for this tip.
Best answers for « Installing Mantis Bug Tracker » in :
Installing a network adapter Show Purpose The purpose of this article is to set up a network to enable data exchanges between computers, resource sharing and network games. Is it therefore necessary to install a network card in each computer that may be part of the local area...
Installing a network card Show Goal The goal is to set up a network in order to exchange data or play games on the network. Thus, it is necessary to install a network card on every computer that may become part of the LAN. The purpose of this tutorial is to help you to install a...
Why Windows is not detecting the 4 GB of RAM installed? ShowWhy Windows is not detecting the 4 GB of RAM installed? What can be done? Conclusion Windows XP or Vista 32-bit edition can not use 4 GB, there is nothing to do, it is a mathematical limit. 32-bit system can address: 2 to the...
How to install flash under firefox? ShowHow to install flash under firefox? Introduction Automatic installation Manual installation Introduction Flash is a software created in vector animation which allows image , vector graphic image, animation and videos on certain...
Installation of game on Samsung mobile phone ShowInstallation of game on Samsung mobile phone Introduction Standard installation functioning on almost all Samsung models Alternative installation for specified models Introduction Games installed on Mobile are not usually recognised...
Download Windows Installer ShowMicrosoft WindowsIinstaller is a service of installation and application configuration, allowing to manage the applications containing the MSI extension MSI. Windows Installer 3.1 is a secondary update of Windows Installer 3.0 published in...
Download Ext2 Installable File System ShowIf you currently have Windows running and you realize that you need some files for your work which you have stored on an Ext2 volume of your Linux installation, you no longer have to shut down Windows and boot Linux! Furthermore, Windows will now...
Operating Systems - Installing MS-DOS ShowInstalling MS-DOS When installing MS-DOS, make sure that in the BIOS the the boot disk is set to A: first, then the hard drive (boot sequence: A:, C:) Then insert disk 1 in the A: drive, power up the computer, then follow the on-screen...
Intranet - Installing a DNS ShowPackages needed for installation A DNS (domain name server) is a server that links names to the IP addresses of computers on a network. In order to set up such a server, it is necessary to install bind and named. They can be downloaded as RPM files...
Intranet - Installing a mail server ShowIntroduction to installation The most commonly used e-mail server in Linux is Sendmail; however, as it is very hard to configure, we will use Qmail, an alternative e-mail server, instead. Qmail is made up of a group of programs that work with...