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.