Linux 上で Confluence をインストール

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

This guide describes how to install a new Confluence installation on Linux using the installer. You can also install manually from a zip archive - see Installing Confluence on Linux from Archive File for details.

 If you are upgrading Confluence, please see Upgrading Confluence.

作業を開始する前に

Ensure that your system meets the minimum requirements to run Confluence. See System RequirementsSupported Platforms and be sure to check the Database Configuration documentation for any specific requirements related to your chosen database.

On this page:

(warning) Note: It is possible that any anti-virus or other Internet security tools installed on your Linux operating system may interfere with the Confluence installation process and prevent the process from completing successfully. If you experience or anticipate experiencing such an issue with your anti-virus/Internet security tool, disable this tool first before proceeding with the Confluence installation.

また、 Linux OutOfMemory Killer を無効化するべきかどうかも検討してください (OOM Killer も参照) 。これは、サーバー上にメモリーが新たに確保できなくなったときにプロセスを強制終了させる Linux の機能であり、Confluence もその対象となることがあります。

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

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.
    (info) Please Note:
    The difference between the 64-bit / 32-bit .bin installers relates to their bundled Java platforms that run Confluence. Bear in mind that a Confluence installation installed using the 64-bit installer may require additional memory (to run at a similar level of performance) to a Confluence installation installed using the 32-bit installer. 
  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 — このオプションを選択した場合、以下のオプションを設定するためにガイドが表示されます (ガイドはコンソールウィザードのステップごとに表示され、あらかじめ標準設定値が入力されています):
      • 「Destination Directory」 ( 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:

  • 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 へのアクセス

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:

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

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

  • 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.
  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 will start automatically when the silent installation finishes. Continue from the step above, Starting Confluence.
最終更新日: 2016 年 2 月 24 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.