bugzilla安装

最近需要安装bugzilla进行项目测试管理,安装环境:
OS:windows10
bugzilla:5.0.4
perl:Perl64-5.16.3
mysql:5.6.10

下载bugzilla安装文件:

https://www.bugzilla.org/download/

创建mysql数据库

mysql -u root -p
create database bugs;
create user bugs@localhost IDENTIFIED BY ‘myPassword’;
grant all on bugs.* to bugs@‘localhost’;
flush privileges;

安装perl

在perl官网下载安装包,建议版本Perl-5.16,或 Perl-5.18,如果版本高于Perl-5.20,某些perl依赖包安装不上。

perl添加资源库

默认资源库访问缓慢,需要添加其他镜像:
打开目录:D:\dev\Perl64-5.16.3\bin
打开ppm.bat,添加镜像地址
http://www.bribes.org/perl/ppm64

安装bugzilla

1、安装检查
D:\bugzilla-5.0.4>checksetup.pl
如下模块需要安装
COMMANDS TO INSTALL OPTIONAL MODULES:

      Chart: ppm install Chart
Template-GD: ppm install Template-GDMIME-tools: ppm install MIME-toolsXML-Twig: ppm install XML-Twig
PatchReader: ppm install PatchReaderperl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL

Net-SMTP-SSL: ppm install Net-SMTP-SSL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
XMLRPC-Lite: ppm install XMLRPC-Lite
JSON-RPC: ppm install JSON-RPC
Test-Taint: ppm install Test-Taint
HTML-Scrubber: ppm install HTML-Scrubber
Encode-Detect: ppm install Encode-Detect
Email-Reply: ppm install Email-Reply
HTML-FormatText-WithLinks: ppm install HTML-FormatText-WithLinks
TheSchwartz: ppm install TheSchwartz
Daemon-Generic: ppm install Daemon-Generic
mod_perl: ppm install mod_perl
Apache-SizeLimit: ppm install Apache-SizeLimit
File-MimeInfo: ppm install File-MimeInfo
IO-stringy: ppm install IO-stringy
Cache-Memcached: ppm install Cache-Memcached

COMMANDS TO INSTALL REQUIRED MODULES (You must run all these commands
and then re-run checksetup.pl):

ppm install TimeDate
ppm install Template-Toolkit
ppm install Email-Sender
ppm install Email-MIME
ppm install Math-Random-ISAAC
ppm install JSON-XS
ppm install DateTime-TimeZone-Local-Win32
*** Installation aborted. Read the messages above. ***

手工下载ppmx包

安装时提示需要使用 ppm install 安装缺失的包,但是总是出现丢包的问题,导致安装失败;
此时需要登录网站下载ppmx包,然后手工安装:
http://code.activestate.com/ppm/

Email-Sender相关包

Email-Sender depends on Capture-Tiny
Email-Sender depends on MooX-Types-MooseLike
Email-Sender depends on Email-Abstract
Email-Sender depends on Moo
Email-Sender depends on Throwable
Email-Sender depends on libnet
Email-Sender depends on Alt-Module-Runtime-ButEUMM
Email-Sender depends on Devel-GlobalDestruction
Email-Sender depends on Role-Tiny
Email-Sender depends on Class-Method-Modifiers
Email-Sender depends on Devel-StackTrace
Email-Sender depends on Socket
Email-Sender depends on Sub-Exporter-Progressive

可选包

Template-GD: ppm install Template-GDMIME-tools: ppm install MIME-toolsXML-Twig: ppm install XML-Twig
PatchReader: ppm install PatchReaderperl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL

Net-SMTP-SSL: ppm install Net-SMTP-SSL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
XMLRPC-Lite: ppm install XMLRPC-Lite
JSON-RPC: ppm install JSON-RPC
Test-Taint: ppm install Test-Taint
HTML-Scrubber: ppm install HTML-Scrubber
Encode-Detect: ppm install Encode-Detect
Email-Reply: ppm install Email-Reply
HTML-FormatText-WithLinks: ppm install HTML-FormatText-WithLinks
TheSchwartz: ppm install TheSchwartz
Daemon-Generic: ppm install Daemon-Generic
mod_perl: ppm install mod_perl
Apache-SizeLimit: ppm install Apache-SizeLimit
File-MimeInfo: ppm install File-MimeInfo
Cache-Memcached: ppm install Cache-Memcached

