|
Step-by-step Install Bugzilla
Bugzilla FAQ
(Continued from previous question...)
55. Step-by-step Install Bugzilla
Installation of bugzilla is pretty straightforward, particularly if your machine already has MySQL and the
MySQL-related perl packages installed.
The software packages necessary for the proper running of bugzilla are:
1. MySQL database server and the mysql client (3.22.5 or greater)
2. Perl (5.004 or greater, 5.6.1 is recommended if you wish to use Bundle::Bugzilla)
3. DBI Perl module
4. Data::Dumper Perl module
5. Bundle::Mysql Perl module collection
6. TimeDate Perl module collection
7. GD perl module (1.8.3) (optional, for bug charting)
8. Chart::Base Perl module (0.99c) (optional, for bug charting)
9. DB_File Perl module (optional, for bug charting) 9.
10.The web server of your choice. Apache is recommended.
11.MIME::Parser Perl module (optional, for contrib/bug_email.pl interface)
You should untar the Bugzilla files into a directory that you're willing to make writable by the default web
server user (probably "nobody"). You may decide to put the files off of the main web space for your web
server or perhaps off of /usr/local with a symbolic link in the web space that points to the Bugzilla
directory. At any rate, just dump all the files in the same place, and make sure you can access the files in that
directory through your web server.
Once all the files are in a web accessible directory, make that directory writable by your webserver's user.
This is a temporary step until you run the post-install checksetup.pl script, which locks down your
installation.
Lastly, you'll need to set up a symbolic link to /usr/bonsaitools/bin/perl for the correct location
of your perl executable (probably /usr/bin/perl). Otherwise you must hack all the .cgi files to change
where they look for perl, or use The setperl.csh Utility, found in Useful Patches and Utilities for Bugzilla. I
suggest using the symlink approach for future release compatability.
After you've gotten all the software installed and working you're ready to start preparing the database for its
life as a the back end to a high quality bug tracker.
First, you'll want to fix MySQL permissions to allow access from Bugzilla. For the purpose of this
Installation section, the Bugzilla username will be "bugs", and will have minimal permissions.
Next, we create the "bugs" user, and grant sufficient permissions for checksetup.pl, which we'll use later, to
work its magic. This also restricts the "bugs" user to operations within a database called "bugs", and only
allows the account to connect from "localhost". Modify it to reflect your setup if you will be connecting from
another machine or as a different user.
Remember to set bugs_password to some unique password.
mysql > GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,
ALTER,CREATE,DROP,REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY
'bugs_password';
mysql> FLUSH PRIVILEGES;
Next, run the magic checksetup.pl script.
It will make sure Bugzilla files and directories have reasonable permissions, set up the
data directory, and create all the MySQL tables.
bash# ./checksetup.pl
The first time you run it, it will create a file called localconfig.
What's localconfig for ?
This file contains a variety of settings you may need to tweak including how Bugzilla should connect to the
MySQL database.
The connection settings include:
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: "bugs" if you're following these directions
4. Password for the "bugs" MySQL account above
You should also install .htaccess files that the Apache webserver will use to restrict access to Bugzilla data
files.
Once you are happy with the settings, re-run checksetup.pl. On this second run, it will create the
database and an administrator account for which you will be prompted to provide information.
When logged into an administrator account once Bugzilla is running, 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.
Should everything work, you will have a nearly empty Bugzilla database and a newly-created
localconfig file in your Bugzilla root directory.
The second time you run checksetup.pl, you should become the user your web
server runs as, and that you ensure that you set the "webservergroup" parameter in
localconfig to match the web server's group name, if any. I believe, for the next
release of Bugzilla, this will be fixed so that Bugzilla supports a
"webserveruser" parameter in localconfig as well.
(Continued on next question...)
Other Interview Questions
- What is Bugzilla?
- What is Bugzilla's features?
- Why should you use Bugzilla?
- Bugzilla Components
- How to create a Bugzilla Account?
- How do I change my user name in Bugzilla??
- What is The Bugzilla Query Page?
- What is about the Bug List page?
- How to Write a Useful Bug Report with Bugzilla
- How to Enter your Useful Bug Report into Bugzilla
- How to manage a Bug Reports with Bugzilla
- Where can I find my user preferences?
- What about Account Settings page?
- What about Email Settings page?
- What about "Watching" Users functionality?
- What about Page Footer ?
- How does Bugzilla stack up against other bug-tracking databases?
- Is Bugzilla web-based or do you have to have specific software or specific operating system on your machine?
- Does Bugzilla allow the user to track multiple projects?
- If I am on many projects, and search for all bugs assigned to me, will Bugzilla list them for me and allow me to sort by project, severity etc?
- Does Bugzilla allow attachments (text, screenshots, urls etc)? If yes, are there any that are NOT allowed?
- Does Bugzilla allow us to define our own priorities and levels? Do we have complete freedom to change the labels of fields and format of them, and the choice of acceptable values?
- Does Bugzilla provide any reporting features, metrics, graphs, etc?
- The index.html page doesn't show the footer. It's really annoying to have to go to the querypage just to check my "my bugs" link. How do I get a footer on static HTML pages?
- Is there email notification and if so, what do you see when you get an email? Do you see bug number and title or is it only the number?
- Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
- Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
- If there is email notification, do users have to have any particular type of email application?
- If I just wanted to track certain bugs, as they go through life, can I set it up to alert me via email whenever that bug changes, whether it be owner, status or description etc.?
- Does Bugzilla allow data to be imported and exported? If I had outsiders write up a bug report using a MS Word bug template, could that template be imported into "matching" fields? If I wanted to take the results of a query and export that data to MS Excel, could I do that?
- Has anyone converted Bugzilla to another language to be used in other countries? Is it localizable?
- Can a user create and save reports? Can they do this in Word format? Excel format?
- Can a user re-run a report with a new project, same query?
- Can a user modify an existing report and then save it into another name?
- Does Bugzilla have the ability to search by word, phrase, compound search?
- Can the admin person establish separate group and individual user privileges?
- Does Bugzilla provide record locking when there is simultaneous access to the same bug? Does the second person get a notice that the bug is in use or how are they notified?
- Are there any backup features provided?
- Can users be on the system while a backup is in progress?
- Are there any security problems with Bugzilla?
- I don't like/want to use Procmail to hand mail off to bug_email.pl. What alternatives do I have?
- How do I set up the email interface to submit/change bugs via email?
- Bugzilla can be used with Oracle?
- Bugs are missing from queries, but exist in the database (and I can pull them up by specifying the bug ID). What's wrong?
- I think my database might be corrupted, or contain invalid entries. What do I do?
- I want to manually edit some entries in my database. How?
- I try to add myself as a user, but Bugzilla always tells me my password is wrong.
- I think I've set up MySQL permissions correctly, but bugzilla still can't connect.
- How do I synchronize bug information among multiple different Bugzilla databases?
- Why do I get bizarre errors when trying to submit data, particularly problems with "groupset"?
- How come even after I delete bugs, the long descriptions show up?
- I can't upload anything into the database via the "Create Attachment" link. What am I doing wrong?
- How do I change a keyword in Bugzilla, once some bugs are using it?
- Bugzilla Database Basics
- Step-by-step Install Bugzilla
- Red Hat Bugzilla - What is it?
- Red Hat Bugzilla - How do I enter a bug?
- Red Hat Bugzilla - What happens once I enter a bug?
- Red Hat Bugzilla - How do I search for a bug?
- Red Hat Bugzilla - How do I submit a patch?
- Red Hat Bugzilla - Are cookies required?
- Camino Project - What to do with a bug or feature request?
- Camino Project - I found a bug. What should I do?
- Camino crashed! What do I do now?
- Camino keeps displaying the “spinning beachball” and does not respond.
- There’s a problem with a page that requires a login.
- I want a new feature. What should I do?
- Can’t I just post a message about the bug/feature in the forum instead?
- Why hasn’t my bug been fixed yet?
- Why was my bug marked WONTFIX?
- If only some people want a feature, couldn’t it just be a preference?
|