Commit 812510a3 authored by barnboy%trilobyte.net's avatar barnboy%trilobyte.net

Fixed typos, dated information, and Windows NT instructions.

parent 8e766adb
...@@ -28,10 +28,13 @@ machine already has MySQL and the MySQL-related perl packages installed. ...@@ -28,10 +28,13 @@ machine already has MySQL and the MySQL-related perl packages installed.
If those aren't installed yet, then that's the first order of business. The If those aren't installed yet, then that's the first order of business. The
other necessary ingredient is a web server set up to run cgi scripts. other necessary ingredient is a web server set up to run cgi scripts.
Bugzilla has been successfully installed under Solaris and Linux. Windows NT Bugzilla has been successfully installed under Solaris, Linux, and
is not officially supported. There have been a few successful installations Windows NT. The peculiarities of installing on Windows NT have not
of Bugzilla under Windows NT. Please see this article for a discussion of what been included in this README; please consult the Bugzilla Guide for
one person hacked together to get it to work. detailed Windows NT installation instructions.
The Bugzilla Guide is contained in the "docs/" folder. It is available
in plain text (docs/txt), HTML (docs/html), or SGML source (docs/sgml).
news://news.mozilla.org/19990913183810.SVTR29939.mta02@onebox.com news://news.mozilla.org/19990913183810.SVTR29939.mta02@onebox.com
...@@ -53,7 +56,8 @@ news://news.mozilla.org/19990913183810.SVTR29939.mta02@onebox.com ...@@ -53,7 +56,8 @@ news://news.mozilla.org/19990913183810.SVTR29939.mta02@onebox.com
Previous versions required TCL, but it no longer needed (or used). Previous versions required TCL, but it no longer needed (or used).
You must also run Bugzilla on a filesystem that supports file locking via You must also run Bugzilla on a filesystem that supports file locking via
flock(). This is necessary for Bugzilla to operate safely with multiple instances. flock(). This is necessary for Bugzilla to operate safely with multiple
instances.
1.1. Getting and setting up MySQL database (3.22.5 or greater) 1.1. Getting and setting up MySQL database (3.22.5 or greater)
...@@ -99,13 +103,13 @@ DBI module should be a breeze. It's a mixed Perl/C module, but Perl's ...@@ -99,13 +103,13 @@ DBI module should be a breeze. It's a mixed Perl/C module, but Perl's
MakeMaker system simplifies the C compilation greatly. MakeMaker system simplifies the C compilation greatly.
Like almost all Perl modules DBI can be found on the Comprehensive Perl Like almost all Perl modules DBI can be found on the Comprehensive Perl
Archive Network (CPAN) at http://www.cpan.org . The CPAN servers have a Archive Network (CPAN) at http://www.cpan.org. The CPAN servers have a
real tendency to bog down, so please use mirrors. The current location real tendency to bog down, so please use mirrors. The current location
at the time of this writing (02/17/99) can be found in Appendix A. at the time of this writing (02/17/99) can be found in Appendix A.
Quality, general Perl module installation instructions can be found on Quality, general Perl module installation instructions can be found on
the CPAN website, but the easy thing to do is to just use the CPAN shell the CPAN website, but the easy thing to do is to just use the CPAN shell
which does all the hard work for you which does all the hard work for you.
To use the CPAN shell to install DBI: To use the CPAN shell to install DBI:
...@@ -252,8 +256,8 @@ for perl. ...@@ -252,8 +256,8 @@ for perl.
to start preparing the database for its life as a the back end to a high to start preparing the database for its life as a the back end to a high
quality bug tracker. quality bug tracker.
First, you'll want to fix MySQL permissions. Bugzilla always logs First, you'll want to fix MySQL permissions. By default, Bugzilla
in as user "bugs", with no password. That needs to work. MySQL logs in as user "bugs", with no password. That needs to work. MySQL
permissions are a deep, nasty complicated thing. I've just turned permissions are a deep, nasty complicated thing. I've just turned
them off. If you want to do that, too, then the magic is to do run them off. If you want to do that, too, then the magic is to do run
"mysql mysql", and feed it commands like this (replace all instances of "mysql mysql", and feed it commands like this (replace all instances of
...@@ -296,7 +300,8 @@ Or, at the mysql prompt: ...@@ -296,7 +300,8 @@ Or, at the mysql prompt:
mysql> flush privileges; mysql> flush privileges;
You must explictly tell mysql to reload permissions before running checksetup.pl. You must explictly tell mysql to reload permissions before running
checksetup.pl.
Next, you can just run the magic checksetup.pl script. (Many thanks Next, you can just run the magic checksetup.pl script. (Many thanks
to Holger Schurig <holgerschurig@nikocity.de> for writing this script!) to Holger Schurig <holgerschurig@nikocity.de> for writing this script!)
...@@ -305,72 +310,55 @@ directory, and create all the MySQL tables. Just run: ...@@ -305,72 +310,55 @@ directory, and create all the MySQL tables. Just run:
./checksetup.pl ./checksetup.pl
The first time you run it, it will create a file called "localconfig" The first time you run it, it will create a file called "localconfig".
which you should examine and perhaps tweak a bit. Then re-run
checksetup.pl and it will do the real work.
It's worth noting that ./checksetup.pl will stall if it is on a filesystem 4. Tweaking localconfig
that does not fully support file locking via flock(), such as NFS mounts.
This support is required for Bugzilla to operate safely with multiple
instances. If flock() is not fully supported, it will stall at:
"Now regenerating the shadow database for all bugs." This file contains a variety of settings you may need to tweak including
how Bugzilla should connect to the MySQL database.
Should everything work, you should have a nearly empty copy of the bug tracking The connection settings include:
setup.
4. Tweaking the Bugzilla->MySQL Connection Data 1. server's host: just use "localhost" if the MySQL server is
local
2. database name: "bugs" if you're following these directions
3. MySQL username: whatever you created for your webserver user
4. Password for the MySQL account in item 3.
If you have played with MySQL permissions, rather than just opening it Once you are happy with the settings, re-run checksetup.pl. On this
wide open as described above, then you may need to tweak the Bugzilla second run, it will do the real work of creating the database.
code to connect appropriately.
In order for bugzilla to be able to connect to the MySQL database One thing it will do is to automatically create an administrator account
you'll have to tell bugzilla where the database server is, what from information it will ask for.
database you're connecting to, and whom to connect as. Simply open up
the globals.pl file in the bugzilla directory and find the line that
begins like:
$::db = Mysql->Connect(" When logged into an administrator account, if you go to the query page
(off of the bugzilla main menu), you'll find an 'edit parameters' option
that is filled with editable treats.
That line does the actual database connection. The Connect method Should everything work, you should have a nearly empty copy of the bug
takes four parameters which are (with appropriate values): tracking setup.
1. server's host: just use "localhost" The second time around, checksetup.pl will stall if it is on a
2. database name: "bugs" if you're following these directions filesystem that does not fully support file locking via flock(), such as
3. MySQL username: whatever you created for your webserver user NFS mounts. This support is required for Bugzilla to operate safely with
probably "nobody" multiple instances. If flock() is not fully supported, it will stall at:
4. Password for the MySQL account in item 3.
Just fill in those values and close up globals.pl
5. Setting up yourself as Maintainer "Now regenerating the shadow database for all bugs."
Start by creating your own bugzilla account. To do so, just try to The checksetup.pl script is designed so that you can run it at any time
"add a bug" from the main bugzilla menu (now available from your system without causing harm. You should run it after any upgrade to Bugzilla.
through your web browser!). You'll be prompted for logon info, and you
should enter your email address and then select 'mail me my password'.
When you get the password mail, log in with it. Don't finish entering
that new bug.
Now, add yourself to every group. The magic checksetup.pl script 5. Setting Up Maintainers Manually (Optional)
can do this for you, if you run it again now. That script will notice
if there's exactly one user in the database, and if so, add that person
to every group.
If you want to add someone to every group by hand, you can do it by If you want to add someone else to every group by hand, you can do it
typing the appropriate MySQL commands. Run 'mysql bugs' (you may need by typing the appropriate MySQL commands. Run 'mysql bugs' (you may need
extra parameters, depending on your security settings according to extra parameters, depending on your security settings according to
section 3, above), and type: section 3, above), and type:
update profiles set groupset=0x7fffffffffffffff update profiles set groupset=0x7fffffffffffffff
where login_name = 'XXX'; where login_name = 'XXX';
replacing XXX with your Bugzilla email address. replacing XXX with the Bugzilla email address.
Now, if you go to the query page (off of the bugzilla main menu) where
you'll now find a 'edit parameters' option which is filled with editable
treats.
6. Setting Up the Whining Cron Job (Optional) 6. Setting Up the Whining Cron Job (Optional)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment