This guide describes how to install a new Confluence installation on Linux using the automated 'Linux Installer'. You can also install from a 'zip' archive — see Installing Confluence on Linux from Archive File for details.
If you are upgrading Confluence, please see Upgrading Confluence.

(warning) Before you begin installing Confluence, please read the System Requirements page.

コンソールウィザードの使用

Confluence をサーバー上に初めてインストールする場合や、インストール時にオプションを設定する場合は、コンソールウィザードを使用します。

If you have previously installed Confluence using the installation wizard and wish to re-install Confluence again with the same installation options, you can re-install Confluence in 'unattended mode' without any user input required (see below for details).

Confluence 'Linux インストーラー' のダウンロードとインストール

(tick) ルート権限を有するユーザーが Linux インストーラー を実行する場合は、インストーラーは専用アカウントを使用して Confluence を生成し、実行します。 ルート権限がない場合でも Linux インストーラー を実行することは可能ですが、インストール時のオプションは非常に限られたものとなり、また Confluence を実行するための専用アカウントは作成されません。Confluence をサービスとして実行する場合は、ルート権限を有するユーザーが Linux インストーラーを実行する必要があります。

  1. Download the appropriate Confluence 'Linux 64-bit / 32-bit Installer' (.bin) file from the Confluence Download page.
    (info) Please Note:
  2. Open a Linux console and change directory (cd) to the '.bin' file's directory.
    (warning) If the '.bin' file is not executable after downloading it, make it executable, for example:
    chmod a+x atlassian-confluence-X.Y.bin
    (where X.Y represents your version of Confluence)
  3. “.bin” ファイルを実行し、コンソール ウィザードを起動します。
  4. Express Install'、 'Custom Install'、 'Upgrade an existing Confluence installation' の選択画面が表示されますので、Express Install' か 'Custom Install’ を選択します:
      • The 'Destination Directory' in which to install Confluence.
      • The Confluence Home directory (which must be unique for each Confluence installation).
      • Confluence が使用する TCP ポート番号 (即ち、HTTP ポートおよび制御用ポート番号です)。
      • If you are running the installer with 'root' user privileges, you will be prompted to 'Run Confluence as a service' (recommended). You can also do this manually later, as described in Start Confluence Automatically on Linux.
  5. コンソールウィザードがオペレーティングシステム上に Confluence をインストールし、ウィザードが終了後に Confluence が自動的に起動します。

(info) 注意:

ルート権限を有するユーザーがインストーラーを実行した場合は、'confluence' をユーザー名とする専用のLinuxアカウントが作成され、 Confluence の実行に使用されます。このアカウントの書き込み権限は以下に限られます:

ルート権限のないユーザーが Linux インストーラ を実行した場合でもルート権限付きで Confluence を実行することは可能です。ただし、オペレーティングシステムのセキュリティー保護の観点から、これは推奨できません

2. Confluence の起動

If Confluence is not already started, you can start Confluence using the appropriate command at the Linux console.

Once Confluence is started, you can access Confluence from a browser on any computer with network access to your Confluence server.

2.1 手動での Confluence の起動と終了

In the Linux console, enter the bin subdirectory of your Confluence installation directory and execute the appropriate file:

Confluence will be ready to access (from a browser window) when the following message appears in the application's log file:

*******************************************************
 ... You can now access Confluence through your web browser.
*******************************************************

2.2 ブラウザーからの Confluence へのアクセス

You can access Confluence from any computer with network access to your Confluence server by opening a supported web browser on the computer and visiting this URL:

ここで:

(info) If Confluence does not appear, you may need to change the port that Confluence runs on.

Note: Application server logs (i.e. for Apache Tomcat) will be written to logs/catalina.out.

3. セットアップ ウィザードの実行

See the Confluence Setup Guide.

4. 次のステップ

無人インストールの実行

If you have previously installed Confluence using the console wizard (above), you can use a configuration file from this Confluence installation (called response.varfile) to re-install Confluence in 'unattended mode' without any user input required.

無人モードでの Confluence のインストールは、過去にテスト目的で Confluence をインストールし、それと同じ設定で複数のサーバーに Confluence をインストールする場合などにおいて、時間の節約になります。

(warning) 注意:

Confluence 'Linux インストーラー' のダウンロードと無人モードでの実行

  1. Download the Confluence 'Linux Installer' (.bin) file from the Confluence Download Center to a suitable location.
  2. Linux コンソールを起動します。
  3. Copy (cp) the file .install4j/response.varfile located in your previous Confluence installation directory, to the same location as the downloaded 'Linux Installer' file.
    (info) You can uninstall your previous Confluence installation after this step. Save your response.varfile if you need to install Confluence on multiple machines.
  4. Change directory (cd) to the location of the 'Linux Installer' file and execute the following command:

    atlassian-confluence-X.Y.bin -q -varfile response.varfile
    

    ここで:

  5. Confluence will start automatically when the silent installation finishes. Continue from the step above, Starting Confluence.