ここでは以下について説明します:

  • The Standalone distribution of Confluence. The Standalone distribution includes Apache Tomcat as the standalone application server. If you want to install an EAR/WAR distribution for deployment on your own existing application server, please refer to the Confluence Installation Guide.
  • Windowsシステム。その他の OS については、Confluence インストールガイドを参照してください。
  • Installation via a zipped download file. For a simpler installation procedure for evaluation, please consider using the Confluence Evaluation Installer instead.

また、インストールする Confluence のバージョンもご確認ください。ドキュメント ホームページを参照し、最新の Confluence バージョンを確認し、旧バージョン用ドキュメントを検索してください。

On this page:

1. はじめる前に

以下の点を確認してください:

  1. ご利用のシステムが Confluence を実行するための システム最小要件を満たしているか確認してください。詳細については サポート対象のプラットフォームに関するトピックを参照してください。 さらに詳しい情報はシステム要件に関するトピックを参照してください。
  2. Have your Confluence license key ready. You can obtain a trial, free or commercial license now, or retrieve your existing license key.

2. Install a Java Development Kit (JDK)

Please refer to the Installing Sun JDK for Confluence topic for details on installing a JDK for Confluence. If you are certain that this has already been installed and that the JAVA_HOME environment variable has been correctly configured, then proceed to the next step.

3. Confluence インストール ファイルをダウンロード

  1. If you have not downloaded Confluence already, download the Standalone zip file.
  2. Please check your unzip program before extracting the downloaded zip file. Some archive-extract programs cause errors when unzipping the Confluence zip file. You should use a third-party unzip program like 7Zip or Winzip. If you do not have one, please download and install one before continuing:
    • 7Zip — Recommended. If in doubt, download the '32-bit.exe' version
    • Winzip
  3. Use your unzip program to unzip the installation file to a directory such as c:\confluence.
    • ディレクトリパスのスペースは使用しないでください。

(info) The directory into which you unzipped the Confluence installation is called the Confluence Installation directory. Next you will define the Confluence Home directory.

4. Confluence ホームディレクトリを定義します。

Now you need to define the Confluence Home directory. This is where Confluence will store its configuration information, indexes and attachments.
(tick) Tip: Another term for 'Home directory' would be 'data directory'.

We suggest using different paths for your installation and home directories. This will facilitate upgrades.

インストール ディレクトリとホーム ディレクトリの例:

Installation directory: c:\confluence\confluence-2.7.0-std
Home directory: c:\confluence\data

  1. Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
  2. Under the Installation directory, find this file: \confluence\WEB-INF\classes\confluence-init.properties
  3. Open the confluence-init.properties file in a text editor such as Notepad.
  4. このラインまでスクロールします:
    # confluence.home=c:/confluence/data
    

  5. Remove the '#' and the space at the beginning of this line, so that Confluence no longer regards the line as a comment. The line should now begin with confluence.home
  6. Confluence ホームディレクトリをデフォルトから変更する場合は、以下の点に注意してください:
    • ディレクトリまたはファイル名のスペースを使用しない。
    • Use forward slashes '/' to define the path.
      For example:
      confluence.home=c:/data/confluence-home
      

5. ポートの確認

If you have another application running on your machine which is using the same ports that Confluence uses by default, you may need to change the port which Confluence will use. For example, if you have a Standalone installation of JIRA running on this machine, JIRA might be already using the port which Confluence requests by default.

デフォルトでは、Confluence はポート『8080』をリッスンします。もしこのポートがインストールディレクトリですでに使用されている場合は、以下の説明にしたがってポートを変更してください:

  • To change the ports for Confluence Standalone, open the file conf/server.xml under your Confluence Installation directory. The first four lines of the file look like this:

    デフォルトの conf/server.xml
    <Server port="8000" shutdown="SHUTDOWN" debug="0">
    <Service name="Tomcat-Standalone">
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false"/>
    ...
    

    You need to modify both the server port (default is 8000) and the connector port (default is 8080) to ports that are free on your machine.
    (tick) Hint: You can use netstat to identify free ports on your machine. See more information on using netstat on Windows or on Linux.

    たとえば、これは、ポート "8015" と "8090" を使用して修正した server.xml ファイルの始めの 4 行です。

    ポート 8015 と 8090 を使用して修正した conf/server.xml
    <Server port="8015" shutdown="SHUTDOWN" debug="0">
    <Service name="Tomcat-Standalone">
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false"/>
    ...
    

    To access Confluence in this configuration, point your web browser to http://localhost:8090/.

もっと詳しい情報はこちらから参照してください。

6. データベースの選定

このステップは、Confluence を評価する際はオプションとなります。Confluence を本番環境として使用するためにインストールする場合は必須となります。外部データベースの選定についてヘルプが必要な場合は、システム要件トピックにリスト表示されているデータベース要件を参照してください。

(info) External databases are those listed on our Supported Platforms topic, excluding HSQLDB, which is bundled with Confluence and should not be used in production.

When you have chosen your external database, follow the database setup guide for setting up your database to work with Confluence.

既存インストールからの移行または評価用データベースの使用に関する詳細情報については、ここから参照してください。Confluence セットアップウィザードの使用中もデータベース設定ガイドを引き続きご利用になれます。 (下記のステップ 8 をご覧ください。)

7. Confluence の起動

  1. Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
  2. Under your Confluence Installation directory, open the bin directory and run the startup script: startup.bat. A command prompt window should appear.
    (warning) Please do not close this command prompt window. If you do so, Confluence will stop running.

    トラブルシューティング

    スタートしてすぐにウィンドウが閉じてしまうと、このエラーにより Confluence の起動が妨げられます。このエラーを見るには:

    1. Open a command prompt: Click on your 'Start' menu, then click 'Run'. In the Run box, type cmd and click 'OK'.
    2. コマンドプロンプトから Confluence インストール ディレクトリに移動します。
    3. Go into the bin subdirectory.
    4. Run catalina.bat run.
      (warning) You should not run startup.bat at this point, because that would still produce a popup window that would close straight away.
    5. エラーメッセージを確認します。
    6. Find the solution to that error in the Installation FAQ.
  3. Once Confluence is running, open a web browser and visit http://localhost:8080/.
    (tick) If you changed the port earlier, use the port you specified in step 5 above.
    (info) If your web browser window shows an error, try waiting for 30 seconds or so and then refresh the browser page.

8.次のステップ Confluence セットアップ ウィザード

Confluence セットアップウィザードが web ブラウザに表示されたら、ライセンスキーを入力します。 画面に表示される指示にしたがってください。Confluence セットアップウィザードでさらに詳しいガイドラインを参照できます。

If the web browser shows an error instead of the Setup Wizard, check the Installation FAQ.

9.Confluence をサービスとして Windows 上で自動的に開始

Confluence をサービスとして実行します

関連トピック

Change listen port for Confluence Standalone
Adding SSL for Secure Logins and Page Security
Confluence Setup Guide
Confluence Configuration Guide
Confluence Documentation Home

  • ラベルなし