Mentis Request Tracker
http://sukhdevjadhav.blogspot.in/2010/12/how-to-install-mantis-on-fedora-14.html
#yum install httpd php php-pdo php-mysql php-gd mysql mysql-server
Go to the /var/www/html direcotory.
#wget -c http://space.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.4/mantisbt-1.2.4.tar.gz
#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@linukstricks.com';
$g_webmaster_email = 'webmaster@linukstricks.com';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'noreply@linukstricks.com'; # the "From: " field in emails
$g_return_path_email = 'admin@linukstricks.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@linukstricks.com
Alias /mantisbt /var/www/html/mantisbt-1.2.4
#<DocumentRoot /var/www/html/mantisbt-1.2.4>
ServerName linukstricks.com
ErrorLog logs/linukstricks.com-error_log
CustomLog logs/linukstricks.com-access_log common
put entry in host file
192.168.1.2 linukstricks.com
Open your mozilla firefox browser. And open bellow link.
http://IP-ADD/admin/install.php
Next screen
Now click on continue to login into mantis.
Now your mantis is installed.
Login with default admin username "Administrator"
password is "root"
##################################################################
No comments:
Post a Comment