




免费预览已结束,剩余8页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Bugzilla 在windows下的安装一、简单介绍:Bugzilla是Mozilla公司向我们提供的一个开源的免费缺陷跟踪工具。作为一个产品缺陷的记录及跟踪工具,它能够为你建立一个完善的Bug跟踪体系,包括报告Bug、查询Bug记录并产生报表、处理解决、管理员系统初始化和设置四部分。二、windows下的安装准备: Bugzilla是基于linux开发的软件,所以在windows下面安装有一些复杂,应小组的要求,我前几天完成了bugzilla在windows下的安装,自己也走了一些弯路,所以把整个安装过程写成文档,以供大家以后参考。a) Bugzilla下载:/download/最新版本为:3.4.4b) ActivePerl下载:/Products/Download/ 说明:之前我也测试了好几个版本,都以失败而终,bugzilla3.4.4最好配置ActivePerl-22-MSWin32-x86-280952.msi版本,不要低于这个版本,也不要用最新的ActivePerl-5.10版本,不然很多模块会找不到,或者模块版本不匹配。c) Mysql下载:/downloads/mysql 版本:MySql-5.0.27-win32d) Apache 下载:/download.cgi版本:Apache HTTP Server2.2.14 Server 2.2.14三、安装步骤:a) 把下载好的bugzilla解压到c:/buzilla下面即可。b) Mysql安装可以选择典型(Typial)安装MySQL,一直点下一步根据提示就可以完成。 创建bugs数据库和用户: 在命令行窗口进入mysql安装路径如我的安装路径为: 然后输入: 进入mysql环境。创建数据库:把这个bugs的操作权限给root用户(当然你也可以换一个其它用户的):然后刷新一下权限表:最后退出:这样mysql配置完成。c) Apache安装可以按软件的默认安装。我的安装路径为:C:ProgramFilesApache Software FoundationApache2.2安装好之后,相关配置如下:在记事本中编辑C:Program FilesApache Software FoundationApache2.2confhttpd.conf 文件,更改的地方为红色# Do not add a slash at the end of the directory path. If you point# ServerRoot at a non-local disk, be sure to point the LockFile directive# at a local disk. If you wish to share the same ServerRoot for multiple# httpd daemons, you will need to change at least LockFile and PidFile.#ServerRoot C:/Program Files/Apache Software Foundation/Apache2.2Include C:/bugzilla/bugzilla.conf# Listen: Allows you to bind Apache to specific IP addresses and/or# ports, instead of the default. See also the # directive.# Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses ()#Listen 8:80Listen 80# Dynamic Shared Object (DSO) Support# ServerAdmin: Your address, where problems with the server should be# e-mailed. This address appears on some server-generated pages, such# as error documents. e.g. #ServerAdmin # ServerName gives the name and port that the server uses to identify itself.# This can often be determined automatically, but we recommend you specify# it explicitly to prevent problems during startup.# If your host doesnt have a registered DNS name, enter its IP address here.#ServerName :80# 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:/Bugzilla# Each directory to which Apache has access can be configured with respect# to which services and features are allowed and/or disabled in that# directory (and its subdirectories). # First, we configure the default to be a very restrictive set of # features. # Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all# Note that from this point forward you must specifically allow# particular features to be enabled - so if somethings not working as# you might expect, make sure that you have specifically enabled it# below.# This should be changed to whatever you set DocumentRoot to.# # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* - Options All # doesnt give it to you. # # The Options directive is both complicated and important. Please see # /docs/2.2/mod/core.html#options # for more information. # # Options Indexes FollowSymLinks Options Indexes FollowSymLinks ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all# DirectoryIndex: sets the file that Apache will serve if a directory# is requested.# DirectoryIndex index.html index.html.var index.cgi AllowOverride None Options None Order allow,deny Allow from all# tell Apache to use Perl to execute .cgi ScriptInterpreterSource Registry-Strict # # AddHandler allows you to map certain file extensions to handlers: # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add ExecCGI to the Options directive.) # AddHandler cgi-script .cgi AddHandler cgi-script .pi # For type maps (negotiated resources): #AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add Includes to the Options directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml重新启动 Apache Apache配置完成。d) 将ActiveState Perl 安装到C:Perl目录下 在注册表中创建 HKEY_CLASSES_ROOT.cgiShellExecCGICommand 编辑默认值为 C:Perlbinperl.exe -T 在命令窗口进入bugzillabin安装目录执行perl checksetup.pl当然上面的模块已经安装好了。如果没有安装他会提示not found;上面显示0k模块都是必须安装的。安装方法如下:进入perl的安装目录,在命令行窗口里输入:会出来一个模块框:Bugzilla所需的所有模块在这里都会找到。一个一个安装好后,在bugzilla安装目录下再次执行perl checksetup.pl就会显示模块已安装成功。这时会就会在bugzilla目录下生成一个叫localconfig的数据库配置文件。打开这个文件配置数据库信息,如下:# What SQL database to use. Default is mysql. List of supported databases# can be obtained by listing Bugzilla/DB directory - every module corresponds# to one supported database and the name corresponds to a driver name.$db_driver = mysql;# The DNS name of the host that the database server runs on.$db_host = localhost;# The name of the database$db_name = bugs;# Who we connect to the database as.$db_user = root;# Enter your database password here. Its normally advisable to specify# a password for your bugzilla database user.# If you use apostrophe () or a backslash () in your password, youll# need to escape it by preceding it with a character. () or ()# (Far simpler just not to use those character
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 地震科目一考试题及答案
- 地理福建会考试题及答案
- 中国表面杀菌剂项目经营分析报告
- 2025原油铁路运输合同
- 签协议书份额
- 检验中级考试试题及答案
- 驾照科三考试试题及答案
- 畜牧养殖考试题及答案
- 投资承诺协议书
- 水资源论证报告
- 秦皇岛市市直医疗卫生单位选聘笔试真题2024
- 锂离子电池企业供应链企业碳足迹核算指南
- 大学生法律基础知识课件
- Unit 4 What sounds can we hear Period 2 Explore 课件 三年级英语下册(沪教版2024)
- 新闻记者职业资格《新闻采编实务》考试题库(含答案)
- 图解自然资源部《自然资源领域数据安全管理办法》
- PLC入门课程课件
- 港口液体危化品装卸管理人员理论考试题库(浓缩500题)
- 2024年深圳市龙华建设发展集团有限公司招聘笔试冲刺题(带答案解析)
- 药师竞聘正高述职报告
- 昇兴(安徽)包装有限公司年产 18 亿只铝制两片罐项目环境影响评价报告书
评论
0/150
提交评论