QUICKSTART 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Bugzilla Quick Start Guide
  2. ==========================
  3. (or, how to get Bugzilla up and running in 10 steps)
  4. Christian Reis <kiko@async.com.br>
  5. This express installation guide is for "normal" Bugzilla installations,
  6. which means a Linux or Unix system on which Apache, Perl, MySQL or PostgreSQL
  7. and a Sendmail compatible MTA are available. For other configurations, please
  8. see Section 4 of the Bugzilla Guide in the docs/ directory.
  9. 1. Decide from which URL and directory under your webserver root you
  10. will be serving the Bugzilla webpages.
  11. 2. Unpack the distribution into the chosen directory (there is no copying or
  12. installation involved).
  13. 3. Run ./checksetup.pl, look for unsolved requirements, and install them.
  14. You can run checksetup as many times as necessary to check if
  15. everything required has been installed.
  16. These will usually include assorted Perl modules, MySQL or PostgreSQL,
  17. and a MTA.
  18. After a successful dependency check, checksetup should complain that
  19. localconfig needs to be edited.
  20. 4. Edit the localconfig file, in particular the $webservergroup and
  21. $db_* variables. In particular, $db_name and $db_user will define
  22. your database setup in step 5.
  23. 5. Using the name you provided as $db_name above, create a MySQL database
  24. for Bugzilla. You should also create a user permission for the name
  25. supplied as $db_user with read/write access to that database.
  26. If you are not familiar with MySQL permissions, it's a good idea to
  27. use the mysql_setpermission script that is installed with the MySQL
  28. distribution, and be sure to read Bugzilla Security - MySQL section
  29. in the Bugzilla Guide or PostgreSQL documentation.
  30. 6. Run checksetup.pl once more; if all goes well, it should set up the
  31. Bugzilla database for you. If not, return to step 5.
  32. checksetup.pl should ask you, this time, for the administrator's
  33. email address and password. These will be used for the initial
  34. Bugzilla administrator account.
  35. 7. Configure Apache (or install and configure, if you don't have it up
  36. yet) to point to the Bugzilla directory. You should enable and
  37. activate mod_cgi, and add the configuration entries
  38. Options +ExecCGI
  39. AllowOverride Limit
  40. DirectoryIndex index.cgi
  41. to your Bugzilla <Directory> block. You may also need
  42. AddHandler cgi-script .cgi
  43. if you don't have that in your Apache configuration file yet.
  44. 8. Visit the URL you chose for Bugzilla. Your browser should display the
  45. default Bugzilla home page. You should then log in as the
  46. administrator by following the "Log in" link and supplying the
  47. account information you provided in step 6.
  48. 9. Scroll to the bottom of the page after logging in, and select
  49. "Parameters". Set up the relevant parameters for your local setup.
  50. See section 4.2 of the Bugzilla Guide for a in-depth description of
  51. some of the configuration parameters available.
  52. 10. That's it. If anything unexpected comes up:
  53. - read the error message carefully,
  54. - backtrack through the steps above,
  55. - check the official installation guide, which is section 4 in the
  56. Bugzilla Guide, included in the docs/ directory in various
  57. formats.
  58. Support and installation questions should be directed to the
  59. mozilla-webtools@mozilla.org mailing list -- don't write to the
  60. developer mailing list: your post *will* be ignored if you do.
  61. Further support information is at http://www.bugzilla.org/support/