修改localconfig

安装完 checksetup.pl 的必选包后,在根目录下生成 localconfig文件,修改配置:
$db_port = 3306;
$index_html = 1;
$db_pass = ‘myPassword’;

再次执行 checksetup.pl

Enter the e-mail address of the administrator: admin@sina.com
Enter the real name of the administrator: admin
Enter a password for the administrator account: 123456
Please retype the password to verify: 123456

配置apache

How do I configure Apache 2.0.x to support ActivePerl?

These instructions assume that you have installed the Apache web server according to the instructions for the 2.0.x Windows version.

Open the httpd.conf file for editing by selecting Start > Programs > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration File.This will open your httpd.conf file in the notepad editor.
Make the following changes to the httpd.conf file:In the DocumentRoot section, set the value of DocumentRoot to the directory in which your web site files will be located on your system's hard drive(s). Ensure that you use forward slashes (/) in the path, as Apache doesn't understand backward slashes (\) in paths. For example:# DocumentRoot: The directory out of which you will serve your# documents. By default, all requests are taken from this directory, but# symbolic links and aliases may be used to point to other locations.#DocumentRoot "C:/apacheroot"In the main directory section, add ExecCGI to the Options line. For example:Options FollowSymLinks ExecCGISearch for the following line and remove the hash mark character (#) to uncomment this line. (You can also change .cgi to .pl if you prefer.) For example:#AddHandler cgi-script .cgiShould look like:AddHandler cgi-script .plSave your changes to the httpd.conf file, and restart the Apache Service using the Apache Service Monitor.

安装apache服务

httpd.exe -k install -n “bugzilla”

启动服务

net start “bugzilla”

cgi 文件解析

完成上述配置后,访问如下地址,报500错误:
http://127.0.0.1/

错误描述:
[cgi:error] [pid 1992:tid 1300] (OS 2)系统找不到指定的文件。 : [client 127.0.0.1:60537] couldn’t create child process: 720002: index.cgi
[cgi:error] [pid 1992:tid 1300] (OS 2)系统找不到指定的文件。 : [client 127.0.0.1:60537] AH01223: couldn’t spawn child process: D:/bugzilla-5.0.4/index.cgi

解决办法:
index.cgi 第一行指定的是

#!/usr/bin/perl

需要将全部cgi文件头替换为Perl实际安装位置:

#!C:/Perl64/bin/perl.exe

邮件服务器

hMailServer-5.6.7-B2425
mail server 管理账号密码:myPassword

mail 数据库:
类型:mysql
数据库名称:mail
用户名:mail
密码:myPassword

错误描述:
安装邮件数据库时,使用mysql,可能提示如下错误:
需要将 mysql 32位 版的libmysql.dll 拷贝到
hMailServer\Bin\libmysql.dll
解决办法:
我安装的是mysql-x64位版本的,需要从hMailServer网站下载 32bit LIBmySQL_dll.zip,地址:
https://www.hmailserver.com/forum/viewtopic.php?f=21&t=29726

mail 创建用户

create user mail@localhost IDENTIFIED BY ‘myPassword’;
grant all on mail.* to mail@‘localhost’;
flush privileges;

至此,安装结束。

参考:

bugzilla安装
https://www.cnblogs.com/Warmsunshine/archive/2012/03/25/2416265.html
cgi异常处理
https://blog.csdn.net/default7/article/details/54669728

