Anders Ardö > Combine-4.003 > combineINIT

Download:
Combine-4.003.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

combineINIT - Initializations of MySQL and config directories

SYNOPSIS ^

combineINIT --jobname <name> [--username <mysqluser> [--hostname <mysqlhost>]] [--topic <topicDefinitionFile>] [--myconf <MyConfigFile>]

OPTIONS AND ARGUMENTS ^

jobname is used to find the appropriate configuration (mandatory)

username and hostname pertain to the MySQL server that is used

topic is a file that contains a valid topic definition

myconf is a local configuration file

DESCRIPTION ^

Creates a Mysql database, database tables and initializes it. If the database exists it is dropped and recreated. A job specific configuration directory is created in /etc/combine/ and populated with a default configuration file.

If a topic definition filename is given, focused crawling using this topic defintion is enabled per default. Otherwise focused crawling is disabled, and Combine works as a general crawler.

The contents of the file specified with 'myconf' is appended to the standard job-specific configuration file.

EXAMPLES ^

combineINIT --jobname aatest

Creates a Mysql database called aatest on localhost with access for the MySQL user combine. A configuration directory /etc/combine/aatest/ is created and populated with a default configuration file.

SEE ALSO ^

Combine configuration documentation in /usr/share/doc/combine/.

AUTHOR ^

Anders Ardö, <anders.ardo@it.lth.se>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005, 2006 Anders Ardö

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.

See the file LICENCE included in the distribution at http://combine.it.lth.se/