Line 1: |
Line 1: |
| + | {{Request_for_deletion}} |
| + | As noted in bug 6641, the scarab rpm is no longer in smecontribs, and it seems the proect is dead - last release was Feb 2007 - http://scarab.tigris.org/servlets/ProjectDocumentList |
| + | |
| + | ---- |
| + | |
| + | |
| == About Scarab == | | == About Scarab == |
| | | |
Line 12: |
Line 18: |
| | | |
| http://www.solitone.org/scarab-trunk-doc/misc/scarab-design.html | | http://www.solitone.org/scarab-trunk-doc/misc/scarab-design.html |
− |
| |
| | | |
| == Installation == | | == Installation == |
| 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 |
| expand-template /etc/my.cnf | | expand-template /etc/my.cnf |
− | /etc/rc.d/init.d/mysqld restart | + | sv t /service/mysqd |
| | | |
| In some circunstances mysqld fail to start. If this is your case, reboot the server. | | In some circunstances mysqld fail to start. If this is your case, reboot the server. |
| | | |
− | Download scarab and install:
| + | Install: |
| | | |
− | wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/scarab/rpm/scarab-0.21-01.noarch.rpm | + | yum --enablerepo=smecontribs install scarab |
− | yum localinstall scarab-0.21-01.noarch.rpm
| |
| | | |
− | The installation create '''scarab'' db and '''scarabu''' user. | + | 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 '''/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 |
Line 40: |
Line 46: |
| 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. |
| | | |
| + | You can always return to the plain db executing: |
| + | |
| + | mysql < install_db_plain.sql |
| | | |
| == Usage == | | == Usage == |
| Access http://yourdomain:tomcatport/scarab | | Access http://yourdomain:tomcatport/scarab |
| | | |
− | The default user id '''Administrator''' with password '''1''' (number one) | + | 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 |
| + | |
| + | ---- |
| + | [[Category: Deprecated Contrib]] |
| + | [[Category: Webapps]] |