bugzilla安装相关推荐

  1. Bugzilla安装过程

    Bugzilla+Mysql+iis+perl模块+ ActivePerl 安装过程 一.        需要的软件 安装bugzilla需要的软件有MySQL数据库软件,activeperl软件,b ...

  2. bugzilla 安装

    以下为在 linux 中安装 bugzilla 的简单步骤及说明. camry.wu apt-get install apache2 # 安装 http://www.bugzilla.org/down ...

  3. 软件缺陷追踪工具“bugzilla”安装

    Bugzilla安装过程 下载bugzilla Wgethttp://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.tar.gz 官方安装 ...

  4. Bugzilla安装完初次登录提示“couldn‘t create child process: 720002: index.cgi”解决方法

    登入Bugzilla提示"couldn't create child process: 720002: index.cgi"解决方法 最近公司需要搭建一个自动化测试平台,初步选定了 ...

  5. bugzilla安装详解_for_winXPSP2

    1.安装winXPSP2操作系统 2.安装mysql4.0.17  并确保mysql已经正常启动 3.安装一个mysqlcc用来连接和操作mysql数据库,版本0.9.4-win32 为bugzill ...

  6. 在FreeBSD上安装Bugzilla

    Bugzilla 是一款开源的 Web 应用,是一款bug跟踪系统和测试工具,由 mozilla 开发,并采用 Mozilla 公共许可证授权(MPL),它经常被一些高科技公司如 mozilla.红帽 ...

  7. bugzilla dbd-mysql_Linux下安装Bugzilla——完整版

    操作系统:FC5 目录: 1.mysql(FC5系统自带需要安装配置启动) 2.bugilla(安装) 3.apache(FC5系统自带只要配置启动) 4.安装bugzilla要求的perl模块 5. ...

  8. [转移]安装 BugZilla 时 Perl 模块的安装

    [转移]安装 BugZilla 时 Perl 模块的安装 转移自自己原来在YourBlog上的Blog,写于2004-3-11 13:05:48 看了Jackey的"Windows下BugZ ...

  9. centos6.5安装bugzilla超详细教程

    经过自己的摸索,与尝试,成功在centos6.5上,安装bugzilla.并且可以发送邮件. 一.安装软件 首先,需要安装一些软件 yum install mysql-devel -y yum ins ...

  10. Windows 上安装 Bugzilla 详解

    一.软件准备: 1.phpStudy 下载地址http://phpstudy.php.cn/ 2.bugzilla 下载地址 https://www.bugzilla.org/download/ 3. ...

最新文章

  1. NBT:人类肠道培养细菌的1520个基因组
  2. 原创数据结构算法Flash动画演示课件-Action Script(AS)脚本实现
  3. 让你的 wowza server提供 RESTful web 服务
  4. 运筹学期末复习2020年
  5. 字符串类String
  6. 并发编程-04线程安全性之原子性Atomic包的4种类型详解
  7. Windows下MariaDB数据库安装图文教程
  8. 原神服务器维护后抽奖池会更新吗,原神:武器池改动,玩家的诉求再次得到反馈!PS端将与官服互通!...
  9. php 创建短地址 (var_export)
  10. Linux必知必会的目录结构
  11. win10 sshsecureshellclient删除profile保存的信息
  12. 计算机英语名词解释之软件工程篇
  13. python整除符号_python 整除
  14. 外贸人必收藏开发客户、找邮箱等高效工具
  15. 各代iphone尺寸_Iphone 历代 参数
  16. 《GPU编程与CG语言之阳春白雪下里巴人》阅读笔记 第三章+第四章
  17. MyBatis-Spring(五)--MapperScannerConfigurer实现增删改查
  18. 天长地久 (20分)
  19. mongodb 创建只读用户
  20. 零基础入门推荐系统 - 新闻推荐(一)

热门文章

  1. Java六种异常处理的陋习
  2. java刷票脚本_我来分享一段自己写的刷票脚本 Version 1.0
  3. MATLAB与Excel文件的交换
  4. java做度量衡换算器,磅换算计算器(公斤和磅在线换算器)
  5. Java中类与对象编程题
  6. 熊出没机器人光头强_《熊出没》中的这个小细节你注意到了吗?光头强或许只是诱饵...
  7. wps如何在目录里面打省略号_wps中目录的点怎么打(目录的点点怎样手动打)
  8. 什么是fat jar?
  9. 数量关系-经济利润问题
  10. 【FireFox】火狐浏览器的Flash插件安装