|mnoGoSearch 3.3.15 reference manual: Full-featured search engine software|
|Prev||Chapter 2. Installing mnoGoSearch||Next|
Unpack the source distribution and change directory to the unpacked sources. For example:
tar -zxf mnogosearch-3.3.8.tar.gz
Configure the package
Note: To simplify the configuration process, mnoGoSearch source distribution includes an optional configuration script install.pl. You can run install.pl and select mnoGoSearch configuration options in the question-and-answer manner. After you answer all the questions, the script will run ./configure with the options you chose. It will also create the install.options file containing your configuration preferences that you can use to run the script later, bypassing questions.
If you decided to use install.pl, go to the section 3 after configuration is finished.
In case you prefer to configure mnoGoSearch in the traditional way (without using install.pl), do the following:
sh$ ./configure --with-mysql
sh$ ./configure --with-pgsql
or with another database on your choice,
or with multiple databases:
sh$ ./configure --with-mysql --with-pgsql --with-freetds
By default, mnoGoSearch is installed into the /usr/local/mnogosearch directory with the following subdirectories:
|bin||mconv, mguesser, search.cgi, udm-config|
|etc||indexer.conf-dist, search.htm-dist, langmap.conf-dist, stopwords.conf-dist|
If you have no permission to write to that directory
or just want to install mnoGoSearch to
another location, you can use configure
--prefix option, for example:
./configure --prefix=/user/home/mnogo --with-mysql
To install mnoGoSearch with HTTPS support use configure with the following option:
or in case when the OpenSSL library is installed in a non-standard location:
Note: The OpenSSL library is required to build mnoGoSearch with HTTPS support.
You can see all available options by typing ./configure --help
If you want to add some specific flags to the C compiler (for example, '-O7 -mpentium' to build a highly optimized binary for Pentium™ processors if you use egcs or pgcc), you can do so using
sh$ CFLAGS="-O7 -mpentium" ./configure
To enable the DMALLOC memory debugger
support for debugging purposes, use the
Don't forget to set a proper value to the
DMALLOC_OPTION environment variable before
(see the dmalloc manual for details).
shift-jis character sets are not
supported by default.
To build mnoGoSearch with
support for these charsets, use configure
To build mnoGoSearch with support for all additional character sets, use:
To build mnoGoSearch with a single additional character set use:
To build mnoGoSearch with multiple additional character sets, use a comma separated list of the character sets you want:
If you run into problems with configure, please see the Section called Possible installation problems .
Building and installing the package.
sh$ make install
If you run into problems at this step, please see the Section called Possible installation problems .
Create a new database mnoGoSearch will use to store data in. For example, mnogosearch.
You can use an existing database. In this case, skip this step.
sh$ mysqladmin create mnogosearch
sh$ createdb mnogosearch
See the database specific documentation for the other database software.
Create the file indexer.conf and set the DBAddr command.
Change directory to /usr/local/mnogosearch/etc/.
Copy indexer.conf-dist into indexer.conf:
cp indexer.conf-dist indexer.conf
Open indexer.conf in your favorite text editor and edit the DBAddr command to set the proper database connection string.
Create search.htm and set DBAddr
Change dir to /etc directory of your mnoGoSearch installation, typically /usr/local/mnogosearch/etc/.
Copy search.htm-dist into search.htm:
cp search.htm-dist search.htm
Open search.htm in your favorite editor, and edit the DBAddr to set the database connection strings, similarly to what you've done at the previous step.
Change dir to the /sbin directory of the installation, typically /usr/local/mnogosearch/sbin, and create the database structure:
sh$ ./indexer -Ecreate
Installing search scripts
Copy search.cgi to your Web server cgi-bin directory or add an Apache alias to mnoGoSearch bin directory.