Bugzilla Windows Installed Red Book

xiaoxiao2021-03-06  63

I have been looking for a suitable bug tracking system, I have been looking for a long time online, and Commercial is too expensive, and there is a License restriction, far beyond my poor tolerance. I have also considered I have written one for you, but I have not been able to live. It is a pity that it is better to install in Linux, but it is difficult to make it better in Linux. It can be seen in the Document and FAQ of Bugzilla:

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. I spent almost two days, finally basically Bugzilla installed on Windows 2000 Professional, now contributing, I hope to help everyone.

First, install Perl1, download ActivePerl, you can go to Huajun Software Park to search (http://www.onedown.net/), I downloaded ActivePerl-5.8.806-mswin32-x86.msi, install D: / Perl (The installation path can be customized, the following) 2. Open D: /Perl/Lib/cpan.pm Find and change $ cpan: defaultsite || = "ftp://ftp.perl.org/pub/cpan" ;; For $ cpan: efaultsite || = "http://cpan.shellhung.org" ;; mainly to improve the download and installation speed when installing other Perl modules below.

Second, install mysql 1, download mysql (http://www.onlinedown.net/), I download my mysql-4.0.15-win.zip, directly installed. At the same time, you can download mysqlcc-0.9.3-win32.zip, this is the management software of MySQL, very easy to use. 2, modify mysql root user password E: /> cd mysqle: / mysql> cd bine: / mysql / bin> mysql -u root mysqlmysql> update user set password = password (') Where user = 'root '; Mysql> flush privileges; where is a new password for root users. After changing the password, use the root user to access MySQL, you must use mysql -u root -p, press the prompt to knock into the correct root password. 3. Create a bugs user and assign the appropriate permissions mysql> Grant Select, Insert, Update, Delete, Index, Alter, Create, Drop, References, Lock Tables, Create Temporary Tables on bugs. * To bugs @ localhost identified by ' '; mysql> flush privilege; to remember the password of the BUGS user, use it below the bugzilla configuration file. 4, create a bugs database mysql> Create Database bugs; three, download bugzillawww.bugzilla.org) It is best to download bugzilla-2.17.4, if installation 2.16 seems to change a lot of Perl scripts, I don't have successful installation: (Unzip to E: / Bugzilla

Fourth, configure IIS1, open the Control Panel -> Administrative Tools -> Internet Information Services, then default Web Site Right-click Select Properties-> Home Dictory-> Configuration, click Add in App MapPings Add the following information Executable: d: / perl / bin /perl.exe "% s"% sextension: .pllimit to: get, head, post

Executable: D: /perl/bin/perl.exe "% s"% sextension: .cgilimit to: get, head, post

Pay attention to Perl.exe path

2. In addition, Virtual Directory: Bugzilla is added to DEFAULT Web Site. Access Permission increases Execute. 3. Select the virtual directory bugzilla established, right click to select Properties-> Documents. Index.cgi is added to DEFAULT Documents.

5. There is a Checksetup.pl script in the bugzilla bugzilla directory. This script is written very much, it can check whether the Perl module required by Bugzilla is installed, but also creates a table of the database and the Admin user. However, you need to change several places to use it under Windows. In the following description there /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 you'll Also need to change: my $ webservergid = getGRNAM ($ my_webservergroup) Tomy $ webservergid = '8' During installation, you can also use a few places to use . This is described in the following steps.

Now run under CMD to DOS, enter the bugzilla directory, run Perl checksetup.pl to see what tips.

1. Install the Perl module to cpan.shellhung.org, click Perl Module-> All Module, download AppConfig-1.55, CGI.PM-3.00, DBD-mysql-2.9002, DBI-1.38, Template-Toolkit-2.10, Timedate-1.16 . The Perl module has two installation methods, a direct decompression download module, enters its directory, run Perl makefile.plnmakenmake testnmake install (NMAKE will be installed) The other is to run PPM , dbd-mysql- 2.9002, DBI-1.38 is best used in this way. After the installation is complete, you can run Perl Checksetup.pl check if bugzilla needs the Perl module required to be installed.

2, modify Checksetup.pl3751 ~ 3756 linear removal: # $ sig {hup} = / & bailout; # $ sig {int} = / & bailout; # $ sig {quit} = / & bailout; # $ sig {term} = / & bailout;

#System ("stty", "- echo"); # disable input echoing

3759 and 3769 These two lines should also be commented, otherwise it will prompt you to enter the admin password.

3. Run Perl Checksetup.pl, if there is no error message, will generate a localconfig file

4, modify localconfig file $ index_html = 1 (generated index.html) $ mysqlpath = "e // mysql // bin" $ WebServerGroup = "8" $ db_user = "bus" (mysql Username) $ db_pass = '' (Mysql Bugs user login password)

5. Run Perl Checksetup.pl again, the system prompts to create the information of the Administrator's related mail, RealName, password. Finally, if successful, finally prompt Reminder: Bugzilla Now Requires Version 8.7 or later, modify all CGI files, remove the last character of the first line

Open your browser, type http: // localhost / bugzilla to enter the Bugzilla landing interface

7. Modify Bugzilla to the Chinese interface to http://sourceforge.net/projects/bugzilla-net/projects/bugzilla- ket/projects/bugzilla-cn/ download bugailla-2.gz, put the decompressed CN directory COPY to E: / bugzilla / Template, then modify the E: /BUGZILLA/Bugzilla/template.pm file, add MY $ LANGUAGES = "CN" at 76 lines. Try to open a browser, is it to become Chinese? Ha ha. BTW, I never understand Perl and CGI.

转载请注明原文地址:https://www.9cbs.com/read-119226.html

New Post(0)