• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Mantis Bug tracker on CentOS 7

{{postValue.id}}

How to install Mantis Bug tracker on CentOS 7

Mantis is a free and popular open source bug tracking system. It is written in PHP and supports all types of database server. It provides a professional dashboard to manage bugs assigned to the user. It supports powerful access control which provides per project base user access. It is very flexible so you can customize the issue fields, notifications, and workflow. This tutorial covers the installation procedure of Mantis Bug tracker on CentOS 7.

Requirements

LAMP Setup

-Apache

-Mariadb (create database , user protected by password)

-PHP 7

Installation procedure

To start with the installation procedure, download the Mantis Bug tracker from its official website using the wget command followed by the download link.

[root@linuxhelp ~]# wget https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.1.0/mantisbt-2.1.0.zip -O mantis.zip
--2017-08-17 11:51:53--  https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.1.0/mantisbt-2.1.0.zip
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://netix.dl.sourceforge.net/project/mantisbt/mantis-stable/2.1.0/mantisbt-2.1.0.zip [following]
--2017-08-17 11:51:55--  https://netix.dl.sourceforge.net/project/mantisbt/mantis-stable/2.1.0/mantisbt-2.1.0.zip
Resolving netix.dl.sourceforge.net (netix.dl.sourceforge.net)... 87.121.121.2
Connecting to netix.dl.sourceforge.net (netix.dl.sourceforge.net)|87.121.121.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16006080 (15M) [application/octet-stream]
Saving to: ‘ mantis.zip’ 

100%[======================================> ] 16,006,080   784KB/s   in 21s    
2017-08-17 11:52:16 (761 KB/s) - ‘ mantis.zip’  saved [16006080/16006080]

The package is downloaded in the target system. Extract the package in Apache root directory by running the unzip command.

[root@linuxhelp ~]# unzip mantis.zip -d /var/www/html/
Archive:  mantis.zip
   creating: /var/www/html/mantisbt-2.1.0/
  inflating: /var/www/html/mantisbt-2.1.0/manage_config_workflow_page.php  
  inflating: /var/www/html/mantisbt-2.1.0/manage_user_proj_delete.php  
  inflating: /var/www/html/mantisbt-2.1.0/query_store.php  
  inflating: /var/www/html/mantisbt-2.1.0/manage_plugin_upgrade.php  
.
.
.
inflating: /var/www/html/mantisbt-2.1.0/doc/modern_view_issues.png  
  inflating: /var/www/html/mantisbt-2.1.0/doc/ace-theme-license.txt  
  inflating: /var/www/html/mantisbt-2.1.0/doc/modern_my_view.png  
  inflating: /var/www/html/mantisbt-2.1.0/doc/CREDITS  
  inflating: /var/www/html/mantisbt-2.1.0/manage_proj_create.php  

Move to the Apache Root directory using the cd command as follows.

[root@linuxhelp ~]# cd /var/www/html/
[root@linuxhelp html]# ls -l
total 12
drwxr-xr-x 15 root root 8192 Jan 31  2017 mantisbt-2.1.0

Move to the mantisbt-2.1.0 directory and move all the files into the given Apache Root directory.

[root@linuxhelp html]# cd mantisbt-2.1.0/
[root@linuxhelp mantisbt-2.1.0]# mv * /var/www/html/
[root@linuxhelp mantisbt-2.1.0]# cd ..

Now create a Virtual host configuration named mantis.conf using vim editor.

[root@linuxhelp html]# vim /etc/httpd/conf.d/mantis.conf

< VirtualHost *:80> 
ServerName 192.168.7.165
DocumentRoot " /var/www/html/" 
< Directory /var/www/html> 
DirectoryIndex index.php
        Options FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from All
< /Directory> 
< /VirtualHost> 

Provide the owner permission and read write execution permission for Apache root Directory by executing the following command.

[root@linuxhelp html]# chown -R apache:apache /var/www/html/
[root@linuxhelp html]# chmod 775 /var/www/html/

Now restart your Apache service.

[root@linuxhelp html]# systemctl restart httpd

Now switch over to the web browser and provide your machine’ s IP http://192.168.7.165 and run it.
pre-installation

This page contains the list of installation options.
installation option

After the installation options, check the database configuration details.
database

The installation summary is shown below.
mantisbt

The login page is shown below.
login page

The credentials for the login page is entered.
credentials

The administrator details are entered below.
account

Now the dashboard for Mantis is shown below. You can manage accounts from the administrator login.
dashboard

Enter the new user details with the required details.
administrator

The installation procedure of Mantis on CentOS is explained above.

Tags:
noah
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Where can we find the latest releases?

A

Do follow there official site https://www.mantisbt.org/download.php

Q

The site can't be reached error in the interface?

A

May be your apache is not added in the iptables or firewalld.Please disable the firewall or else you should allow the port and service as LAMP setup.

Q

Does MantisBT provide an XML-RPC interface?

A

No, but it provides a SOAP webservice interface. See above reference to MantisConnect project.

Q

Is there a MantisBT version for Smart Phones / PDAs?

A

Yes, checkout MantisWAP. MantisWAP provides a very light weight interface for MantisBT access through a smart phone or PDA. It is optimize for speed and minimization of consumed bandwidth.

Q

How do I contribute localisation to a new language?

A

Use strings_english.txt as the basis for the new localisation file.
Consider using UTF8 encoding.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.