My Blog List
Sponser Link
know more info pls click here
How to install Bugzilla under Redhat/Centos-tech04032012
Bugzilla is a Web-based general-purpose bugtracker and testing tool originally developed and used by the Mozilla project, and licensed under the Mozilla Public License. Released as open source software by Netscape Communications in 1998, it has been adopted by a variety of organizations for use as a defect tracker for both free software and proprietary products.
We’re using a Redhat/Centos 5.1 for its use of Apache and MySQL configuration.
Security
Disable SELinux to let httpd behave freely,
system-config-securitylevel-tui
Note. no reboot needed
To authorize the http port (80),
vi /etc/sysconfig/iptables
and add this line,
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT
then apply,
service iptables restart
RPM packages
Make sure thoses packages are installed (rpm -qa),
– perl
– httpd
– mysql-server, mysql
– php-mysql
– gcc
– cvs
– patchutils
To see how to install packages see pbraun.nethence.com/doc/sysutils_linux/redhat.html
Besides, those perl modules need to be added,
/usr/bin/perl -MCPAN -e ‘install “Email::Send”‘
/usr/bin/perl -MCPAN -e ‘install “Template”‘
/usr/bin/perl -MCPAN -e ‘install “Email::MIME::Modifier”‘
/usr/bin/perl -MCPAN -e ‘install “Date::Format”‘
Apache configuration
Edit this part inside /etc/httpd/conf/httpd.conf,
Options Indexes FollowSymLinks ExecCGI
AllowOverride Limit
DirectoryIndex index.cgi index.html
Order allow,deny
Allow from all
Note “Indexes” for docs/html/*/ and index.html for docs/html/index.html
And uncomment this line,
AddHandler cgi-script .cgi
Start Apache,
service httpd start
MySQL configuration
Start MySQL,
service mysqld start
Secure the installation,
/usr/bin/mysql_secure_installation
or configure root’s password yourself,
/usr/bin/mysqladmin -u root password ‘xxxxxxx’
bugs database creation
Either create a “bugs” user and “bugs” database using phpMyAdmin or this script,
mysql_setpermission -u root
Note phpMyAdmin lets you have a better overview of the databases, users and their privileges.
To configure phpMyAdmin see pbraun.nethence.com/doc/databases/phpmyadmin.html
Bugzilla installation
Get the latest tarball release (today: ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.0.4.tar.gz).
Untar the bugzilla tarball into /var/www/html and run its setup script,
ls -al /var/www/html
rmdir /var/www/html
tar xzf bugzilla-xxx.tar.gz
mv bugzilla-xxx /var/www/html
cd /var/www/html
./checksetup.pl
Note this creates the tables inside the “bugs” db.
Make sure apache is running,
service httpd status
or restart it,
service httpd restart
Point your desktop’s web browser to the Bugzilla server,
BUGZILLA_SERVER
Login with the email and password you entered during checksetup.pl and edit the base url into the settings.
Postinstall checks
To check if sending mail works, first check you got name resolution,
ping example.com
then try to send a mail,
echo content | mail -s subject email@example.com
Subscribe to:
Post Comments (Atom)
Popular Posts
-
<div id="editable" contenteditable="true"> text text text<br> text text text<br> text text...
-
1. Use exception-handling structures to deal with exceptions within the scope of a procedure. This technique is called structured exception ...
-
The Trace object provides the Write and Warn methods to allow you to write messages to a request’s trace information. The two methods are id...
-
There is a little tool called JSPExecutor that allows you to do just that. The developers (Hendrik Schreiber <hs@webapp.de> & Pet...
-
Let me explain the process; 1. First you should go to your adsense account and grab the code for your adsense ads. 2. For this you sh...
-
Few know that those who have web hosting are at the same time endowed with a free VPN (Virtual Private Network, a very safe connection to t...
-
There are a number of ways to get information about a particular Linux command. Chances are you are using bash shell which is currently the...
-
To check if a URL or an email address is valid, the common solution is regular expressions. For instance, to validate an email address in P...
-
we are running a classified site and the latest ads which are coming to the system is indexed in solr write server in every three minutes. T...
-
open source Apache webserver is well-proven, but can still offer an administrator headaches from timeto time when things don't go quite ...
0 comments:
Post a Comment