Thursday, December 18, 2014

How to setup testopia-1.3-Beta with Bugzilla on CentOS

Testopia Installation In CentOS :-



Download the required Testopia add-on from the following location:

# wget http://mirror.internode.on.net/pub/mozilla/webtools/testopia/testopia-1.3-BETA2.tar.gz

Note :- Before patching, it is highly recommended that you have take a backup of Bugzilla directory and other configuration files

Copy the testopia-1.3-beta2.tar.gz source to /var/www/html/bugzilla/.
# cp –rv testopia-1.3-beta2.tar.gz /var/www/html/bugzilla/.

And extract it
# tar –xvzf testopia-1.3-beta2.tar.gz
Before to run the patch, you will have to install some perl module for Testopia patching :
Here the commands :


/usr/bin/perl -MCPAN -e 'install JSON'
/usr/bin/perl -MCPAN -e 'install Text::Diff'

Then run the Patch command:
# patch -p0 -i testopia/patch-3.0
Here need to give two times “no”
Note: Should give 2 times “no” then will work correctly.

Then run the checksetup.pl to fix the modules successfully..
#./checksetup.pl

Note :- 

After running ./checksetup.pl, it will convert your table storage format to UTF8. This allows Bugzilla to correctly store and sort international characters. However, if you have any non-UTF-8 data in your database,it ***WILL BE DELETED*** by this process. So, before you continue with checksetup.pl, if you have any non-UTF-8 data (or even if you're not sure) you should press Ctrl-C to interrupt checksetup.pl, and run contrib/recode.pl to make all data in your database into UTF-8. You should also back up your database before continuing. This will affect every single table in the database, even non-Bugzilla. If you ever used a version of Bugzilla before 2.22, we STRONGLY recommend that you stop checksetup.pl and run contrib/recode.pl.

Then restart the below services..

# service httpd restart
service mysqld restart

If there is no errors when you run the ./checksetup.pl. the configuration setup for Testopia is completed.

Now acces the Bugzilla and Testopia from any client PC.

*********

No comments:

Post a Comment