Mantis-defect management platform installation and configuration

Source: Internet
Author: User
Tags php web server mantis bug mantis bug tracker

Mantis-defect management platform installation and configuration

Mantis is a lightweight defect management platform (Mantis Bug Tracker) used to track and manage bugs, that is, the Bug management system. Official Website: http://www.mantisbt.org/

1. Install web server
Mantis is written in PHP and you need to install a PHP web server. LAMP is used here.

Yum install httpd mysql-devel mysql-server php-mysql php-bcmath php-gd php-mbstring php-xml

The LAMP configuration process is skipped.

PS: set date. timezone in php. ini.

Vi/etc/php. ini

Search for date. timezone and remove the semicolon before it.

Date. timezone = "Asia/Chongqing"


2. Download Mantis
Http://www.mantisbt.org/builds.php
Mantisbt-1.2.18dev-master-1.2.x-12a957c.tar
Cd/tmp
Tar -zxvfmantisbt-1.2.18dev-master-1.2.x-12a957c.tar
Mvmantisbt-1.2.18dev-master-1.2.x-12a957c/var/www/html/mantis
Chown-R apache: apache/var/www/html/mantis

3. Create a Mantis Database

Mysql-u root-p XXX
Mysql> create database mantis;
Mysql> grant all privileges on mantis. * to 'root' @ 'localhost' identified by 'xxx ';
Mysql> flush privileges;
Create a database named mantis, set the User root and password to XXX, and grant all permissions to the mantis database.

4. Access http: // IP/mantis through a browser
Enter relevant information and click Install/Upgrade Database.


Access http: // IP/mantis/login_page.php
Mantis has a default system administrator account with the password "root.
Two Warnings are displayed:
1) Warning: You shocould disable the default 'admin' account or change its password.
Use administrator to log on and change the password.
2) Warning: Admin directory shocould be removed.
Delete or rename the admin directory under the/var/www/html/mantis directory.

5. Set Mantis to support Chinese Characters

Cd/var/www/html/mantis
Vim config_inc.php
Add:
$ G_default_language = 'Chinese _ simplified ';

After setting it to Chinese, study it by yourself, or view the mantis tutorial in the user manual at http://www.mantisbt.org/docs/master-1.2.x/en/administration_guide.html.
The general process is as follows: the Administrator creates a project, the rapporteur submits a problem, and assigns it to the developer to fix the problem. After the test, the Administrator modifies the problem status. If there is any problem, the Administrator reopens the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.