在线网站做图集相册,定制管理系统软件,成都平台网站开发公司,竞价推广与seo的区别Bugzilla Windows安装红宝书一直寻找合适的Bug Tracking System#xff0c;网上找了很久#xff0c;commercial的太贵#xff0c;还有licence限制#xff0c;远远超出我等贫民的承受范围。也曾考虑干脆自己写一个算了#xff0c;但终究未能如愿。对Bugzilla倒是早有所闻网上找了很久commercial的太贵还有licence限制远远超出我等贫民的承受范围。也曾考虑干脆自己写一个算了但终究未能如愿。对Bugzilla倒是早有所闻只可惜好像在Linux下比较好安装在windows上却难上加难。在Bugzilla的document和FAQ中可见一斑Making Bugzilla work on windows is still a very painful processes. The Bugzilla Team is working to make it easier, but that goal is not considered a top priority. If you wish to run Bugzilla, we still recommend doing so on a Unix based system such as GNU/Linux. As of this writing, all members of the Bugzilla team and all known large installations run on Unix based systems.If after hearing all that, you have enough pain tolerance to attempt installing Bugzilla on Win32, here are some pointers. Because this is a development version of the guide, these instructions are subject to change without notice. In fact, the Bugzilla Team hopes they do as we would like to have Bugzilla resonabally close to out of the box compatibility by the 2.18 release.A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98/NT/2K)?Remove Windows. Install Linux. Install Bugzilla. The boss will never know the difference.本人花了差不多两天时间终于基本上在windows 2000 professional上安装上了bugzilla现在贡献出来希望对大家能有所帮助。一、安装Perl1、下载ActivePerl可以到华军软件园去搜索(http://www.onlinedown.net/)我下载的是ActivePerl-5.8.0.806-MSWin32-x86.msi安装到D:\Perl(安装路径可自定以下同)2、打开D:\Perl\Lib\CPAN.pm 查找并更改$CPAN: defaultsite || ftp://ftp.perl.org/pub/CPAN;为$CPAN: efaultsite || http://cpan.shellhung.org;主要是为了提高下面安装其他perl模块时的下载安装速度。二、安装Mysql1、下载Mysql(http://www.onlinedown.net/)我下载的是mysql-4.0.15-win.zip直接安装即可。同时可以下载安装mysqlcc-0.9.3-win32.zip这是mysql的管理软件挺好用的。2、修改mysql的root用户密码E:\cd mysqlE:\mysqlcd binE:\mysql\binmysql -u root mysqlmysqlUPDATE user SET PasswordPASSWORD() WHERE userroot;mysqlFLUSH PRIVILEGES;其中为root用户的新密码。更改密码后要用root用户访问mysql必须使用mysql -u root -p按提示敲入正确的root密码。3、创建bugs用户并赋给相应的权限mysql GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES,LOCK TABLES,CREATE TEMPORARY TABLES ON bugs.* TO bugslocalhost IDENTIFIED BY ;mysql FLUSH PRIVILEGES;要记住bugs用户的密码在下面的bugzilla配置文件要用。4、创建bugs数据库mysqlcreate database bugs;三、下载Bugzilla(www.bugzilla.org)最好下载bugzilla-2.17.4如果安装2.16好像要改很多perl脚本我没有安装成功(解压到E:\Bugzilla四、配置IIS1、打开控制面板-管理工具-Internet Information Services, 再Default Web Site右键选择Properties- Home Dictory- Configuration,在App Mappings中点击Add增加如下资料Executable: D:\Perl\bin\perl.exe %s %sExtension: .plLimit to: GET,HEAD,POSTExecutable: D:\Perl\bin\perl.exe %s %sExtension: .cgiLimit to: GET,HEAD,POST注意Perl.exe的路径2、Default Web Site中增加Virtual Directory: Bugzilla。Access Permission增加Execute。3、选择刚建立的虚拟目录Bugzilla,右键选择Properties- Documents。Default Documents中增加index.cgi。五、安装Bugzillabugzilla目录下有一个checksetup.pl脚本。这个脚本写的简直太好了它既可以检查bugzilla需要的perl模块是否已安装又可以创建数据库的表及admin用户。不过需要改几个地方才能够在windows下正常使用。在/bugzilla/docs/html/Bugzilla-Guide.html中有如下描述4.3.1.3.1. Changes to checksetup.plIn checksetup.pl, the line reading:my $mysql_binaries  which mysql;tomy $mysql_binaries  D:\\mysql\\bin\\mysql;And youll also need to change:my $webservergid  getgrnam($my_webservergroup)tomy $webservergid  8安装过程中还得改几个地方才能用。这在下面一步步介绍。现在先运行cmd到dos下进入bugzilla目录运行perl checksetup.pl看看有什么提示信息。1、安装perl模块到cpan.shellhung.org点击perl module-all module下载AppConfig-1.55、CGI.pm-3.00、DBD-mysql-2.9002、DBI-1.38、Template-Toolkit-2.10、TimeDate-1.16。perl模块有两种安装方法一种直接解压下载模块进入其目录运行perl MakeFile.plnmakenmake testnmake install(安装了VC就会有nmake)另一种是运行ppm DBD-mysql-2.9002、DBI-1.38最好用这种方式。安装完成后可以运行perl checksetup.pl检查是否bugzilla需要的perl模块都安装完毕。2、修改checksetup.pl37513756行注释掉#$SIG{HUP}  \bailout;#$SIG{INT}  \bailout;#$SIG{QUIT}  \bailout;#$SIG{TERM}  \bailout;#system(stty,-echo); # disable input echoing3759和3769这两行也要注释掉否则它老是提示你输入admin密码。3、运行perl checksetup.pl如果没有什么错误提示会生成localconfig文件4、修改localconfig文件$index_html  1 (生成index.html)$mysqlpath  e\\mysql\\bin (你的mysql\bin路径)$webservergroup  8$db_user  bugs (mysql的登陆用户名)$db_pass  (mysql bugs用户的登陆密码)5、再次运行perl checksetup.pl, 系统提示创建Administrator的相关邮件Realname,密码的资料。最后如果成功最后会提示Reminder: Bugzilla now requires version 8.7 or later of sendmail6、修改所有的cgi文件去掉第一行的最后一个字符T打开浏览器键入http://localhost/bugzilla即可进入bugzilla登陆界面7、修改bugzilla为中文界面到http://sourceforge.net/projects/bugzilla-cn/下载bugailla-2.17.4-cn-0.92.tar.gz把解压后的cn目录copy到E:\bugzilla\template然后修改E:\bugzilla\Bugzilla\template.pm文件在76行增加my $languages  cn。在打开浏览器试试是不是变成中文呢呵呵。BTW本人从来不懂perl和cgi。