In windows, how does one build and configure mantis defect management tools faster and more easily under windows XP? Follow these steps:
1. to install the prerequisite environment of mantis, you must first install Apache HTTP Server2.2, PHP 5, and MySQL5.1
Download APMServ5.2.6 online. APMServ 5.2.6 is a graphical tool for quick building of Apache 2.2.9, PHP5.2.6, MySQL 5.1.28 & 4.0.26, Nginx, Memcached, phpMyAdmin, OpenSSL, SQLite, ZendOptimizer, and Green software for ASP, CGI, and Perl website server platforms.
After downloading and decompressing the package, put it in the C-drive root directory.
Note: If you have installed the MySQL database on your computer, when you start the APMServ5.2.6 tool, the MySQL database fails to be started because the port number 3306 is occupied. the solution is, run the command "netstat-ano" in the cmd window to find the process that occupies Port 3306 and end the process in the task manager. Then, open the MySQL service on the local computer and start the service, then start APMServ5.2.6.
2. install mantis
1, official website download mantisbt-1.2.17,: http://www.mantisbt.org/download.php
Unzip the downloaded installation package, put it in the C:/APMServ5.2.6/www/htdocs Directory, open the browser to access http: // 127.0.0.1, click the mantisbt-1.2.17, the mantis installation interface appears, enter the database connection information and click "Install/Upgrade Databasenstall ",
2. if "install was successful" is displayed, it indicates that mantis has been installed successfully.
3. mantis configuration
In fact, mantis is very easy to install and focuses on how to configure mantis, including setting the simplified Chinese language, date format, email notification, and display statistics report. The following describes how to configure mantis:
1. go to the mantisbt-1.2.17 folder, and my path here is C:/APMServ5.2.6/www/htdocs/mantisbt-1.2.17, copy config_defaults_inc.php to the directory to rename config_inc.php and open config_inc.php, modify the following content:
(1) mantis language settings
$ G_default_language = 'English '; // change english to chinese_simplified
(2) date format settings
$ G_complete_date_format = 'Y-m-d H: I t'; // change the format to the date format
(3) email settings
$ G_enable_email_notification = ON; // enable email notification
$ G_phpMailer_method = 2; // send an email using smtp
$ G_smtp_host = 'smtp .163.com: 25'; // Set the mailbox server. here I use the 163 mailbox
$ G_smtp_username = 'username'; # email account. remember not to add @ and the domain name content.
$ G_smtp_password = 'pwd'; // password for self-login
$ G_return_path_email = 'username @ 163.com '; // email address sent or returned
(4) add PHP mail service
(Note: You need to download PHPMailer_5.2.4 from the internet. decompress the package and put it in a casual Directory. the path here is C:/PHPMailer_5.2.4)
$ G_use_phpMailer = ON;
$ G_phpMailer_path = C:/PHPMailer_5.2.4 '; // phpMailer path. you can write a relatively strong path, but I entered the relative path and failed to send the email.
(5) graphic report settings
Install JPGraph
$ G_jpgraph_antialias = ON; // enables graphical reports.
$ G_jpgraph_path = C:/APMServ5.2.6/www/htdocs/mantisbt-1.2.17/jpgraph/src/'; // add the specified path
Edit PHP in the C:/APMServ5.2.6/php directory. ini deletes the semicolon before "; extension = php_gd2.dll". This module is required for displaying charts and converting Chinese character codes.
In fact, mantis's simplified Chinese display has been set up before, while APMServ5.2.6 is well integrated and there is no garbled problem.
4. log on to mantis
Open your browser and access http: // 127.0.0.1/mantisbt-1.2.17/login_page.php with two warnings,
Solution: 1. use the administrator user to log on. The password is root. after logging on, change the password;
2. delete the admin folder under mantis or modify the name as a backup in the future;