Windows で Zip ファイルから Confluence をダウンロード

このページの内容

お困りですか?

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

コミュニティに質問

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

  • アーカイブ (zip) ファイルとして配布(ディストリビュート)された Confluence。このディストリビューションにはアプリケーションサーバーとして Apache Tomcat が含まれています。 
  • Windows systems. For other operating systems please refer to the Confluence Installation Guide.
  • Manual installation and configuration using a zipped download file. For a simpler installation process, please use the  Confluence Installer instead.

インストールする Confluence のバージョンがここで説明しているバージョンと一致しているか確認してください。

On this page:

1. はじめる前に

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

  1. Ensure that your system meets the minimum requirements to run Confluence. For more information, please refer to our Supported Platforms topic and for further details, our System Requirements topic.
  2. Have your Confluence license key ready. You can obtain a trial, free or commercial license, or retrieve your existing license key at my.atlassian.com.

2. Java をインストール

Please refer to Installing Java 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. Confluence のダウンロードが完了していない場合、zip ファイルをダウンロードしてください。
  2. ダウンロードした zip ファイルを抽出する前に、ご利用の解凍プログラムを確認してください。7 Zip や Winzip など他社製の解凍プログラムを使用してください。お持ち出ない場合は解凍プログラムをダウンロードし、インストールしてから作業を進めるようにしてください。
    • 7Zip(推奨)。確定が持てない場合は『32-bit.exe』バージョンをダウンロードしてください。
    • Winzip
  3. Use your unzip program to unzip the installation file to a directory such as c:\confluence.
    • ディレクトリパスのスペースは使用しないでください。

(info) 解凍した Confluence インストールファイルの保存先となるディレクトリを Confluence インストール ディレクトリと呼びます。次に、Confluence ホームディレクトリを定義します。

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'.

インストール ディレクトリとホーム ディレクトリには別々のパスを使用することをお勧めします。アップグレードが容易になります。

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

Installation directory: c:\confluence\confluence-vX.X
Home directory: c:\confluence\data

  1. Open your Confluence Installation directory (created when you unzipped Confluence — see above).
  2. Under the Installation directory, open this file: confluence\WEB-INF\classes\confluence-init.properties in a text editor such as Notepad.
  3. この行までテキストをスクロールします:

    # confluence.home=c:/confluence/data
    
  4. 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
  5. Confluence ホームディレクトリをデフォルトから変更する場合は、以下の点に注意してください:
    • ディレクトリまたはファイル名のスペースを使用しない。
    • パスを定義する際は『/』(フォワードスラッシュ)を使用する。

例:

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 JIRA application running on this machine, JIRA might be already using the port which Confluence requests by default.

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

  • To change the ports for Confluence, 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="8090" minProcessors="5" maxProcessors="75"
                enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false"/>
            ...
    

    server ポート (既定: 8000) と connector ポート (既定: 8090) の両方を、マシンで会いているポートに修正する必要があります。サーバー ポートは Tomcat で必須ですが、ユーザーが使用することはありません。ユーザーはコネクタ ポートを使用して Confluence にアクセスします。例えば、上記のスニペットの場合、URL は サーバー ポートは Tomcat で必須ですが、ユーザーが使用することはありません。ユーザーは connector ポートを使用して Confluence にアクセスします。例えば、上記のスニペットの場合、URL は http://example.com:8090 になります。


    (tick) ヒント: netstat を使用して、空いているポートを特定できます。Windows または Linux で netstat を使用するための詳細情報をご確認ください。

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

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

    この設定で Confluence にアクセスするには、Web ブラウザで http://localhost:8099/ を指定します。

    最終的な構成

    • この URL が、ユーザーが Confluence にアクセスするために使用するものである場合、 ベース URL を更新して新しい URL を示すようにします。

    • ファイアウォールを使用している場合、この時点で、http/https トラフィックが選択したポートで許可されるかどうかを確認します。 

You will find more information on this page.

6. データベースの選定

This step is optional for users evaluating Confluence. However, if you are installing Confluence for production purposes, this step is mandatory. Please refer to the database requirements listed on our System Requirements topic for help in choosing an external database.

(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 the appropriate database setup guide to set up your database to work with Confluence.

You can learn more about migration from an existing installation or use of the evaluation database here. You will continue to use the database setup guide during the Confluence Setup Wizard. (See step 8 below.)

7. Confluence の起動

  1. Go to your Confluence Installation directory (created when you unzipped Confluence — see above).
  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 Troubleshooting section of the Confluence Knowledge Base.
  3. Once Confluence is running, open a web browser and visit http://localhost:8090/.
    (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 セットアップ ウィザード

The Confluence Setup Wizard should appear in your web browser, prompting you to enter your license key. Follow the instructions on the screens, and read more guidelines on the Confluence Setup Wizard.

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

Confluence should be run as a service.

最終更新日: 2015 年 12 月 2 日

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

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