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