bugzilla在windows下的安装文档.doc_第1页
bugzilla在windows下的安装文档.doc_第2页
bugzilla在windows下的安装文档.doc_第3页
bugzilla在windows下的安装文档.doc_第4页
bugzilla在windows下的安装文档.doc_第5页
免费预览已结束,剩余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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论