How to Install Mantis on Fedora 14.
This tutorial provides step-by-step instructions on how to install and configure Mantis - Bug Tracker on your Fedora operating system.
Mantis is an open source free defect tracking utility.
Requirements
Apache
mysql-server
PHP
Lets Install required packages and its dependancies.
#yum install httpd php php-pdo php-mysql php-gd mysql mysql-server
Go to the /var/www/html direcotory.
extract tarball
#tar -zxvf mantisbt-1.2.4.tar.gz
#cd mantisbt-1.2.4
#chown -R apache.apache mantisbt-1.2.4
#cp config_inc.php.sample config_inc.php
#vim /var/www/html/mantisbt-1.2.4/config_inc.php
put appropriate database and host specific information
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'tracker';
$g_db_username = 'mantisdbuser';
$g_db_password = ''; ?>
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'localhost'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'administrator@yoursite.com';
$g_webmaster_email = 'webmaster@yoursite.com';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'noreply@yoursite.com'; # the "From: " field in emails
$g_return_path_email = 'admin@yoursite.com'; # the return address for bounced mail
$g_email_receive_own = OFF;
$g_email_send_using_cronjob = OFF;
$g_enable_email_notification = OFF;
save and close file.
create mysql database
mysql> create database tracker;
mysql> grant all on tracker.* to mantisdbuser@localhost identified by 'mantisdbpass';
mysql> flush privileges;
mysql> quit
Create virtual host in /etc/httpd/conf/httpd.conf
ServerAdmin webmaster@yoursite.com
DocumentRoot /var/www/html/mantisbt-1.2.4
ServerName yoursite.com
ErrorLog logs/yoursite.com-error_log
CustomLog logs/yoursite.com-access_log common
put entry in host file
192.168.1.2 yoursite.com
Open your mozilla firefox browser. And open bellow link.
Next screen
Now click on continue to login into mantis.
Now your mantis is installed.
Login with default admin username Administrator
password is root.
2 comments:
Hi!
I'm a researcher and I'm looking for information on the kind of firms that use open source software. I would like to request for the name and industry of firms you are aware of that use Mantis.
I used this url for download - http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.9/mantisbt-1.2.9.tar.gz/download
Post a Comment