在公司也装了bugzilla.虽然网上安装说明也挺多的,不过自己动手的时候还是遇到了些问题。有些资料里的地址不能访问了,安装方法有差异什么的。。
1.mysql (我用PHPnow_1.5.4安装后自带的MYSQL)
2.perl(ActivePerl-5.8.0.806-MSWin32-x86.msi) http://downloads.activestate.com/ActivePerl/releases/
http://downloads.activestate.com/ActivePerl/releases/5.8.9.828/ActivePerl-5.8.9.828-MSWin32-x86-294165.msi
3.modules http://sourceforge.net/projects/bugzilla-cn/files/tools/bugzillaModules-2.20/BugzillaModules-
2.20.zip/download?use_mirror=ncu
装modules时(bugzillamodules-2.2.0解压缩文件包最好放在英文目录下)
4.setcheckpl 运行检查,对记录显示的modules 逐一复制命令执行
提示问题1:
WARNING: You need to set the max_allowed_packet parameter in your MySQL configuration to at least 3276750. Currently it is set to 3275776.
--- 更改mysql里的my.ini文件,更改max_allowed_packet的值
提示问题2:
search_paths: Can't open C:/Perl/site/lib/Email/Send/C:/NNTP.pm: Invalid argument at C:/Perl/lib/Module/Pluggable/Object.pm line 168.
-----原因是没有安装Module-Pluggable的Perl模块
---- PPM管理器中安装module-puggalbe时会提示冲突,找到File-Spec模块,将其卸载,然后安装Module-Pluggable
5.IIS配置
为bugzilla文件建立虚拟目录,并配置映射PERL
输入:<perl目录> -x<bugzilla目录> -wt "%s" %s .如:c:/perl2/bin/perl.exe -xF:/PHPnow_1.5.4/bugzilla-4.0 -wt "%s" %s (注意x后没空格)
扩展名:.cgi
6.完成后。访问本地的 http://localhost/bugzilla/ 显示正常的话就没问题了。
7.--new account 发不了邮件,晚点再看看邮箱配置