Difference between revisions of "Scarab"

From SME Server
Jump to navigationJump to search
Line 39: Line 39:
  
 
The script remove the old db and create a new one with sample data.
 
The script remove the old db and create a new one with sample data.
 +
 +
 +
== Usage ==
 +
Access http://yourdomain:tomcatport/scarab
 +
 +
The default user id '''Administrator''' with password '''1''' (number one)

Revision as of 10:19, 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.


Usage

Access http://yourdomain:tomcatport/scarab

The default user id Administrator with password 1 (number one)