The Network Administrator

The weblog of an IT pro specializing in virtualization, storage, servers and networking
  • rss
  • Home
  • About
  • Downloads
  • Contact

Install Bugzilla on Fedora 12

MWahl | March 21, 2010 | 5:48 pm

First 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 ; ./collectstats.pl

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

Categories
Linux Server

« Amazon EC2 Load Balancing Options Grant Administrative Access to a Domain Controller »

Comments are closed.

some text

RSS Netcast

  • Increasing your AWS EC2 root partition (Windows) December 14, 2011
  • IIS SSL Certificate into Amazon Elastic Load Balancer December 7, 2011
  • Upgrade an Opsview Appliance August 13, 2011

Categories

  • Activesync (1)
  • Amazon EC2 (5)
  • Amazon S3 (2)
  • Antivirus (1)
  • Blackberry (9)
  • Blackberry Enterprise Server (1)
  • blogs (3)
  • Cisco (6)
  • Citrix Xenapp (2)
  • Databases (2)
  • HTC (1)
  • Internet Explorer (1)
  • iPhone (4)
  • Linux Server (18)
  • Linux tools (11)
  • Microsoft Apps (2)
  • Microsoft Exchange (12)
  • Microsoft Office (1)
  • Microsoft Sharepoint Services (1)
  • Microsoft SQL Server (3)
  • Monitoring (2)
  • MS IIS 6 (1)
  • MYSQL (1)
  • NetCast (3)
  • Networking (19)
  • OpsView/Nagios (1)
  • Photos (1)
  • RAID (1)
  • Scripts (4)
  • Secure FTP (1)
  • Security (10)
  • Smart Phones (1)
  • Tech Preview (8)
  • Uncategorized (40)
  • Virtual Servers (4)
  • Web Browsers (2)
  • Web Server load balancing (1)
  • Web Servers (9)
  • Windows Desktops (17)
  • Windows Server (24)
  • Windows tools (23)
  • WordPress (1)

Recent Posts

  • Increasing your AWS EC2 root partition (Windows)
  • IIS SSL Certificate into Amazon Elastic Load Balancer
  • Upgrade an Opsview Appliance
  • AppAssure Replay First Impressions
  • Linux Boot Process

Archives

Blogroll

  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • lopsa lopsa
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • SVROPS
  • Technology blog from bbc
  • technology review
  • THE WAN LAN LORD
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox