5
1. Download latest Bugzilla tar file
Download the latest stable release from bugzilla download page. Extract the
bugzilla*.tar.gz file to the apache document root directory as shown below.
Copy the downloaded tar file into var/www/html
#cp r bugzilla-4.4.4.tar.gz /var/ww/html
#tar xvfz bugzilla-4.4.4.tar.gz
4. Install Apache
Yum install httpd
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
GD
Chart::Base
Template::Plugin::GD::Image
GD::Text
GD::Graph
XML::Twig
MIME::Parser
LWP::UserAgent
PatchReader
Image::Magick
Net::LDAP
Authen::SASL
Authen::Radius
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
CGI
Digest::SHA
Date::Format
DateTime
DateTime::TimeZone
Template
Email::Send
Email::MIME
Email::MIME::Encodings
Email::MIME::Modifier
URI
To attempt an automatic install of every required and optional module with one
command, do:
/usr/bin/perl install-module.pl all
Please review the output of the above install-module.pl to make sure everything got install
properly. There is a possibility that some of the modules failed to install (may be because some
required OS packages were missing).
Execute the checksetup.pl to verify whether all the modules got installed properly.
Following is the output of 2nd run of the checksetup.pl:
# ./checksetup.pl --check-modules
COMMANDS TO INSTALL OPTIONAL MODULES:
GD:
Chart:
Template-GD:
GDTextUtil:
GDGraph:
XML-Twig:
PerlMagick:
SOAP-Lite:
mod_perl:
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
/usr/bin/perl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
install-module.pl
GD
Chart::Base
Template::Plugin::GD::Image
GD::Text
GD::Graph
XML::Twig
Image::Magick
SOAP::Lite
mod_perl2
YOU MUST RUN ONE OF THE FOLLOWING COMMANDS (depending on which database
you use):
PostgreSQL: /usr/bin/perl install-module.pl DBD::Pg
MySQL: /usr/bin/perl install-module.pl DBD::mysql
Oracle: /usr/bin/perl install-module.pl DBD::Oracle
perl modules...
for
CGI.pm (v3.21)
for
Digest-SHA (any)
for
TimeDate (v2.21)
for
DateTime (v0.28)
for
DateTime-TimeZone (v0.71)
for
DBI (v1.41)
for
Template-Toolkit (v2.22)
for
Email-Send (v2.00)
for
Email-MIME (v1.861)
for Email-MIME-Encodings (v1.313)
for Email-MIME-Modifier (v1.442)
for
URI (any)
Checking
Checking
Checking
Checking
not found
ok: found v4.013
not found
The following variables are new to ./localconfig since you last ran
checksetup.pl: create_htaccess, webservergroup, db_driver, db_host, db_name,
db_user, db_pass, db_port, db_sock, db_check, index_html, cvsbin,
interdiffbin, diffpath, site_wide_secret
Execute the checksetup.pl (without any arguments) again to create the mysql bugzilla database.
Since the localconfig file already exist, the second time when you execute the checksetup.pl, it
will create the mysql database based on the information from localconfig file.
# ./checksetup.pl
Creating database bugs...
Building Schema object from database...
Adding new table bz_schema ...
Initializing the new Schema storage...
Adding new table attach_data ...
Adding new table attachments ...
Adding new table bug_group_map ...
Adding new table bug_see_also ...
Adding new table bug_severity ...
Adding new table bug_status ...
Inserting values into the 'priority' table:
Inserting values into the 'bug_status' table:
Inserting values into the 'rep_platform' table:
Creating ./data directory...
Creating ./data/attachments directory...
Creating ./data/duplicates directory...
Adding foreign key: attachments.bug_id -> bugs.bug_id...
Adding foreign key: attachments.submitter_id -> profiles.userid...
Adding foreign key: bug_group_map.bug_id -> bugs.bug_id...
# mv bugzilla-3.4.6/ bugzilla
Requirements:-
1)
2)
3)
3. Add any normal (non-root) user to etc/sudoers file or by the following command.
# visudo
And add the following line anywhere in the file.
username ALL=(ALL) ALL
EX:(dma ALL=(ALL) ALL)
4. Now migrate to non-root (normal) user and select the folder where you want to install CollabNet
Subversion Edge. I would recommend you to install the Subversion in the normal user folder.
[root@localhost ]# su username
[taashee@localhost]$ mkdir opt/subversion
Note: If you are not able to create folder subversion in opt directory, then you can create it
through root or sudo.
[taashee@localhost]$ cd opt/subversion
[taashee@localhost]$ sudo chmod o+wx /opt/subversion/
Now move the downloaded CollabNetSubversionEdge-4.0.9_linux-x86_64.tar package to
opt/subversion.
Edit the configuration. When a process is started at server startup it runs as root. You do not want
the CSVN console to run as root, you want it to run as a specific user -- whatever your login user
is.
a. To do this, edit the file data/conf/csvn.conf.
$ vi data/conf/csvn.conf
b. Scroll down a little bit until you see #RUN_AS_USER= . Uncomment it out and add
your username.
Example:
RUN_AS_USER= username
(RUN_AS_USER= dma)
c. Save the changes.
Now we will start the server. Be sure that you are not logged in as root.
This will take a few minutes and the script will loop until it sees that the server is running.
Note: If the server does not start, then try starting the server with this command:
[taashee@localhost csvn]$ bin/csvn console
6. Add the following line to /etc/sysconfig/iptables
# iptables -A INPUT p tcp --dport 3343 j ACCEPT
Restart firewall to update the changes
# service iptables restart
http://localhost:3343/csvn
username: admin
password: admin
Note: If you are not able to see your CSVN server on the browser, then just disabled the your
system Firewall by entering setup command in the terminal window.
# setup
Or
Go to System>Administration>Firewall and disable it.
Note: You can change the IP address of your subversion server with your machine IP address by
editing
opt/subversion/csvn/data/conf/csvn.conf file (at line no. 62) by the following command.
$ sudo vi data/conf/csvn.conf
OR
$ sudo gedit data/conf/csvn.conf
Subversion Edge also starts an SSL-protected version using a self-signed SSL certificate.
You can access the SSL version on this URL:
https://localhost:4434/csvn
http://ravindrasinghgohil.blogspot.in/2012/02/steps-to-install-bugzilla-42-on-centos.html
http://help.collab.net/index.jsp?topic=/csvn/action/configurecsvn.html