# Unity Licensing Server の設定

> Follow these procedures for a comprehensive guide to set up your Unity Licensing Server.

Unity Licensing Server を設定するための包括的なガイドとして以下の手順に従います。最小設定が必要な単純な設定の場合は、[クイッスタート設定](./quick-start-web.md) を使用することもできます。

サーバーバージョンをアップグレードする必要がある場合は、[サーバーの新バージョンへの移行](./migrating.md) を参照してください。

設定など Unity Licensing Server のすべての操作では、以下のコマンドラインインターフェース (CLI) 実行ファイルと、さまざまなコマンドパラメーター (後で説明) を使用します。

* **Linux**: `./Unity.Licensing.Server`
* **Windows:** `.\Unity.Licensing.Server.exe`

このガイドでは、実行ファイルのコマンドのパラメーターについて詳しく説明します。`Unity.Licensing.Server` 実行ファイルの後に `--help` を入力して各コマンドの完全な構文を表示することもできます。

* **Linux**: `./Unity.Licensing.Server --help`
* **Windows:** `.\Unity.Licensing.Server.exe --help`

> **Important:**
>
> The ライセンスサーバーによって作成される設定ファイルは、サーバーを設定するユーザーのホームディレクトリに格納されます。ライセンスサーバーの設定と実行には、*サービスアカウント* と呼ばれる専用の管理アカウントを使用してください。アカウントがアクセス不可になった場合、ライセンスサーバーを再設定できなくなるため個人用のユーザーアカウントは使用しないでください。

> **Note:**
>
> For a vide この設定のビデオチュートリアルについては、Unity Learn コース [Unity Floating License Server Fundamentals](https://learn.unity.com/course/unity-floating-license-server-fundamentals) を参照してください。

## 概要

Unity Licensing Server を設定するには、以下のタスクを実行します。

1. 専用サーバーに [サーバー設定ファイルをダウンロードして解凍](./server-setup-dl.md) します。
2. [**setup** コマンドを実行](./server-setup-cfg.md) して、ライセンスサーバー設定パラメーターを `licensing-server-config.json` ファイルに格納し、`server-registration-request.xml` ファイルを生成します。`server-registration-request.xml` ファイルを Unity ID ポータルページにアップロードします。
3. [Unity ID ポータルからライセンスアーカイブをダウンロードし、**import** コマンドを実行します](./server-setup-lic.md)。
4. [ライセンスサーバをテストします](./server-setup-test.md)。
5. (推奨) [**create-service** コマンドを実行](./server-setup-svc.md) し、ライセンスサーバーを自動的に起動するサービスを作成します。
6. [サーバー設定のバックアップを作成します](./server-setup-bkup.md)。

ライセンスサーバーを設定した後で問題が発生したら、[generate-report コマンドを実行](./troubleshooting.md#generating-a-licensing-server-report) してください。トラブルシューティングに必要なデータが収集されてアーカイブされます。

## その他のリソース

* [Unity Floating Licensing サーバーのトラブルシューティング](./troubleshooting.md)
* [Unity Floating License Server Fundamentals](https://learn.unity.com/course/unity-floating-license-server-fundamentals) (Unity Learn コース)
