Windows上配置bugzilla.docx
- 文档编号:10960747
- 上传时间:2023-02-24
- 格式:DOCX
- 页数:46
- 大小:1.45MB
Windows上配置bugzilla.docx
《Windows上配置bugzilla.docx》由会员分享,可在线阅读,更多相关《Windows上配置bugzilla.docx(46页珍藏版)》请在冰豆网上搜索。
Windows上配置bugzilla
1.准备工作
软件名称
版本
下载地址
备注
Perl
5.14
postgreSQL
9.0.4
Mysql
5.1.55
需要使用DBD-mysql(v4.001或以上版本),联网安装时找不到相关驱动,后台数据库暂时放弃mysql,改用pg
Bugzilla
4.0.1
Apache
2.2
为了和linux一致,弃用windows的IISweb服务器
2.安装bugzilla
2.1.安装Perl
1.双击ActivePerl-5.14.1.1401-MSWin32-x86-294969.msi
2.选择“Iaccept。
。
。
”
3.安装组件默认,安装路径默认
4.安装Perl参数设置,采用默认设置
5.执行安装
6.完成
2.2.安装数据库
2.2.1.mysql
1.解压后双击mysql-essential-5.1.55-win32.msi,然后弹出安装向导界面,点击【next】
2.选择“Iaccept。
。
。
。
”
3.选择“Typical”安装
4.准备安装界面,点击【Install】
5.执行安装
6.安装完成,进行服务器配置,也可以放到后面手工进行配置:
7.配置向导
8.选择【DetailedConfiguration】
9.选择【DeveloperMachine】
10.选择【MultifunctionalDatabase】
11.默认配置
12.修改并发连接
13.指定端口
14.设置默认字符集gbk
15.增加命令行的支持
16.配置root密码123456,注意要勾上“Enablerootaccessfromremotemachines”,然后点击【Next】
17.点击【Execute】,执行配置
18.点击【Finish】完成
19.通过cmd切换到mysql的安装路径下,使用mysql自带的客户端工具
cd"C:
\ProgramFiles\MySQL\MySQLServer5.1\bin>"
mysql-uroot-P3306-p123456
20.创建数据库
createdatabasebugs;
21.创建用户
createuser'bugs'@'%%'IDENTIFIEDBY'123456';
授权
GRANTSELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP,REFERENCES,LOCKTABLES,CREATETEMPORARYTABLESONbugs.*TO'bugs'@'%%'IDENTIFIEDBY'123456';
2.2.2.postgreSQL
1.双击postgresql-9.0.4-1-windows.exe,在弹出的安装向导界面上点击【Next】
2.指定安装路径,可使用默认值
3.指定数据目录,可使用默认值
4.设置DBA的密码(123456)
5.设定数据库端口,可使用默认
6.设置默认字符集
7.准备安装
8.安装执行
9.安装完成
10.然后从【开始】【程序】【PostgreSQL9.0】【pgAdminIII】,然后创建用户bugs,密码是123456,然后创建数据库bugs,属主是bugs
2.3.安装bugzilla
1.解压压缩包,例如解压到C:
\bugzilla下
2.运行命令行窗口,进入到解压路径,然后运行:
perlchecksetup.pl
如果提示
COMMANDSTOINSTALLREQUIREDMODULES(You*must*runallthesecommands
andthenre-runthisscript):
ppminstallTimeDate
ppminstallDateTime
ppminstallDateTime-TimeZone
ppminstallTemplate-Toolkit
ppminstallEmail-Send
ppminstallEmail-MIME
***Installationaborted.Readthemessagesabove.***
注意:
需要在联网的状态在此路径下重新执行上述命令;如果不能联网的话,需要先从
3.安装完所有的模块后,再次运行perl checksetup.pl,如果主要的模块都正确安装,会在bugzilla的目录下生成一个localconfig文件修改该文件,主要是以下几个配置:
$db_host = 'localhost';
$db_name = 'bugs';
$db_user = 'bugs';
$db_pass = '123456';
如果使用mysql数据库,那么$db_driver='mysql';如果使用PostgreSQL则$db_driver='Pg';
注意:
这次我使用了pg,主要是安装DBD-mysql(v4.001或以上版本),联网安装时找不到相关驱动,只好先弃用mysql了;另外网上有人说不要使用mysql5.x的版本,这一点我不太赞同,毕竟mysql4.x版本上有些功能不太完备。
4.最后,再次运行perl checksetup.pl,会看到一些创建表的信息,并且中途会提示你输入管理员的相关信息。
5.安装过程:
C:
\bugzilla>perlchecksetup.pl
*ThisisBugzilla3.6.5onperl5.14.1
*RunningonWinXP/.NetBuild2600(ServicePack2)
Checkingperlmodules...
CheckingforCGI.pm(v3.51)ok:
foundv3.53
CheckingforDigest-SHA(any)ok:
foundv5.62
CheckingforTimeDate(v2.21)ok:
foundv2.24
CheckingforDateTime(v0.28)ok:
foundv0.70
CheckingforDateTime-TimeZone(v0.79)ok:
foundv1.35
CheckingforDBI(v1.41)ok:
foundv1.616
CheckingforTemplate-Toolkit(v2.22)ok:
foundv2.22
CheckingforEmail-Send(v2.16)ok:
foundv2.198
CheckingforEmail-MIME(v1.861)ok:
foundv1.908
CheckingforEmail-MIME-Encodings(v1.313)ok:
foundv1.313
CheckingforEmail-MIME-Modifier(v1.442)ok:
foundv1.908
CheckingforURI(any)ok:
foundv1.58
CheckingavailableperlDBDmodules...
CheckingforDBD-Pg(v1.45)ok:
foundv2.17.2
CheckingforDBD-mysql(v4.00)notfound
CheckingforDBD-Oracle(v1.19)ok:
foundv1.27
ThefollowingPerlmodulesareoptional:
CheckingforGD(v1.20)ok:
foundv2.45
CheckingforChart(v2.1)ok:
foundv2.4.2
CheckingforTemplate-GD(any)ok:
foundv1.56
CheckingforGDTextUtil(any)ok:
foundv0.86
CheckingforGDGraph(any)ok:
foundv1.44
CheckingforXML-Twig(any)ok:
foundv3.38
CheckingforMIME-tools(v5.406)ok:
foundv5.502
Checkingforlibwww-perl(any)ok:
foundv6.02
CheckingforPatchReader(v0.9.4)ok:
foundv0.9.6
Checkingforperl-ldap(any)ok:
foundv0.4001
CheckingforAuthen-SASL(any)ok:
foundv2.15
CheckingforRadiusPerl(any)ok:
foundv0.20
CheckingforSOAP-Lite(v0.710.06)notfound
CheckingforJSON-RPC(any)ok:
foundv0.96
UseofuninitializedvalueinopenatC:
/Perl/site/lib/Test/Taint.pmline334,line522.
CheckingforTest-Taint(any)ok:
foundv1.04
CheckingforHTML-Parser(v3.40)ok:
foundv3.68
CheckingforHTML-Scrubber(any)ok:
foundv0.09
CheckingforEmail-MIME-Attachment-Stripper(any)ok:
foundv1.316
CheckingforEmail-Reply(any)ok:
foundv1.202
CheckingforTheSchwartz(any)notfound
CheckingforDaemon-Generic(any)notfound
Checkingformod_perl(v1.999022)notfound
CheckingforMath-Random-Secure(v0.05)ok:
foundv0.06
***********************************************************************
*OPTIONALMODULES*
***********************************************************************
*CertainPerlmodulesarenotrequiredbyBugzilla,butby*
*installingthelatestversionyougainaccesstoadditional*
*features.*
**
*Theoptionalmodulesyoudonothaveinstalledarelistedbelow,*
*withthenameofthefeaturetheyenable.Belowthattablearethe*
*commandstoinstalleachmodule.*
***********************************************************************
*MODULENAME*ENABLESFEATURE(S)*
***********************************************************************
*SOAP-Lite*XML-RPCInterface*
*TheSchwartz*MailQueueing*
*Daemon-Generic*MailQueueing*
*mod_perl*mod_perl*
***********************************************************************
*NoteForWindowsUsers*
***********************************************************************
*Inordertoinstallthemoduleslistedbelow,youfirsthavetorun*
*thefollowingcommandasanAdministrator:
*
**
*ppmrepoaddtheory58Shttp:
//cpan.uwinnipeg.ca/PPMPackages/10xx/
***********************************************************************
COMMANDSTOINSTALLOPTIONALMODULES:
SOAP-Lite:
ppminstallSOAP-Lite
TheSchwartz:
ppminstallTheSchwartz
Daemon-Generic:
ppminstallDaemon-Generic
mod_perl:
ppminstallmod_perl
Apache-SizeLimit:
ppminstallApache-SizeLimit
Reading./localconfig...
OPTIONALNOTE:
Ifyouwanttobeabletousethe'differencebetweentwo
patches'featureofBugzilla(whichrequiresthePatchReaderPerlmodule
aswell),youshouldinstallpatchutilsfrom:
CheckingforDBD-Pg(v1.45)ok:
foundv2.17.2
CheckingforPostgreSQL(v8.00.0000)ok:
foundv09.00.0400
CheckingforDBD-Pg(v2.17.2)ok:
foundv2.17.2
Addingnewtablebz_schema...
InitializingthenewSchemastorage...
Addingnewtableattach_data...
Addingnewtableattachments...
Addingnewtablebug_group_map...
Addingnewtablebug_see_also...
Addingnewtablebug_severity...
Addingnewtablebug_status...
Addingnewtablebugs...
Addingnewtablebugs_activity...
Addingnewtablebugs_fulltext...
Addingnewtablecategory_group_map...
Addingnewtablecc...
Addingnewtableclassifications...
Addingnewtablecomponent_cc...
Addingnewtablecomponents...
Addingnewtabledependencies...
Addingnewtableduplicates...
Addingnewtableemail_setting...
Addingnewtablefielddefs...
Addingnewtableflagexclusions...
Addingnewtableflaginclusions...
Addingnewtableflags...
Addingnewtableflagtypes...
Addingnewtablegroup_control_map...
Addingnewtablegroup_group_map...
Addingnewtablegroups...
Addingnewtablekeyworddefs...
Addingnewtablekeywords...
Addingnewtablelogin_failure...
Addingnewtablelogincookies...
Addingnewtablelongdescs...
Addingnewtablemilestones...
Addingnewtablenamedqueries...
Addingnewtablenamedqueries_link_in_footer...
Addingnewtablenamedquery_group_map...
Addingnewtableop_sys...
Addingnewtablepriority...
Addingnewtableproducts...
Addingnewtableprofile_search...
Addingnewtableprofile_setting...
Addingnewtableprofiles...
Addingnewtableprofiles_activity...
Addingnewtablequips...
Addingnewtablerep_platform...
Addingnewtableresolution...
Addingnewtableseries...
Addingnewtableseries_categories...
Addingnewtableseries_data...
Addingnewtablesetting...
Addingnewtablesetting_value...
Addingnewtablestatus_workflow...
Addingnewtabletokens...
Addingnewtablets_error...
Addingnewtablets_exitstatus...
Addingnewtablets_funcmap...
Addingnewtablets_job...
Addingnewtablets_note...
Addingnewtableuser_group_map...
Addingnewtableversions...
Addingnewtablewatch...
Addingnewtablewhine_events...
Addingnewtablewhine_queries...
Addingnewtablewhine_schedules...
Creatingfunctionarray_accum...
Removingindex'bugs_fulltext_comments_idx'fromthebugs_fulltexttable...
Removingindex'bugs_fulltext_comments_noprivate_idx'fromthebugs_fulltexttable...
Addingnewindex'profiles_login_name_lower_idx'totheprofilestable...
Addingnewindex'fielddefs_name_lower_idx'tothefielddefstable...
Addingnewindex'keyworddefs_name_lower_idx'tothekeyworddefstable...
Addingnewindex'products_name_lower_idx'totheproductstable...
Insertingvaluesintothe'bug_status'table:
'UNCONFIRMED'sortkey:
100
'CONFIRMED'sortkey:
200
'IN_PROGRESS'sortkey:
300
'RESOLVED'sortkey:
400
'VERIFIED'sortkey:
500
Insertingvaluesintothe'priority'table:
'Highest'sortkey:
100
'High'sortkey:
200
'Normal'sortkey:
300
'Low'sortkey:
400
'Lowest'sortkey:
500
'---'sortkey:
600
Insertingvaluesintothe'rep_platform'table:
'All'sortkey:
100
'PC'sortkey:
200
'Macintosh'sortkey:
300
'Other'sortkey:
400
Insertingvaluesintothe'resolution'table:
''sortkey:
100
'FIXED'sortkey:
200
'INVALID'sortkey:
300
'WONTFIX'sortkey:
400
'DUPLICATE'sortkey:
500
'WORKSFORME'sortkey:
600
Insertingvaluesintothe'op_sys'
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Windows 配置 bugzilla