As we all know, Mantis is a lightweight defect tracking system. As a free open source software, I think this is the first choice for many small teams. Why should I introduce Mantis here instead of Bugzilla? First, Mantis has a better operating interface than Bugzilla. Second, installation and use are relatively simple. For general projects, Mantis is more than enough for defect tracking. Okay, let’s get down to business. Let me share with you some of my experience in installing Mantis 0.19 under Windows.
1. Preparation before installation
Download MySQL(and The best combination with PHP) , I use MySQL (the best combination with PHP) 4.0.2. Download php from http://www.php(as the current mainstream development language)
.net/downloads.php(as the current mainstream development language) 🎜>(as the current mainstream development language) for Windows, I am using the latest php(as the current mainstream development language) 5. After downloading php(as the At the same time as the current mainstream development languages), you also need to download the corresponding version of the zip package, which is also on this website. Download Mantis from http://www.mantisbt.org/download.php (as the current mainstream development language) . I am using version 0.19 (currently the latest).
Download php from http://php(as the current mainstream development language)mailer.sourceforge.net
(as the current mainstream development language)mailer, I use PHP(as the current mainstream development language)mailer 1.72, php(as the current mainstream development language)mailer is a module that supports email sending, supporting SMTP, SENDMAIL, etc. Way. Download apache (the most popular WEB server platform on the Unix platform) from the Internet. I am using apache
(the most popular WEB server platform on the Unix platform) 2.0.5, based on There is already a very comprehensive article on the Internet about the installation method of iis(Microsoft's WEB server platform). 2. Installation steps The tools have been prepared, now let’s get into the theme! :) a) Mantis decompression
Extract the downloaded Mantis compressed package to c:mantis.
b) MySQL
(The best combination with PHP)
installation
MySQL (The best combination with PHP) The installation is relatively simple, install it in the default way That's it. After the installation is complete, you need to build the Mantis library. Assume it is installed to the c:MySQL
(best combination with PHP) directory. Click Start->Run->Enter CMD and press Enter to enter the DOS command prompt mode. CD c:MySQL(The best combination with PHP)
in
c:MySQL(The best combination with PHP) in>MySQL
(The best combination with PHP)d //Start the service process of MySQL(The best combination with PHP) Open another DOS prompt window and go to c:mantissql directory CD c:mantissql c:mantissql>c:MySQL
(the best combination with PHP)
inMySQL
(the best combination with PHP) -uroot //Connect to MySQL(The best combination with PHP)Database MySQL(The best combination with PHP)>UPDATE user SET password=PASSWORD(
MySQL(The best combination with PHP)>FLUSH PRIVILEGES;
The above operation is to change the password of the root user ,
>create database mantis; //Create Mantis library
MySQL(The best combination with PHP)> ;connect mantis; , create the tables required when Mantis is run.
MySQL(The best combination with PHP)
>GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, DROP, REFERENCES, LOCK TABLES, CREATE TEMPORARY TABLES ON mantis.* TO mantis@localhost IDENTIFIED BY
>FLUSH PRIVILEGES;
The above is to create the mantis user,
c)php(as the current mainstream development language)5 and apache (The most popular WEB server platform on the Unix platform) installation
php (as the current mainstream development language) 5 and apache (the most popular WEB server platform on the Unix platform For the installation of server platform), you can refer to http://blog.csdn.net/thb28/archive/2004/07/29/55620.aspx. I will not repeat the description here.
d) Modify the configuration files of Mantis and apache (the most popular WEB server platform on the Unix platform) (this part is reproduced and partially modified)