Difference between revisions of "Scarab"

From SME Server
Jump to navigationJump to search
Line 16: Line 16:
 
Install Tomcat as described here: [[Tomcat]]
 
Install Tomcat as described here: [[Tomcat]]
  
Then open mysqld access to local network because Scarab use the mysqld port instead the socket. The following instructions are extracted from [[MySQL#Access_MySQL_from_the_local_network]]
+
Then open mysqld access to local network because Scarab use the mysqld port instead the socket.  
 +
 
 +
The following instructions are extracted from [[MySQL#Access_MySQL_from_the_local_network]]
  
 
  config setprop mysqld LocalNetworkingOnly no
 
  config setprop mysqld LocalNetworkingOnly no
Line 33: Line 35:
 
Under '''/opt/scarab''' you have found the extensions directory, and can be use the scripts to import data from bugzilla.
 
Under '''/opt/scarab''' you have found the extensions directory, and can be use the scripts to import data from bugzilla.
  
Under '''/db/mysql''' you have found the database creation scripts. The installation use install_db_plain.sql. This script install a plain db for Scarab. If you want to install sample data, when finish the installation, execute:
+
Under '''/db/mysql''' you have found the database creation scripts. The installation use '''install_db_plain.sql'''. This script install a plain db for Scarab. If you want to install sample data, when finish the installation, execute:
  
 
  mysql < install_db_with_sample.sql
 
  mysql < install_db_with_sample.sql

Revision as of 18:22, 9 December 2007

About Scarab

Scarab is a highly customizable artifact tracking system. ( http://scarab.tigris.org/ )

A good replacement for bugzilla, and also has import scripts to import bugzilla issues.

Read about scarab:

http://www.solitone.org/scarab-trunk-doc/index.html

and Scarab design:

http://www.solitone.org/scarab-trunk-doc/misc/scarab-design.html

Installation

Install Tomcat as described here: Tomcat

Then open mysqld access to local network because Scarab use the mysqld port instead the socket.

The following instructions are extracted from MySQL#Access_MySQL_from_the_local_network

config setprop mysqld LocalNetworkingOnly no
expand-template /etc/my.cnf
/etc/rc.d/init.d/mysqld restart

In some circunstances mysqld fail to start. If this is your case, reboot the server.

Download scarab and install:

wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/scarab/rpm/scarab-0.21-01.noarch.rpm
yum localinstall scarab-0.21-01.noarch.rpm

The installation create scarab db and scarabu user.

Under /opt/scarab you have found the extensions directory, and can be use the scripts to import data from bugzilla.

Under /db/mysql you have found the database creation scripts. The installation use install_db_plain.sql. This script install a plain db for Scarab. If you want to install sample data, when finish the installation, execute:

mysql < install_db_with_sample.sql

The script remove the old db and create a new one with sample data.

You can always return to the plain db executing:

mysql < install_db_plain.sql

Usage

Access http://yourdomain:tomcatport/scarab

The default username is Administrator with password 1 (number one)

Conclusion

Read all the documentation available from Scarab site. The mailing list is a good source of information too.

I think Scarab is a good tool to try and test over bugzilla.

As always, report any bug