Bugzilla Hosting: How to install and deploy Bugzilla on Hostingrails.com
This is a wiki article created by HostingRails users. Please login or signup to make edits.
Bugzilla is an open source application designed to help you keep track of bugs in your code. Here the the simple steps needed to get it running on HostingRails.com
(NOTE: bugzilla 3.x doesn't work on our servers yet -- please use stable 2.22.2)
1) wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-2.22.2.tar.gz
2) tar -zxvf bugzilla-2.22.2.tar.gz
3) cd to the bugzilla-2.22.2 directory and run ./checksetup.pl and let it do its thing (you should see errors while processing, it is ok)
4) go make a mysql database in cPanel called bugs (which will be username_bugs) and assign it a user.
5) edit the "localconfig" file with this database user information
6) run ./checksetup.pl again (it will populate the database and get other things done)
7) in cPanel create a subdomain named "bugzilla"
8) remove the folder "bugzilla" that cPanel created in public_html and symlink the real bugzilla folder (should be under the root) to ~/public_html/bugzilla
[To remove the folder : [~/public_html]$ rm -r bugzilla;
To symlink the bugzilla folder : $ ln -s bugzilla-2.22.2 ~/public_html/bugzilla ]
9) chmod 755 bugzilla -R
10) browse to bugzilla.domain.com/index.cgi and you're live!
-----
I found that ./checksetup.pl does not work, or at least it does not create localconfig ...Then I have tested bugzilla-2.22.3 it seems to work, but in any case MIME:Parser CPAN is missing at least in mi HostingRails PERL system installation, I had to installed and compiled locally and then moved to bugzilla Dir.
So fixing at least this MIME:Parser you will be able to have localconfig generated.
Change all DB credentials and do not forget "webservergroup" to your HostingRails group, it is very important.
Finally you should be requested for admin user and password, DB will be created and forget about "urlbase" setting as appears at last checksetup.pl.
Obviously step 9 should be done.
I also noticed that "/usr/local/bin/perl -wT" generate problems specially in adding bugs, so I remove "T" and leaved as "-w" only at the top of post_bug.cgi, for the rest cgis it seems to work.
I will come back to put any other detail in my test !!!
William
Moogamooga
Sijin
Kumar
Jesusperez