Windows平台搭建Mantis服务器
1、资源下载
操作系统:Windows_7_Enterprise_SP1_x64
XAMPP版本:xampp-win32-7.2.6-0-VC15
Mantis版本:mantisbt-2.15.0
2、安装部署
2.1、安装XAMPP
2.1.1、运行“xampp-win32-7.2.6-0-VC15-installer.exe”一路“next”选择默认配置安装XAMPP
2.1.2、打开“XAMPP Control Panel”,然后依次启动“Apache”和“MySQL”,首次启动时在系统防火墙弹出的提示中勾选所“专用网络”和“公共”网络,然后点击“允许访问”即可(如果有需要, 将可以“将“Apache”和“MySQL”分别安装成系统服务,如下图)
2.1.3、测试“Apache”和“MySQL”是否成功安装:在安装XAMPP的服务器上使用IE8.0以上版本或Chrom浏览器访问 http://localhost 如果可以打开“Welcome to XAMPP”页面,点击“phpMyAdmin”菜单可以进入管理页面(如下图),说明“Apache”和“MySQL”已经安装好并成功启动
2.2、安装Mantis
2.2.1、解压mantisbt-2.15.0.zip,重命名文件夹为mantis,然后将其剪切到C:\xampp\htdocs\目录下
2.2.2、在C:\xampp\mysql\data\文件夹下新建bugtracker文件夹
2.2.3、在C:\xampp\apache\conf\文件夹下的httpd.conf文件中的ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"这一行后面加入如下内容
Alias /mantis "C:/xampp/htdocs/mantis"
<Directory /mantis/>
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
2.2.4、在安装XAMPP的服务器上使用IE8.0以上版本或Chrom浏览器中输入http://localhost/mantis/,进入Mantis安装页面,页面文本框中的默认信息不需要改动(注意以下几个问题)