MantisBT defect management system and mantisbt Management System
Introduction:
The company needs a defect management system, which is popular with Jira, Redmine and MantisBT.
This time I sorted out MantisBT, which is exactly what the company needs and the previous documents were lost.
: Http://iweb.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.19/mantisbt-1.2.19.zip
1. Prepare a LAMP or LNMP Environment
Link: http://www.cnblogs.com/wangxiaoqiangs/p/5336180.html
shell > vim /usr/local/php/php.inidate.timezone = Asia/Shanghai
2. MantisBT
shell > cd /usr/local/srcshell > wget http://iweb.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.19/mantisbt-1.2.19.zipshell > unzip -d /usr/local/nginx/html/ mantisbt-1.2.19.zipshell > cd /usr/local/nginx/htmlshell > mv mantisbt-1.2.19 mantisbtshell > chown -R nginx.nginx /usr/local/nginx/html/mantisbtshell > mysql -uroot -pmysql > create database mantisdb character set utf8;mysql > grant all on mantisdb.* to mantisdbuser@localhost identified by 'mantisdbpass';
3. Start Ningx, Mysql, PHP-FPM, firewall allows TCP port 80 to be accessed
4. Web Access: http: // 192.168.12.128/mantisbt
1. Type of Database # MySQL
2. Hostname (for Database Server) # localhost
3. Username (for Database) # mantisdbuser, the user you just created
4. Password (for Database) # mantisdbpass, User Password
5. Database name (for Database) # mantisdb, Database name
6. Admin Username (to create Database if required) # mantisdbuser
7. Admin Password (to create Database if required) # mantisdbpass
8. Print SQL Queries instead of Writing to the Database # do not Print
9. Attempt Installation # Start Installation
0. If an error is reported and no error is reported, CLICK Please log into Mantis.
5. log on to the system
Default User: administrator
Default password: root
Change My Account. The default administrator password is used.
Modify Preferences Language to simplified Chinese: chinese_simplified
Update Prefs Update
6. Email Notification
shell > yum -y install postfixshell > service postfix startshell > chkconfig --add postfixshell > chkconfig --level 35 postfix on
1. Manage --> User Management --> create a user. The operation permission is developer and the status is enabled.
2. A new user will receive an email and change the password through the link.
Note:
If the system cannot send emails normally, or the staff is in an Intranet environment, they cannot receive emails. In this case, you cannot use the email notification function and need to modify the configuration. Otherwise, you cannot set a password.
Shell> vim/usr/local/nginx/html/mantisbt/config_defaults_inc.php $ g_send_reset_password = OFF; # Set it to OFF if it is ON
In this way, when creating a user, the administrator needs to set the user password.
3. Create a new project, submit a test question, and assign the question to the new user. The user will receive an email notification.
4. Email Notification is configurable. For more rules, choose manage> Configure Management> email notification. When can I notify anyone!
# More MantisBT configurations need to be customized and set as needed.