How to install Mantis Bug tracker on CentOS 7
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.
This page contains the list of installation options.
After the installation options, check the database configuration details.
The installation summary is shown below.
The login page is shown below.
The credentials for the login page is entered.
The administrator details are entered below.
Now the dashboard for Mantis is shown below. You can manage accounts from the administrator login.
Enter the new user details with the required details.
The installation procedure of Mantis on CentOS is explained above.
Comments ( 0 )
No comments available