1,下载mantis安装包
2,解压
3,运行mantis
双击imstart.cmd
4,中文设置
4.1,修改root/mantis/config_default_inc.php中的变量值:
$g_default_language = 'chinese_simplified_utf8';
$g_complete_date_format = $g_normal_date_format;
4.2,数据库的字符集设置为utf-8:
4.2.1,命令行下登录数据库:
server\mysql-4.1.16-win32\bin\mysql -P 3360 -uroot
4.2.2,删除默认的数据库:
drop database mantis;
4.2.3,创建utf8数据库
CREATE DATABASE mantis DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
4.3,安装mantis数据库
打开http://localhost:8008/admin/install.php
点击Install/Upgrade Database
5,使用mantis
http://localhost:8008
6,进一步配置
6.1,配置smtp发送通知邮件
6.1.1,修改root/mantis/config_default_inc.php中的变量值:
$g_phpMailer_method = 2;
$g_smtp_host = 'smtp.sina.com';
$g_smtp_username = 'username';
$g_smtp_password = 'password';
$g_administrator_email = 'username@sina.com';
$g_webmaster_email = $g_administrator_email;
$g_return_path_email = $g_administrator_email;
$g_from_email = $g_administrator_email;