Defects management platform mantis installation and configuration

Source: Internet
Author: User
Tags email account

Defects management platform mantis installation and configuration
Software Description: Mantis is a lightweight open source defect tracking system based on PHP technology. It provides project management and defect tracking services in the form of Web operations. It is functional and Practical enough to manage and track small and medium-sized projects. More importantly, it is open-source and does not have to pay any fees. Experiment System: CentOS 6.6 _ x86_64 prerequisites: Firewall and selinux both disable the experiment Description: In this experiment, there is a total of 1 host, IP address 192.168.19.29 I. Install the Basic Environment 1. install the basic software: yum-y install httpd php-pdo php-mysql php-gd mysql-server php-mbstringchkconfig 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 the root Password create database mantis; grant all on mantis. * TO mantisuser @ localhost identified by '000000'; // Add the mantis Database User flush privileges; quit 2. Install mantis 1. download and install mantis: cdwget http://iweb.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.19/mantisbt-1.2.19.tar.gztar xf mantisbt-1.2.19.tar.gzmv mantisbt-1.2.19/var/www/html/mantischown-R apache: apache/var/www/html/mantis 2. open http: // 192.168.19.29/mantis in the browser and enter the correct database information to continue the installation: 3. after the installation is complete, log on to: 4. add traditional chinese display: vim/var/www/html/mantis/config_inc.php -----------------------------------------------------> $ g_default_language = 'Chinese _ traditional '; // Add this line. configure the mail sending function:

Vim/var/www/html/mantis/config_defaults_inc.php mailbox> $ g_administrator_email = 'administrator @ example.com '; // all the email addresses below, all are changed to your own administrator email account $ g_webmaster_email = 'administrator @ example.com '; $ g_from_email = 'administrator @ example.com'; $ region = 'administrator @ example.com '; $ g_phpMailer_method = PHPMAILER_METHOD_SMTP; // use SMTP to send an email $ g_smtp_host = 'localhost'; // SMTP server address $ g_smtp_username = 'administrator @ example.com '; // The email account $ g_smtp_password = '2016 '; // account password $ g_smtp_connection_mode = 'ssl '; // set $ g_smtp_port = 25 based on your server; // SMTP Port


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.