搭建Mantis:
1. 下载并安装EasyPHP
http://www.easyphp.org/
2. 下载Mantis
http://www.mantisbt.org/
3. 将下载的mantisbt-1.2.10文件夹复制到EasyPHP-5.3.9\www\目录下,并修改文件名为mantis
4. 安装Phpmyadmin
1). 将phpmyadmin文件夹剪切到C:"Program Files"EasyPHP3.1"www"
我是将EasyPHP-5.39\mysql\data\phomyadmin 剪切到EasyPHP-5.39\www\文件夹下
5. 建立Bug数据库
1). 右键Windows托盘的 图标,选择“Local Web”
2). 点击选择“mantis”
3). 点击按钮“Install/Upgrade Database”来安装数据库
6. 将默认语言修改为中文
1). 打开文件: EasyPHP-5.3.9\www\mantis\config_defaults_inc.php
找到行: $g_default_language = 'english';
修改为: $g_default_language = 'chinese_simplified';
7. 修改EasyPHP-5.3.9\apache\conf\httpd.conf
加入Listen 192.168.0.101:80
局域网用户访问 http://192.168.0.101/mantis/login_page.php
8. 配置发送邮件服务器
修改EasyPHP-5.3.9\php539x120530101418\php.ini
将 SMTP = 127.0.0.1
修改为: SMTP = smtp.163.com
将 ;sendmail_from = me@example.com
修改为: sendmail_from = xxx@163.com
修改EasyPHP-5.3.9\www\mantis\config_inc.php
添加如下内容:
$g_smtp_host = 'smtp.163.com'; # SMTP 服务器 需要修改
$g_smtp_username = 'xxx@163.com'; # 邮箱登录用户名 需要修改
$g_smtp_password = '******'; # 邮箱登录密码 需要修改
$g_use_phpMailer = ON; # 使用 PHPMailer 发送邮件
$g_phpMailer_path ='.\library\phpmailer'; # PHPMailer 的存放路径 需要修改
$g_phpMailer_method = 2; # PHPMailer 以 SMTP 方式发送 Email
$g_return_path_email = 'xxx@163.com' # 这一点非常重要,不然将无法正常发送激活注册的邮件. 需要修改
9. 将Admin删除 - 要等修改密码或者新建管理员账户后,不然无法管理用户,得重装
EasyPHP-5.3.9\www\mantis\Admin 删除
1. 下载并安装EasyPHP
http://www.easyphp.org/
2. 下载Mantis
http://www.mantisbt.org/
3. 将下载的mantisbt-1.2.10文件夹复制到EasyPHP-5.3.9\www\目录下,并修改文件名为mantis
4. 安装Phpmyadmin
1). 将phpmyadmin文件夹剪切到C:"Program Files"EasyPHP3.1"www"
我是将EasyPHP-5.39\mysql\data\phomyadmin 剪切到EasyPHP-5.39\www\文件夹下
5. 建立Bug数据库
1). 右键Windows托盘的 图标,选择“Local Web”
2). 点击选择“mantis”
3). 点击按钮“Install/Upgrade Database”来安装数据库
6. 将默认语言修改为中文
1). 打开文件: EasyPHP-5.3.9\www\mantis\config_defaults_inc.php
找到行: $g_default_language = 'english';
修改为: $g_default_language = 'chinese_simplified';
7. 修改EasyPHP-5.3.9\apache\conf\httpd.conf
加入Listen 192.168.0.101:80
局域网用户访问 http://192.168.0.101/mantis/login_page.php
8. 配置发送邮件服务器
修改EasyPHP-5.3.9\php539x120530101418\php.ini
将 SMTP = 127.0.0.1
修改为: SMTP = smtp.163.com
将 ;sendmail_from = me@example.com
修改为: sendmail_from = xxx@163.com
修改EasyPHP-5.3.9\www\mantis\config_inc.php
添加如下内容:
$g_smtp_host = 'smtp.163.com'; # SMTP 服务器 需要修改
$g_smtp_username = 'xxx@163.com'; # 邮箱登录用户名 需要修改
$g_smtp_password = '******'; # 邮箱登录密码 需要修改
$g_use_phpMailer = ON; # 使用 PHPMailer 发送邮件
$g_phpMailer_path ='.\library\phpmailer'; # PHPMailer 的存放路径 需要修改
$g_phpMailer_method = 2; # PHPMailer 以 SMTP 方式发送 Email
$g_return_path_email = 'xxx@163.com' # 这一点非常重要,不然将无法正常发送激活注册的邮件. 需要修改
9. 将Admin删除 - 要等修改密码或者新建管理员账户后,不然无法管理用户,得重装
EasyPHP-5.3.9\www\mantis\Admin 删除