Install on Linux with NGINX
This step-by-step guide outlines the main steps for the WebSpellChecker application installation on a Linux-based server with NGINX web server. In this guide we will run you through the whole installation process from downloading installation packages to embedding spell/grammar checking functionality into your web-based system.
Before you begin:
Check if your environment configuration meets Installation requirements.
Acknowledge with Architecture diagram.
Make sure that you have a valid license:
First of all you need to get a valid License Ticket ID to proceed with the license activation. Depending on the server license type, it may be a commercial (e.g. 1 year) or a 30-day trial license. Except for the validity period, there is no difference between ticket types from the technical perspective.
Good to know:
If you do not have a license yet, you can obtain it using one of the following ways:
request a 30-day trial license for evaluation and testing purposes;
acquire a commercial license by contacting our sales department.
Starting from v5.8.1 released on December 30, 2020, the license is no longer validated by or tied to the hardware characteristics of a machine or server. License for older versions of the packages is hardware-dependent.
If you have problems with your license, contact us.
1. Download installation package
Download the WebSpellChecker Server installation package for the corresponding version of your operating system (OS). By default, it is provided on a license purchase or renewal. You can also request it by contacting us.
wget https://files.webspellchecker.com/6.x.x.x/xxxxxxxxxxxxxxxxx/wsc_app_x64_6.x.x.x_xx.tar.gzIf you are running the installation without root privileges, make sure all necessary directories have write permissions for the correct installation process.
Should you run WebSpellChecker software on the OS with an ARM architecture, kindly inform our team. This will enable us to furnish you with the suitable installation package, available from version 5.31.0.0 onward.
2. Install WebSpellChecker
2.1. Unpack the WebSpellChecker Server installation package (e.g. wsc_app_x64_6.x.x.x_xx.tar.gz).
2.2. Switch to the directory with the unpacked installation package using cd ./WSC_6.x.x.x/ and execute automated_install.pl script.
2.3. Before proceeding with installation, read and confirm the terms and conditions of WebSpellChecker Software License Agreement.
2.4. Seleсt installation path. The default installation path is /opt/WebSpellChecker. However, you may decide to change it and set a desired one. As soon as you define the installation path, press Enter to proceed.
2.5. Select the products you want to install. By default, WProofreader add-on for RTEs and HTML controls (Option 1) is selected.
2.6. Confirm whether you want Demo Samples and Documentation to be installed. If so, press Enter to proceed.
2.7. During this step, the installer copies files to the selected installation directory.
2.8. Define permissions. Set appropriate permissions for the application. Define the files' ownership, a user and group in the user:group format (e.g. 33:33).
2.9. Select languages to be downloaded and installed. Here you can find the list of supported languages with their shortcodes.
An internet connection is required to download language models started by the WebSpellChecker version 5.30.0.0.
If you choose the shortcode that is not appropriate you will receive one of the two messages:
1) Error. The language ID 'xx_XX' is not recognized.→ In case you used incorrect shortcode. So you will need recheck the list of the specified shortcodes and fix the mistake.
2) Warning. The language ID 'xx_XX' has been skipped and won't be installed. → For all AI-based languages that you can chose on the next step.
On the next step you can install AI-based languages for the appropriate languages that were chosen in step 2.9. For example, if you want to install all the available AI-based languages you have to chose English, German and Spanish languages in the step 2.9. For example: en_US, en_GB, de_DE, es_ES. Otherwise you will see the comment [Not available in the selected configuration] opposite the proposed AI-based model in the step 2.10 and will have to restart installation from scratch to choose the language on step 2.9.
2.10. Select AI-based languages to be downloaded and installed. By default, English language model [1] and English autocomplete model [2] will be installed. It enables improved proofreading capabilities compared to traditional dictionaries or rules-based engines. If selected, the installer will attempt to download a language model that is required for an AI-based language to work. If you don't have the Internet connection on the server where the installation takes place, or enough space for them at the moment, you can do it manually later. For details, check Download and enable AI language models manually.
2.11. Select the type of protocol (HTTP or HTTPS) that will be used for communication between the client and the WebSpellChecker service. By default, HTTPS [1] is selected. Press Enter to confirm the selection.
2.12. When selecting your web server, choose NGINX [2] to run static files using NGINX.
2.13. Define the settings of the selected web server or Java application server.
Specify a domain name. The default value is locahost. Either enter your domain name or confirm the default value by pressing Enter.
Specify the port number of a web server. The installer will suggest the port number based on the specified protocol and selected web server.
Provide the name of the virtual directory for WebSpellChecker service. The default value is wscservice.
On this step the installer summarizes the information that you have entered on the previous steps.
2.14. Accept or adjust NGINX parameters that are autodetected
2.15. Restart NGINX
3. Configure grammar engine
The Grammar engine requires Java 17 and higher. The installation script will try to auto-detect a path to an existing Java Virtual Machine (JVM) and record the path in the AppServerX.xml configuration files. If the path is not detected, the script will ask you to specify the correct path to JVM again.
You have an option to skip this step during the setup and set a path to JVM manually. Refer to Enabling grammar engine guide to find out more.
4. Create systemd service
On this step you can select to automatically create a systemd service for the application. Learn more: Systemd service on Linux
5. Activate License
On this step you need to choose whether to run the license activation process. You can skip the license activation step if you already have a license activated or you prefer to proceed with the license activation step later. If you want to go ahead with the license activation, press Enter and then proceed with the steps described in the license activation guide below.
Installer will offer to apply your current license if any or specify a new one.
The internet connection is needed for the automatic license activation, otherwise please follow the manual license activation steps.
Upon successful license activation, the installer script will start AppServer.
Visit the License activation on Linux guide for more details on how to activate a license on a Linux server.
6. Finalize installation
If no errors happened during the setup, and everything is configured properly, you will receive a confirmation that the application has been installed.
7. Verify operability
Now you are ready to check if the installation process of the application went well, and all the components are functioning properly.
Find the correct responses for the application version and status below.
WebSpellChecker Server Status
Here is a correct status response for Spell Check, Grammar and all installed AI-based engines of WebSpellChecker Server:
WebSpellChecker Server Version
Here is a correct version response for WebSpellChecker Server 6.x.x.x on a Linux server:
WebSpellChecker Demo Samples
Here is the correct view of the WebSpellChecker demo samples:

