Mantis 安装与配置
原文链接:http://www.cnblogs.com/beyondchina/p/3498086.html
特此感谢原文作者:beyondchina
1. 适用范围
a. 本文介绍基于 Windows 下的缺陷管理平台 Mantis。
2. 软件准备
a. 下载 EasyPHP:http://www.easyphp.org/easyphp-devserver.php。
b. 下载 MantisBT:http://www.mantisbt.org/download.php。
本文以 mantisbt-1.2.15 + EasyPHP-DevServer-13.1VC11 为演示版本,并在 Windows 7 64 位和 32 位操作系统上测试通过。
3. 安装 EasyPHP
a. 双击 EasyPHP-DevServer-13.1VC11-setup.exe 安装,安装完运行,右下脚托盘处出现E图标。
b. 启动 Apache 如遇丢失 MSVCR110.dll 错误(见 a1), 从网上下载 MSVCR110.dll,并将此文件复制到 C:\Windows\System32 目录。64 位操作系统复制到 C:\Windows\SysWOW64 目录。
c. 启动 Apache 如遇端口被占用错误(见 b1),打开配置文件:C:\Program Files (x86)\EasyPHP-DevServer-13.1VC9\binaries\apache\conf\httpd.conf, 查找 Listen 127.0.0.1:80,将 80 端口改为可用的端口号,如:9494,保存后,重启EasyPHP。
查看端口是否被占用: netstat -aon|findstr "端口号"。
d. 如果在打开 Local Web 或者 Administration 页面的时候发现加载很慢,可尝试修改 hosts 文件(见 c1)。
a1.
b1.
---------------------------
Apache
---------------------------
Apache port (80) is used by System ! Close this application and relaunch EasyPHP. Apache port can be changed via the administration page.
---------------------------
确定
---------------------------
c1.
文件位置: C:\Windows\System32\drivers\etc
修改前:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
修改后:
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
4. 安装配置 mantis
A. 解压 mantisbt-1.2.15.zip。
B. 复制文件夹到 C:\Program Files\EasyPHP-DevServer-13.1VC11\data\localweb 目录下。
C. 右键 Windows 托盘的(EasyPHP) 图标 ,打开 Local Web(或者浏览器中输入: http://127.0.0.1/)。
D. 打开 mantisbt-1.2.15(或者浏览器中输入: http://127.0.0.1/mantisbt-1.2.15/login_page.php)
E. 在页面上点击 Install/Upgrade Database 按钮进行数据库安装,如果安装过程出现 d1错误,清空 Password (for Database),Admin Username (to create Database if required) 和 Admin Password (to create Database if required) 里面的内容即可。
F. 如遇 d2 错误,Username (for Database) 填上 root 即可解决问题。
Note: MySQL 的默认用户是 root,密码为空。
F. 查看是否可打开 mantis 登录页面(Example: http://127.0.0.1/mantisbt-1.2.15/login_page.php)。
G. 配置完成的 Mantis 只有一个默认的系统管理员用户:administrator,密码: root。
d1.
BAD
Does administrative user have access to the database? ( Access denied for user 'root'@'localhost' (using password: YES) )
d2.
BAD
database username is blank
5. 修改显示语言(默认显示为英语)
修改配置文件: C:\Program Files\EasyPHP-DevServer-13.1VC11\data\localweb\mantisbt-1.2.15\config_defaults_inc.php
修改前: $g_default_language = 'english';
修改后: $g_default_language = 'chinese_simplified';
6. 配置邮件服务器
修改配置文件 config_defaults_inc,只需修改以下变量,就可发送邮件成功。
修改前:
$g_from_email = 'noreply@example.com';
$g_return_path_email = 'admin@example.com';
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_host = 'localhost';
$g_smtp_username = '';
$g_smtp_password = '';
修改后:
$g_from_email = 'liangjunjia@126.com';
$g_return_path_email = 'liangjunjia@126.com';
$g_phpMailer_method = 2;
$g_smtp_host = 'smtp.126.com';
$g_smtp_username = 'liangjunjia@126.com';
$g_smtp_password = 邮箱密码;
Note: 这边示例使用的是 126 作为邮件服务器,可使用第三方(比如163,sina,Gmail...)或自己搭邮件服务器。
7. 用 Administrator 注册新用户时设置密码
在 Mantis 目录下 config_defaults_inc.php 文件中找到 $g_send_reset_password
然后设置成:$g_send_reset_password = OFF 即可。
修改前:
/*** If ON, users will be sent their password when their account is created* or password reset (this requires mail settings to be correctly configured).* If OFF, then the Administrator will have to provide a password when* creating new accounts, and the password will be set to blank when reset.* @global int $g_send_reset_password*/$g_send_reset_password = ON;
修改后:
/*** If ON, users will be sent their password when their account is created* or password reset (this requires mail settings to be correctly configured).* If OFF, then the Administrator will have to provide a password when* creating new accounts, and the password will be set to blank when reset.* @global int $g_send_reset_password*/$g_send_reset_password = OFF;
8. 配置局域网访问
A. 修改配置文件: C:\Program Files (x86)\EasyPHP-DevServer-13.1VC9\binaries\conf_files\httpd.conf
修改前:Listen 127.0.0.1:80
修改后:Listen 192.168.0.103:80
Note:192.168.0.103 为 Mantis 服务器的 IP 地址。
B. 验证配置是否成功
在局域网的任一电脑中输入:http://192.168.0.103/mantisbt-1.2.15/login_page.php,如能打开,配置成功。
Mantis 安装与配置相关推荐
- mantis config_inc.php g_source,CentOS7下Mantis安装与配置
Mantis是一个基于PHP技术的轻量级的开源缺陷跟踪系统,以Web操作的形式提供项目管理及缺陷跟踪服务.由于其安装简单.使用方面,备受广大开发和测试人员青睐.下面主要讲解下Mantis再CentOS ...
- CentOS7下Mantis安装与配置
Mantis是一个基于PHP技术的轻量级的开源缺陷跟踪系统,以Web操作的形式提供项目管理及缺陷跟踪服务.由于其安装简单.使用方面,备受广大开发和测试人员青睐.下面主要讲解下Mantis再CentOS ...
- 如何安装和配置Mantis
一.Mantis的概述以及其作用? 1.基本概述 缺陷管理平台Mantis,也叫做MantisBT,全称Mantis Bug Tracker.它是一个基于PHP技术的轻量级的开源缺陷跟踪系统,以web ...
- Centos 上 mantis 安装
简单记录Mantis安装过程及遇到的问题 1.官网下载Mantis http://www.mantis.org/ 2.配置httpd.conf vi /etc/httpd/conf/httpd.con ...
- Maven安装与配置(最实用!!!)eclipse中配置maven
Maven安装与配置 一.需要准备的东西 JDK Eclipse(本章主要是在eclipse中进行配置maven) Maven程序包 二.下载与安装 1. 前往maven下载最新版的Maven程序: ...
- Portainer 安装与配置
文章目录 Portainer 安装与配置 一.介绍 二.安装使用 1.单机运行 2.基于swarm集群方式运行 Portainer 安装与配置 一.介绍 Portainer 是一个开源.轻量级Do ...
- Myeclipse安装、配置、测试
Myeclipse安装.配置.测试(win7_64bit) 目录 1.概述 2.本文用到的工具 3.安装与激活 4.JavaSE开发测试(确保JDK已正确安装) 5.JavaEE开发测试(确保服务器和 ...
- [网摘学习]在Ubuntu上安装和配置OpenStack Nova之二
再收藏一份Openstack的文章,这两天的操作与此相同.但其中出现的问题还需要查找原因.待个人继续学习研究. 原文参考:http://www.linuxde.net/2011/11/1599.htm ...
- centos6.5 php5.2,Linux中PHP安装与配置(CentOS-6.5:php-5.2.13)
1 PHP简介 PHP(PHP: Hypertext Preprocessor的缩写,中文名:"超文本预处理器")是一种通用开源脚本语言.语法吸收了C语言.Java和Per ...
最新文章
- docker inspect 获取 容器 镜像 元数据 简介
- java二级考试简单应用题,计算机二级考试Java语言模拟考试(2)
- 实验详解——Cobbler自动部署最小化安装
- java 通道 双向原理_Java-NIO(四):通道(Channel)的原理与获取
- views是什么意思_views是什么意思_views怎么读_views翻译_用法_发音_词组_同反义词_看( view的名词复数 )-新东方在线英语词典...
- python之syslog学习
- SAP 标准Status拷贝(SE41 SAPLSLVC_FULLSCREEN -> STANDARD_FULLSCREEN )
- python空气质量等级判断_空气质量等级的判定
- 目前人工智能应用领域比较多,主要包含哪些应用领域?
- 2022-07-02 Android 进入app 后 距离传感器控制手机屏幕熄灭的方法-接近传感器Proximity Sensor的信号
- 董事长、总裁、总经理的关系
- 全球首个大规模虐童图像数据库!标记15万图像、20类信息,自动判断图片是否违法​...
- 什么是运维?运维工程师主要是做什么?
- JavaWeb-Cookie、Session
- 将直播链接放入微信公众号
- 王者微信怎么查其它服务器的信息,王者荣耀微信怎么看别人是哪个区的 | 手游网游页游攻略大全...
- 用几何画板画七边形的方法
- 2009-9-17 关于扮猪吃虎
- 机械制图-画、读组合体的视图
- 如果火锅只能吃三样......
热门文章
- 海思Hi3519A开发(4.移植OpenCV4.0.1到Hi3519A开发板)
- 企业固定资产管理是哪个部门管理的
- DXP多引脚封装绘制方式
- 斐波那契1.斐波那契数列
- python selenium UI自动化解决验证码的4种方法
- 佩戴安全帽数据集使用说明和下载
- 东田纳西州立大学计算机排名,美国东田纳西州立大学介绍
- chmod 命令详细用法
- Educational Codeforces Round 118 (Rated for Div. 2)/C. Poisoned Dagger
- 如何配置Thymeleaf教程,及Thymeleaf的简单使用教程【一篇足够入门】