Mantis installation instructions documentation

xiaoxiao2021-03-06  43

In the error tracking system, Mantis is definitely a lightweight tool, regardless of installation or configuration or use, as claimed in its own goal. However, for a small and medium-sized project, it functions enough.

Mantis is an open source-based error tracking system based on PHP / MySQL / Web. The following installation tutorial assumes that the system has installed Apache, PHP, MySQL running system, how to install these environments, please check additional configuration documentation.

First, download

Download the latest version from the official website of Mantis. Http://www.mantisbt.org/ The latest version is 0.19.1

Second, install

1, decompression

$ TAR ZXVF MANTIS-0.19.1.tar.gz $ MV Mantis-0.19.1 Mantis

2. Establish a database Mantis and user Mantis

$ mysqladmin -u root -p crete mantis // Enter the mysql root password to complete the operation of creating database Mantis $ mysql -u root -p mysql> grant all privileges on mantis. * to 'mantis' @ 'localhost' identified by 'You specified MANTIS user password'; mysql> flush privileges; mysql> / q

3, modify the configuration file

$ CD MANTIS $ CP config_inc.php.sample config_inc.php $ vi config_inc.php

// Modify the following line $ g_db_username = "mantis"; $ g_db_password = "You specified when the user is established"; $ g_database_name = "mantis";

// Increase a few rows $ g_path = "http://www.yourdomain.com/mantis/"; $ g_icon_path = $ g_path. "Images /"; $ g_absolute_path = "URS / Mantis /"; # The MANTIS Election and 1st) here $ g_use_iis = OFF; # 我们 我们 = ON;

// The following is the configuration message, Mantis uses messages to register and notify, so you must configure $ g_enable_email_notification = on; # 开 通 邮 通 通 $ g_smtp_host = 'mail.anyy8.com'; # SMTP server $ g_smtp_username = 'Sager' ; # 邮箱 Login User Name $ g_smtp_password = 'The password of the user's mailbox'; # 邮箱 login password $ g_Use_phpmailer = on; # 使用 p p = 邮 邮 邮 g g g g g = = = '/ usr / local / php / incrudes / phpmailer /'; # phpMailer Storage path $ g_phpmailer_method = 2; # phpmailer with SMTP

4, Chinese

$ vi config_inc.php // Modify below $ g_default_language = 'chinese_simplified'; $ VI SQL / DB_GENERATE.SQL LANGUAGE VARCHAR (32) Not Null Default 'Chinese_SIMPLified', 5, the table structure of the database

$ mysql -u mantis -p mantis

6, modify the Apache profile and restart Apache

$ vi $ apache_home / conf / httpd.conf // Add the following lines (for reference only)

Alias ​​/ mantis / "/ decompression directory / mantis /"

Options INDEXS MULTIVIVIEWS INCLUDES FOLLOWSYMLINKS EXECCGI ALOWOVERRIDE NONE ORDER ALOW, DENY Allow from all

Note: Mantis in Alias ​​/ Mantis / in Alias ​​/ Mantis / Mantis in the $ G_PATH set in front of the previously settlement

Restart Apache

Note: The modifications here can be operated in another way, easier to place the MANTIS directory to the directory corresponding to the virtual host, so you don't need to set up so many configurations :)

7, access by browser: http://www.yourdomain.com/mantis/

If there is a login page, everything is OK!

8, access by browser: http://www.yourdomain.com/mantis/admin/

You can monitor if your configuration is set, if you have any questions, you can clear what places in seeing

Third, the application

Log in with Administrator users, passwords to root, create a new user, and permissions is Administrate. Log in to the new user, delete the Administor. At the same time, delete the application / mantis under the admin directory. The rest is to register users, establish projects, set items, etc., it is easy to operate after logging in as an administrator, and it is not more to say.

转载请注明原文地址:https://www.9cbs.com/read-71067.html

New Post(0)