8. Further steps
As soon as backend components are up-and-running, you need to integrate WebSpellChecker frontend components (plugins, JavaScript libraries) into your web application.
Option A. Integration guides
Visit Products and integrations guides to learn more about how to get started with WebSpellChecker products, one of them being WProofreader.
WProofreader
WProofreader is a multilingual proofreading tool for web applications. It enables grammar and spell check while you type or work with your text in a dedicated dialog. It detects editable fields in focus, be it HTML editable controls or WYSIWYG editors, and enables spelling and grammar checking there. View the full list of supported integrations.
WProofreader benefits:
Available as a standalone secure solution on your server or as an annual subscription to the service hosted by WebSpellChecker.
Out of the box offer provides spell check for 150 languages and basic grammar check for over 20 languages. Find out more in Supported languages.
All modern web browsers are supported, including the latest stable versions of Chrome, Firefox, Safari, MS Edge, and Internet Explorer 11, and mobile web browsers such as Chrome for Android and iOS Safari;
Company custom dictionary managed by system admins and intended for all WProofreader users;
User custom dictionaries for end-users;
WAI-compliant, up to WCAG 2.1 and Section 508 accessibility standards;
Operation and installation via HTTPS protocol is supported to fulfill strict security requirements.
With the cloud-based version of WProofreader you can access and use its features without server-side installation. In the server-based version, all the application data is securely processed on your own server. Refer to the Get started with WProofreader Server (autoSearch) guide for more details.
WProofreader allows users to see and correct spelling and grammar problems on the fly while they are typing directly in the text input field. Every misspelled word found will be underlined with a red wavy line and every grammar problem detected will be marked with a green one. The user just needs to hover a marked word or phrase and replace it with a proper one from the list of given corrections.
Option B. Demo samples
Depending on the type of elements, namely HTML native elements or rich text editors where the spelling and grammar check is needed, you may choose and use the demo samples that are shipped with the package.
To access the default samples, go to http(s)://your_host_name/wscservice/samples/ where port is the port of your web server or Java application server. The default samples contain all the necessary samples and instructions that will help with the integration of the WebSpellChecker products. Moreover, each sample contains detailed development documentation with a list of methods and parameters available.
Last updated
Was this helpful?