Mantis installation and configuration

Source: Internet
Author: User
Tags mantis bug
What is Mantis?

Mantisbt is a free popular web-based bugtracking System (feature list ). it is written in the PHP scripting language and works with MySQL, ms SQL, and PostgreSQL databases and a webserver. mantisbt has been installed on Windows, Linux, Mac OS, OS/2, and others. almost any web browser shocould be able to function as a client. it is released under the terms of the GNU General Public License (GPL ).

 


Mantis is a bug management system. The main features are as follows:

1. It is easy to install a system written in PHP without installing as many Perl support as Bugzilla;

2. The system is relatively simple and easy to use;

3. Excellent multilingual support, suitable for Japanese developers and other companies;

 

Interface illustration:

 



Online Demo address: http://www.futureware.biz/mantisdemo

 

Environment setup and mantis installation and configuration

Mantis is a system written in PHP, and Apache + PHP + MySQL must be used to debug PHP programs. However, it is very troublesome to configure Apache + PHP + MySQL, this does not include environment conflicts, and so on, or problems that cause configuration failure. But it happened that there was such a suite that could save the problems that had previously been solved. This suite is easyphp. Easyphp integrates Apache, PHP, MySQL, and phpMyAdmin.

The above software can refer to the final references of the article.

Applicability

This article describes how to build a mantis Bug Management System in windows.

Software Download

Mantis: http://www.mantisbt.org/

Easyphp: http://www.easyphp.org/

 

This article uses mantis-1.1.0a4 + EasyPHP-3.1 as the demo version and passes the test.

Install easyphp

The installation of easyphp is simple. Double-click easyphp-3.1.exe and click Next by default. Of course, on the license agreement page, you must select I access the agreement ......

Default Software Directory: C: "Program Files" easyphp3.1

Installation progress...



Installing...


Completing!

 

Easyhph is successfully installed! Select "Open Help" and "launch easyphp" and click "finish ". The following page is displayed:

If you double-click the icon on the Windows tray when running, as shown in, "started" is displayed on the Right of Apache and MySQL, and a green light is displayed.

Known issues
:

1. If Apache does not run properly, it may be because the default port 80 used by Apache is occupied. (For details about how to modify the Apache port, continue ...);

2. If you cannot find the cause, restart the computer. It is said that restarting the computer will solve the 80% problem. I hope you will not encounter the remaining 20% problems...

Install mantis

1. decompress the downloaded mantis-1.1.0a4.rar file to the Mantis folder;

2. In the easyphp installation directory, Open C: "Program Files" easyphp3.1 "www"

3. Copy the Mantis folder to C: "Program Files" easyphp3.1 "www;

Install phpMyAdmin

1. Open C: "Program Files" easyphp3.1

2. Cut the phpMyAdmin folder to C: "Program Files" easyphp3.1 "www"

Create a bug Database

1. Right-click the Windows tray icon and select "Local Web" (or enter "http: // 127.0.0.1/" in the IE Address). The following page is displayed:

 

 

2. Click "mantis" to go to the page:

 

3. Click the "Install/upgrade Database" button at the bottom of the page without modifying/entering any values.

4. The following page is displayed:


2. OK. So far, the Mantis system has been set up successfully. Verify that the configuration is successful!

1. Right-click the Windows tray icon and select "Local Web" (or enter "http: // 127.0.0.1/" in the IE Address). The following page is displayed:


2. Click "mantis" (or enter "http: // 127.0.0.1/mantis/login_page.php" in the IE Address) to go to the page:

The configured mantis has only one default system administrator user:

Account: Administrator

Password: Root

 

This is simple. A Bug management system is configured and mantis is ready for use! However, problems still occur in actual use. For example, after mantis is configured, the system with the default configuration is in the English version, and only supports English, not Chinese, as shown in: if you enter Chinese Characters in any field and save them successfully, it is garbled (and the problem of garbled Chinese characters is very difficult to solve, and the solution varies depending on the situation, there will be a lot of searches on the Internet ...), For specific solutions, proceed to look ......

Chinese version Configuration

When the configuration is complete, Mantis is the English system by default, and to use the Chinese version of mantis, You need to modify the configuration file.

2. configuration method:

Open the Mantis directory (C: "Program Files" easyphp3.1 "www" mantis "), open the config_defaults_inc.php file in notepad, and find the following code snippet:

......

# --- Language settings -----------

 

# If the language is set to 'auto', the actual

# Language is determined by the user agent (Web browser)

# Language preference.

$ G_default_language = 'English ';

......

Change English to chinese_simplified
The modified code snippet is as follows:

......

# --- Language settings -----------

 

# If the language is set to 'auto', the actual

# Language is determined by the user agent (Web browser)

# Language preference.

$ G_default_language = 'Chinese _ simplified ';

......

 

2.Verify that the configuration is successful:

Log on to the Mantis System "http: // 127.0.0.1/mantis/login_page.php" in IE again to go to the page:

 

OK. After logging on, the interface is also in Chinese:

 

 

LAN Access

When the configuration is complete, Mantis can only be accessed from the local machine by default. to access it within the LAN, You need to modify the Apache configuration file.

2. configuration method:

Open the Apache directory (C: "Program Files" easyphp3.1 "Apache" conf "), open the httpd. conf file in notepad, and find the following code snippet:

......

#

# Listen: allows you to bind Apache to specific IP addresses and/or

# Ports, instead of the default. See also the <virtualhost>

# Directive.

#

# Change this to listen on specific IP addresses as shown below

# Prevent Apache from glomming onto all bound IP addresses.

#

# Listen 12.34.56.78: 80

Listen 127.0.0.1: 80

 

......

 

Add the following code to the next line of listen 127.0.0.1: 80: Listen 192.168.1.101: 80

Note: 192.168.1.101 is the IP address of the Mantis server.

The modified code snippet is as follows:

......

#

# Listen: allows you to bind Apache to specific IP addresses and/or

# Ports, instead of the default. See also the <virtualhost>

# Directive.

#

# Change this to listen on specific IP addresses as shown below

# Prevent Apache from glomming onto all bound IP addresses.

#

# Listen 12.34.56.78: 80

Listen 127.0.0.1: 80

Listen 192.168.1.101: 80

 

......

 

2.Verify that the configuration is successful:

Log on to the Mantis system via IE on any computer in the LAN

Http: // 192.168.1.101/mantis/login_page.php.

 

Supplement:Mantis does not use the mail system (email) Configuration ::

Modify the configuration file.../mantis/config_inc.php
$ G_enable_email_notification = off; Save and close

1. log on to mantis as an administrator, create a user, enter the account name and real name, and enter the email address as needed to create a user. However, the user password created at this time is blank, it can be modified by the created user after logging on to Mantis.
2. What if the user forgets the password? The administrator can log on to mantis and choose manage> User Management> Select User> Reset Password. Then, the user's password will be left blank and changed after logon.

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.