> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ソフトウェア保護

> Linux で非 root ユーザーとして自動モードを使用し、ソフトウェア保護と Developer License のシリアル番号で、開発用に ABBYY FineReader Engine をインストールします。

ソフトウェア保護では、ライセンスのアクティブ化プロセス中に ABBYY サーバーから取得するアクティベーションファイルを使用します。

<Accordion title="スタンドアロン ライセンス">
  このシナリオでは、お使いのコンピューターで ABBYY FineReader Engine ライブラリを使用するアプリケーションを開発します。インストールは、ユーザー操作なしでコマンドラインから実行されます。

  必要なもの:

  * Developer License のシリアル番号。

  * Customer Project ID。

  以下の手順に従ってください。

  1. %archive\_name%.sh を非 root ユーザーとして実行します。
  2. コマンドラインで次のパラメーターを指定します。
     * ABBYY FineReader Engine ライブラリのインストール先フォルダーのパス。
     * Customer Project ID。
     * ライセンスデータを保存するフォルダーのパス (`/tmp` ディレクトリを除く、`/home` ディレクトリ内の任意のフォルダーを指定できます) 。
     * 開発者向けインストールのパラメーター。
     * ライセンスのシリアル番号。

  コマンドラインの例:

  ```
  %archive_name%.sh -- --install-dir "<folder path>" 
  --project-id "<Customer Project ID>" --licenses-folder "<folder path>" --developer-install
  --skip-local-license-activation
  run "<FRE_installation_directory>/Bin/ServiceWrapper
  <FRE_installation_directory>/CommonBin/Licensing/start_licensing_service.sh"
  run "LD_LIBRARY_PATH=<FRE_installation_directory>/CommonBin/Licensing <FRE_installation_directory>/CommonBin/Licensing/LicensingService /standalone"
  ```

  3. インストールが完了するまで待ちます。

  <Warning>
    ABBYY FineReader Engine のインストール後、ライセンスデータの保存先フォルダーは LicensingSettings.xml で変更できます。例については、[Working with the LicensingSettings.xml File](/ja/fine-reader/engine/licensing/working-with-the-licensingsettingsxml-file) の記事を参照してください。
  </Warning>

  3. 次のコマンドで Licensing Service を起動します。

  デーモンとして

  またはアプリケーションとして

  3. activatefre.sh スクリプトを使用してライセンスをアクティブ化します。activatefre.sh は、ABBYY FineReader Engine のインストール時と同じ権限で実行する必要があります。
  4. [License Manager ユーティリティ](/ja/fine-reader/engine/licensing/license-manager-utility) でライセンスがアクティブ化されていることを確認します。
</Accordion>

<Accordion title="ネットワークライセンス">
  このシナリオでは、ネットワーク経由でライセンスサーバーに接続されたワークステーションで ABBYY FineReader Engine ライブラリを使用するアプリケーションを開発します。インストールは、ユーザー操作なしでコマンドラインから実行されます。

  必要なもの:

  * Developer License のシリアル番号。

  * Customer Project ID。

  * ライセンスサーバーの DNS 名または IP アドレス。

  以下の手順に従ってください。

  1. [Installing the Licensing Service](/ja/fine-reader/engine/distribution/distribution-linux/activating-the-library-linux/installing-the-licensing-service-on-linux) に記載されているとおりに、ライセンスサーバーに Licensing Service をインストールします。

  ABBYY FineReader Engine と Licensing Service は、同じパッケージのものを使用してください。そうしないと、互換性は保証されません。

  2. [License Manager ユーティリティ](/ja/fine-reader/engine/licensing/license-manager-utility) でライセンスサーバー上のライセンスをアクティブ化します。

  Activate License オプションを選択し、ウィザードの指示に従ってライセンスをアクティブ化します。サーバーがインターネットにアクセスできる場合は、シリアル番号を入力してしばらく待つだけです。

  ABBYY FineReader Engine と Licensing Service は、同じパッケージのものを使用してください。そうしないと、互換性は保証されません。

  3. ワークステーションにライブラリをインストールします。

  4. %archive\_name%.sh を非 root ユーザーとして実行します。

  5. コマンドラインで次のパラメーターを指定します。
     * ABBYY FineReader Engine ライブラリのインストール先フォルダーのパス。
     * Licensing Service がインストールされているライセンスサーバーの IP アドレス。
     * Customer Project ID。
     * ライセンスデータを保存するフォルダーのパス (`/tmp` ディレクトリを除く、`/home` ディレクトリ内の任意のフォルダーを指定できます) 。
     * 開発者向けインストールのパラメーター。

  コマンドラインの例:

  ```
  %archive_name%.sh -- --install-dir "<folder path>" 
  --service-address "<address>" --licenses-folder "<folder path>" --project-id "<Customer Project ID>" --developer-install
  ```

  4. インストールが完了するまで待ちます。

  <Warning>
    ABBYY FineReader Engine のインストール後、ライセンスデータの保存先フォルダーは LicensingSettings.xml で変更できます。例については、[Working with the LicensingSettings.xml File](/ja/fine-reader/engine/licensing/working-with-the-licensingsettingsxml-file) の記事を参照してください。
  </Warning>

  4. [License Manager ユーティリティ](/ja/fine-reader/engine/licensing/license-manager-utility) でライセンスがアクティブ化されていることを確認します。
</Accordion>
