WebSpellChecker LLC, 38 Nauky Ave., Kharkiv, 61166, Ukraine, Tel.: +1 (917) 259-1071
Fax +1 (917) 259-1074. ©2000- WebSpellChecker LLC. All Rights Reserved.
This feature is available in the WebSpellChecker.net application version 4.8.3.2 and higher.
In order to run automated installation you need to supply a config file with answers to questions of the installer.
You can call the installer (automated_install.pl) with the config file as the first parameter in console/terminal, e.g. :
$ sudo ./automated_install.pl install.conf
or
$ sudo perl automated_install.pl config
Note! Extension and name of the configuration file to be passed as argument to the installer can be any.
The file has a simple structure resembling .ini files, but lacking sections. Each row of the file contains one parameter and its value delimited by an assignment:
install_path = opt/WSC/ file_owner = 33:33 service_host = https://your_host/spellcheck web_server_type = 1 apache_install_mod_fastcgi = 1 apache_auto_enable_modules = 1 #foo = bar
You are allowed to use indentation or any number of spaces and tabs before, after or somewhere in the middle, add blank lines. You can also temporarily comment some of the parameters with a # as the first character of the parameter name.
Each parameter in the config file provides an answer (or a choice) for some of the installer's questions. You don't have to specify every parameter available because many of them have default values.
Here is a list of all possible parameters:
The possible values are:
1 (Apache) 2 (Java Application Server) 3 (Other)
file_owner and service_host can be auto-filled from the previous backup (WSC.bak), but if there is no backup, these parameters won't have default values and installation process will fail if you don't provide these parameters.
Some of the parameters have default values:
rewrite_old_installation = 1 run_license_request = 0 restart_apache = 0 apache_install_mod_fastcgi = 0
Parameters above are optional and if you omit some of them it will use the default value. All three parameters are boolean, so only 0 or 1 is allowed. Anything else will be treated in a boolean context (i.e. 0 is false and anything else is true).
There are three parameters related to Apache web server:
These parameters are auto-detected too. They are used only if you choose Apache as your web server with web_server_type parameter. If you choose Apache and don't provide these two parameters, then the auto-detected values will be used. If no Apache parameters can be auto-detected, then installation will fail.
If you specify a non-existent parameter in the config file, the installation will fail instantly with a message describing possible parameters and their default values, which will display your incorrect parameter name.
But if you provide a wrong value for some existing parameter the installation will fail only when the corresponding step runs. The error description will differ depending on the step.