Defect Management Platform Mantis installation and configuration

Source: Internet
Author: User
Tags mail account

Software Description: Mantis is a lightweight, open source defect tracking system based on PHP technology that provides project management and defect tracking services in the form of web operations. Functional, practical enough to meet the management and tracking of small and medium-sized projects. More importantly, it is open source and does not cost anything.

Experimental system: CentOS 6.6_x86_64

Lab Prerequisites: Firewall and SELinux are off

Experiment Description: This experiment has 1 hosts, IP is 192.168.19.29

First, the installation of the basic environment

1. Install the basic software:

Yum install httpd php php-pdo php-mysql php-gd mysql-server php-mbstring
Chkconfig httpd onchkconfig mysqld on

2. Set the time zone:

vim/etc/php.ini----------------------------------->date. TimeZone = asia/Shanghai <-----------------------------------service httpd startservice mysqld start

3. Create a database:

MySQL------------------------------------>
UPDATE mysql.user SET Password=password (123456) WHERE user= ' root '; // Modify root password
CREATE DATABASE Mantis; GRANT all on Mantis. ' 123456 ' ; // Add Mantis database user FLUSH Privileges;quit

Second, installation Mantis

1. Download and install Mantis:

Cd
wget http://iweb.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.19/ mantisbt-1.2.19.tar.gztar XF mantisbt-1.2. . Tar . GZ MV mantisbt-1.2. /var/www/html/Mantischown -R apache:apache/var/www/html/mantis

2. Use the browser to open Http://192.168.19.29/mantis, fill in the correct database information to continue the installation:

3. After installation, log in:

    

    

4. Add Traditional Chinese display:

vim/var/www/html/mantis/config_inc.php----------------------------------------------------->   'chinese_traditional';   // Add this line

    

5. Configure the Mail sending function:

vim/var/www/html/mantis/config_defaults_inc.php------------------------------------------------------------>$g _administrator_email='[email protected]';//all of the following mailboxes are changed to your own admin mailbox account$g _webmaster_email ='[email protected]'; $g _from_email='[email protected]'; $g _return_path_email='[email protected]'; $g _phpmailer_method= PHPMAILER_METHOD_SMTP;//send mail using the SMTP method$g _smtp_host ='localhost';//SMTP Server address$g _smtp_username ='Administrator@example. com ';//E- Mail account$g _smtp_password ='123456';//account Password$g _smtp_connection_mode ='SSL';//encryption mode, depending on your server settings$g _smtp_port = -;//SMTP Port

    

    

At this point, the experimental demonstration is complete, thank you watch! If you have any questions, please contact qq:82800452.

Defect Management Platform Mantis installation and configuration

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.