Installing Mantis0.19 in Windows + Apache

Source: Internet
Author: User
As we all know, Mantis is a lightweight defect tracking system. As a free open-source software, I think this is the preferred choice for many small teams. Why am I going to introduce Mantis instead of Bugzilla? First, Mantis has a better operation interface than Bugzilla. Second, installation and use are relatively simple. Mantis is more than enough to track defects in general projects. Now let's get down to the point. now we all know at Wind that Mantis is a lightweight defect tracking system. As a free open-source software, I think this is the preferred choice for many small teams. Why am I going to introduce Mantis instead of Bugzilla? First, Mantis has a better operation interface than Bugzilla. Second, installation and use are relatively simple. Mantis is more than enough to track defects in general projects. Now let's get down to the point. let's share some of my experiences with installing Mantis 0.19 on Windows.
1. preparations before installation
From http://www.MySQL (best combination with PHP ). download MySQL from com/downloads/index.html (the best combination with PHP). I use MySQL (the best combination with PHP) 4.0.2.
Download PHP for Windows from http://www.php.net/downloads.php. I use the latest PHP 5. download the zip package of the corresponding version while downloading PHP.
Download the version 0.19from http://www.mantisbt.org/download.php ).
Download phpmailer from the http://phpmailer.sourceforge.net. I am using phpmailer 1.72, phpmailer is a module supporting Mail sending, support for SMTP, SENDMAIL and other methods.
Download apache from the Internet (the most popular WEB server platform on the Unix platform), I use apache (the most popular WEB server platform on the Unix platform) 2.0.5, IIS-based installation method, there is already a comprehensive article on the Internet.
2. installation steps
The tool is ready. let's start with the topic! :)
A) decompress Mantis
Decompress the downloaded Mantis package to c: \ mantis.
B) install MySQL (the best combination with PHP)
MySQL (the best combination with PHP) is easy to install. you can install it by default. Create a Mantis database after installation. Assume that the installation is in the c: \ MySQL Directory (the best combination with PHP.
Click Start> Run> enter CMD and press enter to enter the doscommand prompt line mode.
CD c: \ MySQL (the best combination with PHP) \ bin
C: \ MySQL (the best combination with PHP) \ bin> MySQL (the best combination with PHP) d // start the service process of MySQL (the best combination with PHP)
Open a DOS prompt window and go to the c: \ mantis \ SQL directory.
CD c: \ mantis \ SQL
C: \ mantis \ SQL> c: \ MySQL (the best combination with PHP) \ bin \ MySQL (the best combination with PHP) -uroot // connect to the MySQL database (the best combination with PHP)
MySQL (best combination with PHP)> UPDATE user SET password = PASSWORD (' ') WHERE user = 'root ';
MySQL (the best combination with PHP)> flush privileges;
The above operation is to modify the password of the root user ,' 'Is the password you set.
MySQL (the best combination with PHP)> create database mantis; // create a Mantis database
MySQL (the best combination with PHP)> connect mantis; // connect to the Mantis Library
MySQL (the best combination with PHP)> source db_generate. SQL; // Mantis initial table creation
The above is the table required to create a Mantis database and create a Mantis runtime.

MySQL (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' ';
MySQL (the best combination with PHP)> flush privileges;
The above figure shows how to create a mantis user, Password of the mantis user.
MySQL (the best combination with PHP)> exit; // exit
C) install PHP5 and apache (the most popular WEB server platform on Unix)
For installation of PHP5 and apache (the most popular WEB server platform on the Unix platform), refer.
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)

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.