Step-by-Step Bugzilla Installation Guide for Linux.pdf
-
Upload
tarun-chimata -
Category
Documents
-
view
246 -
download
0
Transcript of Step-by-Step Bugzilla Installation Guide for Linux.pdf
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
1/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
0 4 4 3ConfirmLike
Step-by-Step Bugzilla Installation Guide for Linuxby RAMESH NATARAJAN on MAY 17, 2010
576
Bugzilla is the best open source bug tracking
system. Very simple to use with lot of features.
Bugzilla allows you to track the bugs and
collaborate with developers and other teams inyour organization effectively.
This is a detailed step-by-step bugzilla
installation guide for Linux.
1. Verify Perl Version
Make sure your perl version is >= 5.8.1 as shown
below.
Most Linux distributions comes with perl. If you dont have it on yours, download and install it
from corresponding distribution website.
2. Install MySQL Database
Make sure your MySQL version is >= 4.1.2 as shown below.
# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
Sign up for our free email newsletter
RSS Twitter Facebook
E B O O K S
Ads by Googl e Linux Command Windows Install PDF Linux Install Linux
Home Abo u t F r e e eBo o k A r ch i ves Be s t o f t h e B l o g Con tac t
[email protected] Sign Up
Search
http://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2Fhttp://www.thegeekstuff.com/feedhttp://twitter.com/thegeekstuffhttp://www.facebook.com/thegeekstuffhttps://www.google.com/adsense/support/bin/request.py?contact=abg_afc&url=http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/&hl=en&client=ca-pub-8090601437064582&adU=+&adT=Linux+Command&adU=++&adT=Windows+Install&adU=+++&adT=PDF+Linux&adU=++++&adT=Install+Linuxhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMRwriBGesykMaEg1MaW51eCBDb21tYW5kGgg2BhhIS6dUJigBUhMI27btw7aurAIVZofiCh10IeYq&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Linux+Commandhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMWwriBGesykMaEg9XaW5kb3dzIEluc3RhbGwaCJPaF-isHgXhKAFSEwjbtu3Dtq6sAhVmh-IKHXQh5io&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Windows+Installhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMYAriBGesykMaEglQREYgTGludXgaCLcCwAu_7j0ZKAFSEwjbtu3Dtq6sAhVmh-IKHXQh5io&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=PDF+Linuxhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMZAriBGesykMaEg1JbnN0YWxsIExpbnV4GgiJKoYSJm2N1SgBUhMI27btw7aurAIVZofiCh10IeYq&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Install+Linuxhttp://www.thegeekstuff.com/http://www.thegeekstuff.com/about/http://www.thegeekstuff.com/linux-101-hacks-free-ebook/http://www.thegeekstuff.com/archives-2/http://www.thegeekstuff.com/best-of-the-blog/http://www.thegeekstuff.com/contact/http://www.thegeekstuff.com/contact/http://www.thegeekstuff.com/contact/http://www.thegeekstuff.com/best-of-the-blog/http://www.thegeekstuff.com/best-of-the-blog/http://www.thegeekstuff.com/archives-2/http://www.thegeekstuff.com/archives-2/http://www.thegeekstuff.com/linux-101-hacks-free-ebook/http://www.thegeekstuff.com/linux-101-hacks-free-ebook/http://www.thegeekstuff.com/about/http://www.thegeekstuff.com/about/http://www.thegeekstuff.com/http://www.thegeekstuff.com/http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMZAriBGesykMaEg1JbnN0YWxsIExpbnV4GgiJKoYSJm2N1SgBUhMI27btw7aurAIVZofiCh10IeYq&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Install+Linuxhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMYAriBGesykMaEglQREYgTGludXgaCLcCwAu_7j0ZKAFSEwjbtu3Dtq6sAhVmh-IKHXQh5io&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=PDF+Linuxhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMWwriBGesykMaEg9XaW5kb3dzIEluc3RhbGwaCJPaF-isHgXhKAFSEwjbtu3Dtq6sAhVmh-IKHXQh5io&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Windows+Installhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8090601437064582&output=html&h=15&slotname=0094642447&w=728&lmt=1321009171&flash=10.3.181.14&url=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F&dt=1321009171359&bpp=1&shv=r20111102&jsv=r20110914&prev_slotnames=4708993701&correlator=1321009170953&frm=20&adk=1617453998&ga_vid=1312199938.1320836394&ga_sid=1321009171&ga_hid=330443180&ga_fc=1&u_tz=330&u_his=0&u_java=1&u_h=768&u_w=1360&u_ah=738&u_aw=1360&u_cd=32&u_nplug=0&u_nmime=0&dff=helvetica%20neue&dfs=10&adx=195&ady=181&biw=1356&bih=536&fu=0&ifi=2&dtd=47&xpc=G8CUs5HkrO&p=http%3A//www.thegeekstuff.com&rl_rc=true&adsense_enabled=true&ad_type=text_image&oe=utf8&height=15&width=728&format=fp_al_lp&fs=medium&f=verdana&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBOvP_zAARMRwriBGesykMaEg1MaW51eCBDb21tYW5kGgg2BhhIS6dUJigBUhMI27btw7aurAIVZofiCh10IeYq&hl=en&kw0=Linux+Command&kw1=Windows+Install&kw2=PDF+Linux&kw3=Install+Linux&okw=Linux+Commandhttps://www.google.com/adsense/support/bin/request.py?contact=abg_afc&url=http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/&hl=en&client=ca-pub-8090601437064582&adU=+&adT=Linux+Command&adU=++&adT=Windows+Install&adU=+++&adT=PDF+Linux&adU=++++&adT=Install+Linuxhttp://www.thegeekstuff.com/bash-101-hacks-ebook/http://ib.adnxs.com/click?j8L1KFyPwj__kH77OnC-PwAAAKCZmbk__5B--zpwvj-PwvUoXI_CP3RnoBu6wSAeTaSfk2CpFH_5_7xOAAAAAHooCADwAgAAKQQAAAIAAACJTg4AcSoBAAEAAABVU0QAVVNEACwB-gANKgAAQQ4BAQUCAQUAAAAAziWvBAAAAAA./cnd=!4QTrJgjPjgsQiZ05GPHUBCAA/clickenc=http://httptrack.com/Links/adRET.asp?id=71http://www.facebook.com/thegeekstuffhttp://twitter.com/thegeekstuffhttp://www.thegeekstuff.com/feedhttp://www.thegeekstuff.com/feedhttp://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2Fhttp://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2Fhttp://www.thegeekstuff.com/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
2/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
If you dont have mysql, install it as using yum groupinstall, or based on LAMP installarticle, or
based on mysql rpm article.
3. Install Apache
If you already have apache installed, make sure you are able to access it by using http://{your-
ip-address}.
If you dont have apache, install is using yum based on LAMP install article, orinstall apache
from source.
4. Download latest Bugzilla tar ball
Download the latest stable release from bugzilla download page. Extract the bugzilla*.tar.gz file
to the apache document root directory as shown below.
# mysql -V
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
# cd ~
# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.6.tar.gz
# cd /var/www/html
# tar xvfz /usr/save/bugzilla-3.4.6.tar.gz
P O P U L A R P O S T S
12 Amazing and Essential Linux Books To Enrich
Your Brain and Library
50 UNIX / Linux Sysadmin Tutorials
http://www.thegeekstuff.com/2010/04/yum-groupinstall-mysql-database/http://www.thegeekstuff.com/2008/09/how-to-install-or-upgrade-lamp-apache-mysql-and-php-stack-on-linux-using-yum/http://www.thegeekstuff.com/2008/09/how-to-install-or-upgrade-lamp-apache-mysql-and-php-stack-on-linux-using-yum/http://www.thegeekstuff.com/2008/07/howto-install-mysql-on-linux/http://www.thegeekstuff.com/2008/09/how-to-install-or-upgrade-lamp-apache-mysql-and-php-stack-on-linux-using-yum/http://www.thegeekstuff.com/2008/07/install-apache-2-from-source-on-linux/http://www.thegeekstuff.com/2008/07/install-apache-2-from-source-on-linux/http://www.bugzilla.org/download/http://www.thegeekstuff.com/2009/01/12-amazing-and-essential-linux-books-to-enrich-your-brain-and-library/http://www.thegeekstuff.com/2009/01/12-amazing-and-essential-linux-books-to-enrich-your-brain-and-library/http://www.thegeekstuff.com/2010/12/50-unix-linux-sysadmin-tutorials/http://googleads.g.doubleclick.net/aclk?sa=L&ai=B8Lvc8_-8TrTcNIORigegu_G0Auyb4fECpM_dpz7szvP-QrD3xwMQARgBIKKB1ws4AFCu16_tAmDlgoCAmA6yARR3d3cudGhlZ2Vla3N0dWZmLmNvbboBCjMzNngyODBfYXPIAQLaAT5odHRwOi8vd3d3LnRoZWdlZWtzdHVmZi5jb20vMjAxMC8wNS9pbnN0YWxsLWJ1Z3ppbGxhLW9uLWxpbnV4L-ABA6kC5Na3BDVeVT7AAgTIApzp7yeoAwHIAxXoA90F6APgBegD2gX1AwAAAMSgBgI&num=1&sig=AOD64_3cwSL3gZuRfM10N5mRwdPEe4pd7w&client=ca-pub-8090601437064582&adurl=http://www.samsung.com/in/takemeout/%3Fcid%3Din_ppc_laptop_Google_Laptop_ICM_336x280http://www.thegeekstuff.com/2010/12/50-unix-linux-sysadmin-tutorials/http://www.thegeekstuff.com/2009/01/12-amazing-and-essential-linux-books-to-enrich-your-brain-and-library/http://www.thegeekstuff.com/2009/01/12-amazing-and-essential-linux-books-to-enrich-your-brain-and-library/http://www.thegeekstuff.com/nagios-core-ebook/http://www.thegeekstuff.com/vim-101-hacks-ebook/http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/http://www.bugzilla.org/download/http://www.thegeekstuff.com/2008/07/install-apache-2-from-source-on-linux/http://www.thegeekstuff.com/2008/07/install-apache-2-from-source-on-linux/http://www.thegeekstuff.com/2008/09/how-to-install-or-upgrade-lamp-apache-mysql-and-php-stack-on-linux-using-yum/http://www.thegeekstuff.com/2008/07/howto-install-mysql-on-linux/http://www.thegeekstuff.com/2008/09/how-to-install-or-upgrade-lamp-apache-mysql-and-php-stack-on-linux-using-yum/http://www.thegeekstuff.com/2010/04/yum-groupinstall-mysql-database/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
3/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
5. Execute the bugzilla checksetup.pl
Bugzilla checksetup.pl program will verify whether all the required perl modules are installed.
This will also display a list of all missing bugzilla modules that needs to be installed.
You can run the checksetup.pl program as many times as you like until youve verified all the
required perl modules are installed.
Following is the output of 1st run of checksetup.pl, where is has listed all the missing optional
and required modules.
# cd /var/www/html/bugzilla-3.4.6
# ./checksetup.pl --check-modules
COMMANDS TO INSTALL OPTIONAL MODULES:
GD: /usr/bin/perl install-module.pl GD
Chart: /usr/bin/perl install-module.pl Chart::Base
Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
GDTextUtil: /usr/bin/perl install-module.pl GD::Text
GDGraph: /usr/bin/perl install-module.pl GD::Graph
XML-Twig: /usr/bin/perl install-module.pl XML::Twig
MIME-tools: /usr/bin/perl install-module.pl MIME::Parser
libwww-perl: /usr/bin/perl install-module.pl LWP::UserAgent
PatchReader: /usr/bin/perl install-module.pl PatchReader
PerlMagick: /usr/bin/perl install-module.pl Image::Magick
perl-ldap: /usr/bin/perl install-module.pl Net::LDAP
Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL
RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite
HTML-Parser: /usr/bin/perl install-module.pl HTML::Parser
HTML-Scrubber: /usr/bin/perl install-module.pl HTML::Scrubber
Email-MIME-Attachment-Stripper: /usr/bin/perl install-module.pl
Email::MIME::Attachment::Stripper
Email-Reply: /usr/bin/perl install-module.pl Email::Reply
TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic
mod_perl: /usr/bin/perl install-module.pl 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
50 Most Frequently Used UNIX / Linux Commands
(With Examples)
How To Be Productive and Get Things Done Using
GTD
30 Things To Do When you are Bored and have a
Computer
Linux Directory Structure (File System Structure)
Explained with Examples
Linux Crontab: 15 Awesome Cron Job Examples
Get a Grip on the Grep! 15 Practical Grep
Command Examples
Unix LS Command: 15 Practical Examples
15 Examples To Master Linux Command Line History
Top 10 Open Source Bug Tracking System
Vi and Vim Macro Tutorial: How To Record and Play
Mommy, I found it! -- 15 Practical Linux Find
Command Examples
15 Awesome Gmail Tips and Tricks
15 Awesome Google Search Tips and Tricks
RAID 0, RAID 1, RAID 5, RAID 10 Explained with
Diagrams
Can You Top This? 15 Practical Linux Top Command
Examples
Top 5 Best System Monitoring Tools
Top 5 Best Linux OS Distributions
How To Monitor Remote Linux Host using Nagios 3.0
Awk Introduction Tutorial 7 Awk Print Examples
How to Backup Linux? 15 rsync Command Examples
The Ultimate Wget Download Guide With 15
Awesome Examples
Top 5 Best Linux Text Editors
Packet Analyzer: 15 TCPDUMP Command Examples
The Ultimate Bash Array Tutorial with 15 Examples
3 Steps to Perform SSH Login Without Password
Using ssh-keygen & ssh-copy-id
Unix Sed Tutorial: Advanced Sed Substitution
Examples
http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/08/gtd-getting-things-done/http://www.thegeekstuff.com/2010/08/gtd-getting-things-done/http://www.thegeekstuff.com/2010/03/30-things-to-do-when-you-are-bored-and-have-a-computer/http://www.thegeekstuff.com/2010/03/30-things-to-do-when-you-are-bored-and-have-a-computer/http://www.thegeekstuff.com/2010/09/linux-file-system-structure/http://www.thegeekstuff.com/2010/09/linux-file-system-structure/http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/http://www.thegeekstuff.com/2009/07/linux-ls-command-examples/http://www.thegeekstuff.com/2008/08/15-examples-to-master-linux-command-line-history/http://www.thegeekstuff.com/2010/08/bug-tracking-system/http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/07/best-gmail-tips-and-tricks/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/http://www.thegeekstuff.com/2009/06/top-5-best-linux-os-distributions/http://www.thegeekstuff.com/2008/06/how-to-monitor-remote-linux-host-using-nagios-30/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2010/09/rsync-command-examples/http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/http://www.thegeekstuff.com/2009/07/top-5-best-linux-text-editors/http://www.thegeekstuff.com/2010/08/tcpdump-command-examples/http://www.thegeekstuff.com/2010/06/bash-array-tutorial/http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/http://www.thegeekstuff.com/2010/06/bash-array-tutorial/http://www.thegeekstuff.com/2010/08/tcpdump-command-examples/http://www.thegeekstuff.com/2009/07/top-5-best-linux-text-editors/http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/http://www.thegeekstuff.com/2010/09/rsync-command-examples/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2008/06/how-to-monitor-remote-linux-host-using-nagios-30/http://www.thegeekstuff.com/2009/06/top-5-best-linux-os-distributions/http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2009/07/best-gmail-tips-and-tricks/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/http://www.thegeekstuff.com/2010/08/bug-tracking-system/http://www.thegeekstuff.com/2008/08/15-examples-to-master-linux-command-line-history/http://www.thegeekstuff.com/2009/07/linux-ls-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/http://www.thegeekstuff.com/2010/09/linux-file-system-structure/http://www.thegeekstuff.com/2010/09/linux-file-system-structure/http://www.thegeekstuff.com/2010/03/30-things-to-do-when-you-are-bored-and-have-a-computer/http://www.thegeekstuff.com/2010/03/30-things-to-do-when-you-are-bored-and-have-a-computer/http://www.thegeekstuff.com/2010/08/gtd-getting-things-done/http://www.thegeekstuff.com/2010/08/gtd-getting-things-done/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/11/50-linux-commands/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
4/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
6. Execute bugzilla install-module.pl
As suggested by the output of the checksetup.pl, you can execute the install-module.pl to install
all bugzilla required and optional perl modules.
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:
COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands and then re-
run checksetup.pl):
/usr/bin/perl install-module.pl CGI
/usr/bin/perl install-module.pl Digest::SHA
/usr/bin/perl install-module.pl Date::Format
/usr/bin/perl install-module.pl DateTime
/usr/bin/perl install-module.pl DateTime::TimeZone
/usr/bin/perl install-module.pl Template
/usr/bin/perl install-module.pl Email::Send/usr/bin/perl install-module.pl Email::MIME
/usr/bin/perl install-module.pl Email::MIME::Encodings
/usr/bin/perl install-module.pl Email::MIME::Modifier
/usr/bin/perl install-module.pl URI
To attempt an automatic install of every required and optional module with one
command, do:
/usr/bin/perl install-module.pl --all
# /usr/bin/perl install-module.pl --all
# ./checksetup.pl --check-modules
COMMANDS TO INSTALL OPTIONAL MODULES:
GD: /usr/bin/perl install-module.pl GD
Chart: /usr/bin/perl install-module.pl Chart::Base
Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
GDTextUtil: /usr/bin/perl install-module.pl GD::Text
GDGraph: /usr/bin/perl install-module.pl GD::Graph
UNIX / Linux: 10 Netstat Command Examples
The Ultimate Guide for Creating Strong Passwords
6 Steps to Secure Your Home Wireless Network
Turbocharge PuTTY with 12 Powerful Add-Ons
http://www.thegeekstuff.com/2010/03/netstat-command-examples/http://www.thegeekstuff.com/2008/06/the-ultimate-guide-for-creating-strong-passwords/http://www.thegeekstuff.com/2008/08/6-steps-to-secure-your-home-wireless-network/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2008/08/6-steps-to-secure-your-home-wireless-network/http://www.thegeekstuff.com/2008/06/the-ultimate-guide-for-creating-strong-passwords/http://www.thegeekstuff.com/2010/03/netstat-command-examples/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
5/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
7. Install missing Perl Modules
As we see from the above checksetup.pl output, some of the optional modules and required
module installed was not completed when we ran the install-module.pl.
So, we have to install the missing modules manually one-by-one to figure out the issues and fix
it one-by-one.
Refer to the Troubleshooting Section at the end for list of all the issues that I faced while
installing the perl modules required for bugzilla (along with the solution on how to fix those
issues).
8. Final checksetup.pl check-modules verification
Execute checksetup.pl check-modules again as shown below as final verification to make sure
all the modules got installed successfully.
XML-Twig: /usr/bin/perl install-module.pl XML::Twig
PerlMagick: /usr/bin/perl install-module.pl Image::Magick
SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite
mod_perl: /usr/bin/perl install-module.pl 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
# ./checksetup.pl --check-modules* This is Bugzilla 3.4.6 on perl 5.8.8
* Running on Linux 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 EDT 2009
Checking perl modules...
Checking for CGI.pm (v3.21) ok: found v3.49
Checking for Digest-SHA (any) ok: found v5.48
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.55
Checking for DateTime-TimeZone (v0.71) ok: found v1.17
Checking for DBI (v1.41) ok: found v1.52
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.00) ok: found v2.198Checking for Email-MIME (v1.861) ok: found v1.903
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
6/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
9. Create localconfig file using checksetup.pl
Execute checksetup.pl without any argument, which will create a localconfig file in the current
directory. The localconfig file contains the key configuration parameters used by the bugzilla
(for example, mysql db username and password).
Checking for Email-MIME-Modifier (v1.442) ok: found v1.903
Checking for URI (any) ok: found v1.54
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.013
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.44
Checking for Chart (v1.0) ok: found v2.4.1Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for XML-Twig (any) ok: found v3.34
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v5.834
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) ok: found v6.2.8
Checking for perl-ldap (any) ok: found v0.4001
Checking for Authen-SASL (any) ok: found v2.1401
Checking for RadiusPerl (any) ok: found v0.17
Checking for SOAP-Lite (v0.710.06) ok: found v0.711Checking for HTML-Parser (v3.40) ok: found v3.65
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Checking for Daemon-Generic (any) ok: found v0.61
Checking for mod_perl (v1.999022) ok: found v2.000004
# ./checksetup.pl
Reading ./localconfig...
This version of Bugzilla contains some variables that you may want to
change and adapt to your local settings. Please edit the file
./localconfig and rerun checksetup.pl.
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,
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
7/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
10. Modify the localconfig file.
The only thing you need to modify the localconfig file is MySQL database db password by
changing the $db_pass variable as shown below.
11. Modify /etc/my.cnf to increase bugzilla attachment size
Set the max_allowed_packet to 4M in the /etc/my.cnf to increase bugzilla attachment size.
Restart the mysqld after this change.
12. Create bugs mysql userAdd bugzilla user (bugs) to the mysql database as shown below.
site_wide_secret
# vi ./localconfig
$db_pass = 'Bugs4All';
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0
# Allow packets up to 4MB
max_allowed_packet=4M
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
# service mysqld restart
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
8/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
13. Create the bugzilla database
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.
14. Create bugzilla administrator account.At the end of the ./checksetup.pl execution, it will detect that you dont have an adminsitrator
account and request you to enter administration login information as shown below.
# mysql -u root -p
mysql> GRANT SELECT, INSERT,
UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,
CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.*
TO bugs@localhost IDENTIFIED BY 'Bugs4All';
mysql> FLUSH PRIVILEGES;
# ./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...
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
9/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
15. Configure apache for mod_perl
Rename the bugzilla directory. (i.e remove the version number in it)
Add the following two lines to httpd.conf
Verify the Group in httpd.conf matches the webservergroup in localconfig
Looks like we don't have an administrator set up yet. Either this is
your first time using Bugzilla, or your administrator's privileges
might have accidentally been deleted.
Enter the e-mail address of the administrator: [email protected]
Enter the real name of the administrator: Ramesh Natarajan
Enter a password for the administrator account: NotRealPwd
Please retype the password to verify: welcome
[email protected] is now set up as an administrator.Creating default classification 'Unclassified'...
Creating initial dummy product 'TestProduct'...
Now that you have installed Bugzilla, you should visit the 'Parameters'
page (linked in the footer of the Administrator account) to ensure it
is set up as you wish - this includes setting the 'urlbase' option to
the correct URL.
# cd /var/www/html
# mv bugzilla-3.4.6/ bugzilla
# tail -2 /etc/httpd/conf/httpd.conf
PerlSwitches -I/var/www/html/bugzilla -I/var/www/html/bugzilla/lib -w -T
PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl
# cd /var/www/html/bugzilla/
# grep webservergroup localconfig
$webservergroup = 'apache';
# grep Group /etc/httpd/conf/httpd.conf
Group apache
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
10/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
16. Final checksetup.pl execution
Execute the checksetup.pl again.
17. Login to bugzilla and complete one time setup.
Start the apache, go to http://{your-ip-address}/bugzilla and login using the administrator
account you created above.
From the bugzilla UI, at the footer -> Administration -> Parameters -> Required Settings
section -> Fill-out following information:
maintainer: [email protected]
urlbase: http://{your-ip-address}/
Note: Depending on your setup, go to -> User Authentication -> and you might want to change
requiredlogin and emailregexp parameter.
Troubleshooting Bugzilla Install Issues
Issue1: DBD::mysql module failed
The DBD:mysql perl module failed with the mysql.h: No such file or directory error message
as shown below.
# ./checksetup.pl
Reading ./localconfig...
Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Now that you have installed Bugzilla, you should visit the 'Parameters'
page (linked in the footer of the Administrator account) to ensure it
is set up as you wish - this includes setting the 'urlbase' option to
the correct URL.
# /usr/bin/perl install-module.pl DBD::mysql
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:25:49: error: errmsg.h: No such file or directoryIn file included from dbdimp.c:20:
dbdimp.h:144: error: expected specifier-qualifier-list before MYSQL
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
11/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
Solution1: install mysql-devel
Error message mysql.h: No such file or directory is because mysql-devel package was
missing as shown below.
Install the mysql-devel package as shown below.
DBD::mysql installation will go through without any issues now.
Issue2: GD failed with missing gdlib-config / libgd
Installing GD module failed with the following error message.
dbdimp.h:236: error: expected specifier-qualifier-list before MYSQL_RES
# rpm -qa | grep -i mysql
MySQL-python-1.2.1-1
mysql-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
mysql-server-5.0.77-4.el5_4.2
libdbi-dbd-mysql-0.8.1a-1.2.2
perl-DBD-MySQL-3.0007-2.el5
# yum install mysql-devel
# rpm -qa | grep -i "mysql-devel"
mysql-devel-5.0.77-4.el5_4.2
# /usr/bin/perl install-module.pl DBD::mysql
# /usr/bin/perl install-module.pl GD
**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or
higher.
If you want to try to compile anyway, please rerun this script with the option --
ignore_missing_gd.
Running make test
Make had some problems, maybe interrupted? Won't testRunning make install
Make had some problems, maybe interrupted? Won't install
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
12/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
Solution2: Install gd-devel package
Install libgd (i.e gd-devel package) as shown below to fix the GD module issue.
GD got installed without any issues after insingalling gd-devel package.
Issue3: Twig Failed with expat.h error
Twig module failed to install with the error message expat.h: No such file or directory as
shown below.
Solution3: Install expat and expat-devel for Twig
Install expat and expat-devel package as shown below.
Now install Twig without any issues.
Issue4: Image::Magick failed to install
# yum install gd-devel
# rpm -qa | grep gd
gd-2.0.33-9.4.el5_4.2
gd-devel-2.0.33-9.4.el5_4.2
# /usr/bin/perl install-module.pl GD
# /usr/bin/perl install-module.pl XML::Twig
Expat.xs:12:19: error: expat.h: No such file or directory
Expat.xs:60: error: expected specifier-qualifier-list before XML_Parser
# yum install expat
# yum install expat-devel
# /usr/bin/perl install-module.pl XML::Twig
S b S ill ll i G id f i
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
13/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
Image::Magick installation failed with magick/MagickCore.h: No such file or directory error
message as shown below.
Solution4: Image::Magick failed to install
Make sure following ImageMagic related packages are present.
In my case, ImageMagic-devel was missing. So, installed it as shown below. After that,
Image::Magick perl module got installed successfully.
Issue5: SOAP::Lite failed to install
SOAP::Lite module failed to install with Cannot locate version.pm in @INC message as shown
below.
# /usr/bin/perl install-module.pl Image::Magick
Note (probably harmless): No library found for -lMagickCore
Magick.xs:64:31: error: magick/MagickCore.h: No such file or directory
Magick.xs:171: error: expected specifier-qualifier-list before MagickRealType
Magick.xs:192: error: expected specifier-qualifier-list before ImageInfo
Magick.xs:214: error: MagickNoiseOptions undeclared here (not in a function)Magick.xs:214: warning: missing initializer
# rpm -qa | grep -i Image
ImageMagick-6.2.8.0-4.el5_1.1
ImageMagick-c++-devel-6.2.8.0-4.el5_1.1
ImageMagick-devel-6.2.8.0-4.el5_1.1ImageMagick-c++-6.2.8.0-4.el5_1.1
ImageMagick-perl-6.2.8.0-4.el5_1.1
# yum install ImageMagick-devel
# /usr/bin/perl install-module.pl Image::Magick
#/usr/bin/perl install-module.pl SOAP::Lite
Failed test 'use SOAP::Lite;' at t/SOAP/Data.t line 5.
Tried to use 'SOAP::Lite'.
Error: Can't locate version.pm in @INC
St b St B ill I t ll ti G id f Li
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
14/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
Solution5: Install version.pm required for SOAP::Lite
Installed version.pm as shown below. After this, SOAP::Lite got installed without any issue.
Issue6 (and Solution6): mod_perl was missing
Dont install mod_perl using /usr/bin/perl install-module.pl mod_perl2 . Insetad, use yum to
install mod_perl as shown below.
Issue7: Apache start failed
Starting apache failed with Cannot locate Template/Config.pm in @INC error message.
Solution7: Install Template-Tool Kit as shown below
Install Template-Tool kit to fix the above apache error message
Issue8: Apache start failed again
# perl -MCPAN -e 'install version'
# /usr/bin/perl install-module.pl SOAP::Lite
# yum install mod_perl
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 994 of /etc/httpd/conf/httpd.conf:
Can't locate Template/Config.pm in @INC
# cpan
cpan> i /Template-Toolkit/
Distribution A/AB/ABEL/Eidolon-Driver-Template-Toolkit-0.01.tar.gz
Distribution A/AB/ABW/Template-Toolkit-1.07.tar.gz
Distribution A/AB/ABW/Template-Toolkit-2.22.tar.gz
Distribution I/IN/INGY/Template-Toolkit-Simple-0.03.tar.gz
4 items found
cpan> install A/AB/ABW/Template-Toolkit-2.22.tar.gz
St b St B ill I t ll ti G id f Li
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
15/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
0 4 5764 3ConfirmLike
Starting apache failed with Cannot locate DateTime/Locale.pm in @INC error message.
Solution8: Install DateTime/Locale.pm as shown below
Install DateTime/Locale.pm to fix the above apache error message
Also, in your apache error_log if you see Digest/SHA.pm issue, you should install it as shown
below.
Comment
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 994 of /etc/httpd/conf/httpd.conf:
Can't locate DateTime/Locale.pm in @INC
# cpan
cpan> install DateTime:Locale
# tail -f /etc/httpd/logs/error_log
Can't locate Digest/SHA.pm in @INC (@INC contains:
# cpan
cpan> install Digest::SHA
Step by Step Bugzilla Installation Guide for Linux
http://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2Fhttp://googleads.g.doubleclick.net/aclk?sa=L&ai=BrFC28_-8Tr-MIsSJiAfh8K30Cubt8YQDnsu7vTvAjbcB8LjEBBABGAEgooHXCzgAUNb1i8ABYOXq44OYDrIBFHd3dy50aGVnZWVrc3R1ZmYuY29tugEKMzM2eDI4MF9hc8gBAtoBPmh0dHA6Ly93d3cudGhlZ2Vla3N0dWZmLmNvbS8yMDEwLzA1L2luc3RhbGwtYnVnemlsbGEtb24tbGludXgv4AEEqQJi1rAyTWtVPsgC3oT_IqgDAcgDFegD3QXoA-AF6APaBfUDAAAAxKAGAg&num=1&sig=AOD64_0nHgdjL72zgxfWdAF91vRzRQ4pWA&client=ca-pub-8090601437064582&adurl=http://clk.atdmt.com/INM/go/336319803/direct/01/%3Fhref%3Dhttp://view.atdmt.com/action/inm100_PFXINDMSFTOffice365IndiaGenericActionTa_1/v3/cXrh83hlI_15878247942__1302kv78933/%3Fhref%3Dhttp%253A%252F%252Fwww.microsoft.com%252Fen-in%252Foffice365%252Fonline-software.aspx%253FWT.srch%253D1%2526WT.mc_id%253DPS_google_Office365_IN_GG_General%252528T%252529_C_it%2520application%2520development_Texthttp://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2Fhttp://twitter.com/search?q=http%3A%2F%2Fwww.thegeekstuff.com%2F2010%2F05%2Finstall-bugzilla-on-linux%2F -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
16/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
Share
1
2
If you enjoyed this article, you might also like..
1. 50 Linux Sysadmin Tutorials
2. 50 Most Frequently Used Linux
Commands (With Examples)
3. Mommy, I found it! 15 Practical Linux
Find Command Examples4. Turbocharge PuTTY with 12 Powerful
Add-Ons
5. 15 Awesome Google Search Tips and
Tricks
Awk Introduction Tutorial 7 Awk Print
Examples
Sed Tutorial: Advanced Sed Substitution
Examples
8 Essential Vim Editor NavigationFundamentals
25 Most Frequently Used Linux IPTables
Rules Examples
Advanced Regular Expressions in Grep
Command with 10 Examples
Tags: Bugzilla Install on CentOS, Bugzilla Install on Debian,Bugzilla Install on Ubuntu
{19 comments read them below oradd one}
jeff August 10, 2010 at 6:31 am
Great article, works like a champ. Saved a lot of time. Thank you. Any chance for a
subversion install in the near future?
sh August 22, 2010 at 2:46 am
# cpan
Step by Step Bugzilla Installation Guide for Linux
http://www.addthis.com/bookmark.php?v=250&pub=xa-4ac6c0d77fc11b75http://www.thegeekstuff.com/2010/12/50-unix-linux-sysadmin-tutorials/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/http://www.thegeekstuff.com/2011/06/iptables-rules-examples/http://www.thegeekstuff.com/2011/06/iptables-rules-examples/http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/http://www.thegeekstuff.com/tag/bugzilla-install-on-centos/http://www.thegeekstuff.com/tag/bugzilla-install-on-debian/http://www.thegeekstuff.com/tag/bugzilla-install-on-debian/http://www.thegeekstuff.com/tag/bugzilla-install-on-ubuntu/http://www.thegeekstuff.com/tag/bugzilla-install-on-ubuntu/http://www.thegeekstuff.com/tag/bugzilla-install-on-debian/http://www.thegeekstuff.com/tag/bugzilla-install-on-centos/http://www.thegeekstuff.com/vim-101-hacks-ebook/http://www.thegeekstuff.com/nagios-core-ebook/http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/http://www.thegeekstuff.com/bash-101-hacks-ebook/http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/http://www.thegeekstuff.com/2011/06/iptables-rules-examples/http://www.thegeekstuff.com/2011/06/iptables-rules-examples/http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2009/06/expertise-in-google-search/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/11/50-linux-commands/http://www.thegeekstuff.com/2010/12/50-unix-linux-sysadmin-tutorials/http://www.addthis.com/bookmark.php?v=250&pub=xa-4ac6c0d77fc11b75 -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
17/23
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
3
4
5
cpan> install DateTime:Locale
wrong
=>
# cpan
cpan> install DateTime::Locale
Dinesh October 8, 2010 at 3:22 am
Very worthful article.
Ant ti October 26, 2010 at 2:21 am
Hello
Thanks for the step-by-step guide. It was good. I had a problem with Centos 5.5. The
Apache couldnt find the DateTime.pm. The problem was solved by different configuration inthe httpd.conf.
ScriptAlias /cgi-bin/ /var/www/html/bugzilla/
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
Hopefully this will help somebody.
antti October 26, 2010 at 2:23 am
My last post should have had two more lines:
ScriptAlias /cgi-bin/ /var/www/html/bugzilla/
Directory /var/www/html/bugzilla
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
Directory
Step-by-Step Bugzilla Installation Guide for Linux
http://www.accenture.com/http://www.accenture.com/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
18/23
Step by Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
6
7
8
Surround the directories with the Apache configuration syntax and you are good to go.
Zaher Shalak October 28, 2010 at 5:26 am
thanks for this great article
but i face problem in : service httpd restart
Starting httpd: Syntax error on line 898 of /etc/httpd/conf/httpd.conf:
$s->add_config() has failed: Option ExecCGI not allowed here at/var/www/html/bugzilla/mod_perl.pl line 82.\nCompilation failed in require at (eval 2) line 1.\n;
where line 898 of /etc/httpd/conf/httpd.conf: , is the line putted in step 15
(PerlConfigRequire )
Could any body help me please
thanks a lot & Best Regards
Rahul December 21, 2010 at 7:07 am
Hi Ramesh
The step by step guide was really helpful. Thank you.
Im facing a couple of problems though.
Firstly I was not able to install ImageMagick no matter what I tried.
Secondly, the lines
PerlSwitches -I/var/www/html/bugzilla -I/var/www/html/bugzilla/lib -w -T
PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl
that were added in http.conf while are causing the service to fail.
Like you mentioned above I have installed the various packages at the cpan prompt.
You have given only 2 instances above but Im facing more cant locate errors. I install each
one and then restart httpd and something else is missing.
Hope you can help me on this, I,m using CentOS 5.4
chifor andrei December 22, 2010 at 2:43 am
Hello,
Step-by-Step Bugzilla Installation Guide for Linux
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
19/23
Step by Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
9
10
11
first of all i would like to say that the article is a very good one.
But i have the same problem as Rahul here:
the lines
PerlSwitches -I/var/www/html/bugzilla -I/var/www/html/bugzilla/lib -w -T
PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl
that were added in http.conf while are causing the service to fail.
Thank you.
Rahul December 30, 2010 at 5:29 am
Hi Chifor
The http service will fail a no. of times. Each time the service fails check the error it is
throwing .
Usually you a cant locate error. Every you get this check the module that it cannot locate
and install it from the cpan prompt.
After a no. of such attempts I was able to successfully start the http service.
Even then I was not able to view the Bugzilla home page through the browser.
Every time I entered the url I just got to view the various Bugzilla files as HTML documents.
Now go the file /var/log/httpd/error_log and check what is the error you are getting.
Again install each missing module from the cpan prompt.
If everything goes well all dependencies should be resolved and you should be able to view
the Bugzilla home page.
Robert Liu February 18, 2011 at 4:26 am
I have a question, after I installed the bugzilla, I open the Mozilla Firefox and key in the
address http://localhost/bugzilla , it only show the files on the bugzilla directory, What should I
do?
Thanks. Robert
bunny February 28, 2011 at 11:57 pm
Step-by-Step Bugzilla Installation Guide for Linux
http://localhost/bugzillahttp://localhost/bugzillahttp://localhost/bugzilla -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
20/23
p y p g
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
12
13
HI all,
There some thing to be done at the end of installation.. change the httpd conf file so it
detects your cgi files then only we can have a GUI interface to bugzilla else it wont work
properly.
Alan March 31, 2011 at 3:53 pm
Does this apply with Ubuntu Server 32bits ??Im getting some troubles installing Perl modules
YAML is one of the problems but I would like to solve this cauz I cant find the lights
yunus March 31, 2011 at 9:37 pm
Hi,
I am unable install /usr/bin/perl install-module.pl DateTime and below are my errors.
CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.66.tar.gz
Cant locate Module/Build.pm in @INC (@INC contains: /var/www/html/bugzilla/lib/i386-linux-
thread-multi /var/www/html/bugzilla/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-
linux-thread-multi /usr/lib/perl5/5.8.8 .) at Build.PL line 5.
BEGIN failedcompilation aborted at Build.PL line 5.
Warning: No success on command[/usr/bin/perl Build.PL ]DROLSKY/DateTime-0.66.tar.gz
/usr/bin/perl Build.PL NOT OK
Skipping test because of notest pragma
Running Build install
Make had some problems, wont install
Could not read metadata file. Falling back to other methods to determine prerequisities
I am eagerly awaiting your reply on this issue in order to complete my bugzilla installation.
RegardsYunus
Step-by-Step Bugzilla Installation Guide for Linux
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
21/23
p y p g
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
14
15
16
17
18
19
momnotmom April 13, 2011 at 2:21 pm
Yunus,
I installed the Build module
/usr/bin/perl install-module.pl Build
and then I was able to install DateTime
sXing April 18, 2011 at 12:32 pm
Hey there thx your guide so far is really awesome but I got a problem with the last step.
When trying to find httpd.conf the directory doesnt even exist, I installed the packages
apache2 & libapache2.
The only httpd.conf I found is in the apache2 directory and is empty, please Im stuck at thispart, could u help me?
Thx in advance
sXing April 18, 2011 at 12:42 pm
an additional comment from my side: Where exactly do I have to put the lines from step15
indira June 3, 2011 at 1:04 am
installing Active perl removes Not locate issues in installing certain perl modules ?
Suma Ramesh August 4, 2011 at 7:59 am
Excellent tutorial Literally spoon feeding
Thanks i was able to set up my New Bugzilla in 20 mins..
Anonymous October 25, 2011 at 5:18 am
Step-by-Step Bugzilla Installation Guide for Linux
-
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
22/23http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/[11/11/2011 4:30:37 PM]
About The Geek Stuff
My name is Ramesh Natarajan . I
will be posting instruction guides,
how-to, troubleshooting tips and
tricks on Linux, database, hardware,
security and web. My focus is to
Support Us
Support this blog by purchasing one of my
ebooks.
Bash 101 Hacks eBook
Contact Us
Email Me : Use this Contact Form to get in
touch me with your comments, questions or
suggestions about this site. You can also simply
drop me a line to say hello!.
for the YAML problem what is did was , in the terminal Type
yum install *YAML*
Then the problem was solved
Leave a Comment
Name
E-mail
Website
Notify me of followup comments via e-mail
P R E V I O U S P O S T : Watch: Repeat Unix Commands or Shell-Scripts every N seconds
N E X T P O S T : Perl Debugger Tutorial: 10 Easy Steps to Debug Perl Program
Submit
Step-by-Step Bugzilla Installation Guide for Linux
http://www.thegeekstuff.com/bash-101-hacks-ebook/http://www.thegeekstuff.com/bash-101-hacks-ebook/http://www.thegeekstuff.com/contacthttp://www.thegeekstuff.com/2010/05/watch-command-examples/http://www.thegeekstuff.com/2010/05/perl-debugger/http://www.thegeekstuff.com/2010/05/perl-debugger/http://www.thegeekstuff.com/2010/05/watch-command-examples/http://www.thegeekstuff.com/contacthttp://www.thegeekstuff.com/bash-101-hacks-ebook/ -
7/27/2019 Step-by-Step Bugzilla Installation Guide for Linux.pdf
23/23
write articles that will either teach
you or help you resolve a problem.
Read more about Ramesh Natarajan and the blog.
Sed and Awk 101 Hacks eBook
Vim 101 Hacks eBook
Nagios Core 3 eBook
Follow us on Twitter
Become a fan on Facebook
Copyright 20082011 Ramesh Natarajan. All rights reserved | Terms of Service | Advertise
http://www.thegeekstuff.com/about/http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/http://www.thegeekstuff.com/vim-101-hacks-ebook/http://www.thegeekstuff.com/nagios-core-ebook/http://twitter.com/thegeekstuffhttp://twitter.com/thegeekstuffhttp://www.facebook.com/thegeekstuffhttp://www.facebook.com/thegeekstuffhttp://www.thegeekstuff.com/copyrighthttp://www.thegeekstuff.com/advertisehttp://www.thegeekstuff.com/advertisehttp://www.thegeekstuff.com/copyrighthttp://www.facebook.com/thegeekstuffhttp://twitter.com/thegeekstuffhttp://www.thegeekstuff.com/nagios-core-ebook/http://www.thegeekstuff.com/vim-101-hacks-ebook/http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/http://www.thegeekstuff.com/about/