• 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 using Nginx, MariaDB and PHP 7

{{postValue.id}}

To install Mantis Bug tracker on CentOS 7 using Nginx, MariaDB and PHP 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, you can customize the issue fields, notifications, and workflow. Before starting the installation procedure, make sure that the target system contains LEMP environment for the application to work in. This tutorial covers the ground on the installation of Mantis Bug tracker on CentOS 7 in LEMP environment.

Installation procedure

To proceed with the installation procedure, go to its official website and get the package link in latest stable version and download it using wget command in your terminal followed by the download link.

[root@linuxhelp ~]# wget https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz/download
--2017-09-11 12:25:31--  https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz?r=& ts=1505112965& use_mirror=excellmedia [following]
--2017-09-11 12:25:38--  https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz?r=& ts=1505112965& use_mirror=excellmedia
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://excellmedia.dl.sourceforge.net/project/mantisbt/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz [following]
--2017-09-11 12:25:39--  https://excellmedia.dl.sourceforge.net/project/mantisbt/mantis-stable/2.6.0/mantisbt-2.6.0.tar.gz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15939114 (15M) [application/x-gzip]
Saving to: ‘ download’ 

100%[======================================> ] 15,939,114   166KB/s   in 50s    

Extract the downloaded package by executing the following tar command.

[root@linuxhelp ~]# tar -xvf download
mantisbt-2.6.0/
mantisbt-2.6.0/manage_config_workflow_page.php
mantisbt-2.6.0/manage_user_proj_delete.php
mantisbt-2.6.0/query_store.php
mantisbt-2.6.0/manage_plugin_upgrade.php
mantisbt-2.6.0/scripts/
mantisbt-2.6.0/scripts/travis_script.sh
mantisbt-2.6.0/scripts/Web.config
.
.
.
mantisbt-2.6.0/doc/modern_view_issues.png
mantisbt-2.6.0/doc/ace-theme-license.txt
mantisbt-2.6.0/doc/modern_my_view.png
mantisbt-2.6.0/doc/CREDITS
mantisbt-2.6.0/manage_proj_create.php

Edit the php configuration file using vim editor. Save and exit the file.

[root@linuxhelp ~]# vim /etc/php.ini
cgi.fix_pathinfo=0

Then edit the following changes in php-fpm configuration file. Save and exit the file.

[root@linuxhelp ~]# vim /etc/php-fpm.d/www.conf
vim /etc/php-fpm.d/www.conf
listen = /run/php-fpm/php-fpm.sock
listen.owner = nginx
listen.group = nginx
user = nginx
group = nginx

Start the php-fpm service.

[root@linuxhelp share]# systemctl start php-fpm

Set owner permission as nginx by running the following command.

[root@linuxhelp share]#chown &ndash R nginx:nginx  /run/php-fpm/php-fpm.sock

Restart the php-fpm service.

[root@linuxhelp share]# systemctl restart php-fpm

Open nginx.conf configuration file and enter the following contents in the file. Save and exit the file.

[root@linuxhelp html]# vim /etc/nginx/nginx.conf
server {
        listen       80 default_server 
        listen       [::]:80 default_server 
        server_name  192.168.7.165 
        root         /usr/share/nginx/html 
        index index.php 
        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf 

        location  ~ \.php$ {
        try_files $uri =404 
        fastcgi_pass unix:/run/php-fpm/php-fpm.sock 
        fastcgi_index index.php 
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name 
        include fastcgi_params 
        }
     }

Restart your Nginx service.

[root@linuxhelp html]# systemctl restart nginx

Switch over to the browser and enter http://192.168.7.165/ mantisbt-2.6.0. The pre-installation checks of file is shown in the screen.
a

Enter the required details to create a database for Mantis application.

b

Click install or upgrade database option to install the newly created database.

c

The installation is complete. Click continue option to login to Mantis.

d

Enter the admin credentials to login to Mantis.

f

g

After entering the default password for Mantis, change the default password to a new password for security purposes.

j

h

The admin page of Mantis bug tracker is now running successfully.

k

The installation procedure of Mantis Bug tracker on CentOS 7 with LEMP is done without any glitches.

Tags:
robert
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Can I host the Mantis bug tracker using the Nginx server?

A

Yes, its possible to host the Mantis Bug tracker using the Nginx server.

Q

Is Mantis Bug tracker Opensource?

A

Mantis Bug Tracker is free and opensource software.

Q

How do I create a new topic or post a reply on Mantis Bug tracker?

A

To post a new topic in a forum, click "New Topic". To post a reply to a topic, click "Post Reply". You may need to register before you can post a message. A list of your permissions in each f

Q

How do I add a signature to my post on Mantis Bug tracker?

A

To add a signature to a post you must first create one via your User Control Panel. Once created, you can check the Attach a signature box on the posting form to add your signature.

Q

What is Mantis Bug tracker?

A

Mantis is a free and popular open source bug tracking system. It is written in PHP and supports all types of the database server. It provides a professional dashboard to manage bugs assigned to the user.

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 Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

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.