このガイドでは、'Linux インストーラー' を使用して Linux 上で Confluence を新規にインストールする手順を説明します。なお、ZIP アーカイブからのインストールも可能です — 詳細は Linux でアーカイブファイルからのインストールをご覧ください。Confluence のアップグレードを行う場合は、Confluence アップグレードをご覧ください。

(warning) 注意:

  • Linux オペレーティングシステムにウィルス対策ツールやインターネットセキュリティーツールがインストールされていると、それらが Confluence インストールの障害となってインストールが完了しない場合があります。お使いのウィルス対策ツールやインターネットセキュリティーツールが過去にそのような問題を起こしたことがある場合やそのような懸念がある場合は、Confluence のインストールに進む前にこれらのツールを無効化してください。
  • Confluence のインストールを開始する前に、システム要件のページをご覧ください。

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

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

このインストール ウィザードを使用してすでに Confluence をインストール済みで、同じ設定で Confluence を再インストールしたい場合、ユーザー入力を必要としない『無人モード』で Confluence を再インストールできます。( 詳細については、後述する 無人インストールの実行 を参照してください)。

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:
    • 32-bit 版インストーラーをダウンロードする場合は、Confluence ダウンロードページの 'Show all' リンクをクリックしてすべてのインストールパッケージを表示する必要があります。
    • 64-bit 版と 32-bit 版の '.bin' インストーラーでは、Confluence を実行するためにバンドルされている Java プラットフォームが異なります。64bit 版インストーラーを使用してインストールした場合、32bit 版インストーラーを使用した場合と比較して、同等のパフォーマンスを実現するために多くのメモリーを必要とすることに注意してください。これは、64- bit 版 Java プラットフォームのオブジェクト・リファレンスが 32-bit 版の 2 倍のサイズを有することが理由です。これは、64- bit 版 Java プラットフォームのオブジェクト・リファレンスが 32-bit 版の 2 倍のサイズを有することが理由です。
  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’ を選択します:
    • Express Install — If you choose this option, Confluence will be installed with default settings which are shown in the next step of the console wizard.
      (info) Please Note:
      • ルート権限を有するユーザーがインストーラーを実行した場合は、Confluence はサービスとしてインストールされます。
      • 画面に表示された標準設定条件を変更する場合は:
        1. e” を入力して、コンソール ウィザードを終了します。
        2. コンソール ウィザードを再実行します (上記のステップ3)。
        3. Custom Install” オプションを選択します。
    • Custom Install — このオプションを選択した場合、以下のオプションを設定するためにガイドが表示されます (ガイドはコンソールウィザードのステップごとに表示され、あらかじめ標準設定値が入力されています):
  5. コンソールウィザードがオペレーティングシステム上に Confluence をインストールし、ウィザードが終了後に Confluence が自動的に起動します。

(info) 注意:

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

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

2. Confluence の起動

Confluence が実行されていない場合は、Linux コンソールから必要なコマンドラインオプション (command) を指定して起動することができます。

Confluence の起動後は、Confluence サーバーへのネットワークアクセスが可能なコンピューター上のブラウザーから Confluence にアクセスします。

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

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

  • start-confluence.sh (to start Confluence)
  • stop-confluence.sh (to stop Confluence)

アプリケーションのログファイルに次のメッセージが表示されると、ブラウザーから Confluence にアクセスできるようになります:

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

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

Confluence サーバーへのネットワークアクセスが可能なコンピューター上で、サポートされているウェブブラウザーを使用して次の URL を開くことにより、Confluence にアクセスすることができます:

  • http://<computer_name_or_IP_address>:<HTTP_port_number>

ここで:

  • <computer_name_or_IP_address> is the name or IP address of the computer on which Confluence is installed and
  • <HTTP_port_number> is the HTTP port number specified when you installed Confluence (above).

(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. セットアップ ウィザードの実行

Confluence セットアップガイドをご覧ください。

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) 注意:

  • The response.varfile file contains the options specified during the installation wizard steps of your previous Confluence installation. Hence, do not uninstall your previous Confluence installation just yet.
  • If you intend to modify the response.varfile file, please ensure all directory paths specified are absolute, for example, sys.installationDir=/opt/atlassian/confluence
    Unattended installations will fail if any relative directory paths have been specified in this file.

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
    

    ここで:

    • X.Y — refers to the version of Confluence you are about to install.
    • -q — instructs the installer to operate in unattended mode (i.e. 'quietly').
    • -varfile response.varfile — specifies the configuration file containing the configuration options used by the installer. The location and name of the configuration file should be specified after the -varfileoption.

  5. 無人インストールが完了すると Confluence は自動的に起動します。上記の Confluence の起動に戻って操作を続けてください。.
  • ラベルなし