3
edits
(Making placeholder) |
(added fedora) |
||
| Line 1: | Line 1: | ||
This is | This page is for instructions on how to install Bugzilla on specific Linux Distributions. If you are running Bugzilla on a distro that isn't listed here, please add instructions on how to set it up. Or, put in a link to instructions on your distro's wiki. | ||
== Fedora == | |||
Bugzilla and its dependencies are in the Fedora yum repository. To install Bugzilla and all its Perl dependencies, simply do (as root) | |||
<code>$ yum install bugzilla</code> | |||
You also need to install the database engine and web server, for example MySQL and httpd: | |||
<code>$ yum install httpd mysql-server</code> | |||
The Fedora packages automatically do the httpd configuration, so there is no need to worry about that. | |||
To configure MySQL, you need to add the bugs user and bugs database to MySQL. You can do this with the normal MySQL tools - either use the command line, the mysqladmin tool, or the mysql-administrator GUI tool. You can also use a web-based control panel like PHPMyADMIN. Make sure the "bugs" user has write permissions ot the "bugs" database. | |||
The next step is to configure <code>/etc/bugzilla/localconfig</code> with the right database information: | |||
<code> | |||
# The name of the database | |||
$db_name = 'bugs'; | |||
# Who we connect to the database as. | |||
$db_user = 'bugs'; | |||
# Enter your database password here. It's normally advisable to specify | |||
# a password for your bugzilla database user. | |||
# If you use apostrophe (') or a backslash (\) in your password, you'll | |||
# need to escape it by preceding it with a '\' character. (\') or (\) | |||
# (Far simpler just not to use those characters.) | |||
$db_pass = 'PASSWORD'; | |||
</code> | |||
Fedora stores the Bugzilla files in <code>/usr/share/bugzilla</code>. Change into that directory and run the <filename>checksetup.pl</filename> script. If any problems are encountered here, you can refer to the Bugzilla user guide. | |||
Finally, start mysqld and httpd and browse to http://localhost/bugzilla | |||
edits