Install Bugzilla on Fedora 12
MWahl | March 21, 2010 | 5:48 pmFirst I downloaded and installed Fedora 12.
Bugzilla and its dependencies are in the Fedora yum repository. To install Bugzilla and all its Perl dependencies, as root type the following.
1. yum install bugzilla
Install the database engine and web server, in my case MySQL and httpd:
1. yum install httpd mysql-server
To configure MySQL, you need to add the bugzilla user and bugzilla database to MySQL. You can use MySQL tools - either the command line or the mysql-administrator GUI tool.
Configure /etc/bugzilla/localconfig with the right database information:
#################################
# The name of the database
$db_name = 'dbname';
# Who we connect to the database as.
$db_user = 'dbusername';
# Enter your database password here.
$db_pass = 'dbPASSWORD';
Bugzilla files are stored in /usr/share/bugzilla. Change into that directory and run perl checksetup.pl
As a note if you wish to use LDAP Authentication, it is easiest to config that here /var/lib/bugzilla/data and then type vim params
you will want to add these lines to the top of your configuration similar to the one below.
%param = (
'LDAPBaseDN' => 'DC=domainname,DC=com',
'LDAPbinddn' => 'CN=bugzilla,OU=Misc,OU=Server Access,OU=OUNAME,DC=DCNAME,DC=com:bugzillapasswordhere',
'LDAPfilter' => '',
'LDAPmailattribute' => 'mail',
'LDAPserver' => 'domainname.com',
'LDAPstarttls' => 0,
'LDAPuidattribute' => 'sAMAccountName',
Once you have made the changes type Esc :wq! to save quit
The last thing I want to mention is that if you plan on using the new or old charts you will need to first creat a cron job to collect the data everyday and you will also need to adjust security a little.
This should bring up the crontab file in your editor. Add a cron entry like this to run collectstats.pl daily at 5 after midnight:
At a prompt type crontab -e
then type 5 0 * * * cd
then press Esc and then :wq! to save and quit
Also so that mysql and httpd start automatically type these to commands at a prompt
chkconfig - -level 2345 httpd on;
chkconfig - -level 2345 mysqld on;
The last thing to change so that you can use charts is to visit SELinux management under system, administration and disable system default enforcing mode, this may require a reboot of the server. There is also probably a command to run that will do this too.
Start mysqld and httpd and browse to http://localhost/bugzilla


lopsa




