Confluence 5.8 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
ここでは以下について説明します:
- アーカイブ (tar.gz) ファイルとして配布(ディストリビュート)された Confluence
- Linux または Solaris システム。異なるシステムで Confluence のインストールを行う場合は、Confluence インストールをご参照ください。
ヒント:Confluence を Solaris または OSX で評価する場合は、このバージョンをインストールする必要があります。
On this page:
1. 始める前に
以下の点を確認してください:
- ご利用のシステムが Confluence を実行するための システム最小要件を満たしているか確認してください。詳細情報については、システム要件をご覧ください。
- 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.
- コマンドプロンプトを使用して継続し、Java をインストールする必要があります。
- ZIP アプリケーションは Gnu バージョンをご利用ください - Solaris および AIX では Gnu バージョンではなく旧バージョンを使用しているため、ZIP で問題が発生すると報告されています。
2. Java をインストール
Please refer to the Supported Platforms for the required version of Java. (OpenJDK is currently not supported)
Java が正しくインストールされているか分からない場合、次の操作を行って確認してください:
- シェル コンソールを開く。
- Type
echo $JAVA_HOMEin the shell console and then press Enter - 結果を確認します:
- If a line is displayed such as
/opt/jdk1.8.0_45or/usr/lib/jvm/java-8-sun, then Java is installed and properly configured. - If nothing is displayed, then you either need to install Java or set the
$JAVA_HOMEenvironment variable. You can set this environment variable in your user account's 'profile' file. Alternatively, you can set this after installing Confluence (in step 4 below) by defining this path in your Confluence installation'ssetenv.shfile, usually located in the Confluencebindirectory.
- If a line is displayed such as
Java のインストールが必要な場合は、次の説明にしたがってください:
- Go to the Java download page and download the latest JRE or JDK that is listed on the Confluence Supported Platforms page. (Confluence works with either the JDK or the JRE.)
- When the download has finished, run the Java installer. Detailed installation instructions are provided on Oracle's website.
Note: you will be asked to choose an installation directory. Make a note of this directory, you'l' need it later.
3. Confluence インストール ファイルをダウンロードおよび抽出
If you have not downloaded Confluence already, download the TAR.GZ file.
Use your unzip program to unzip the installation file to a directory such as /home/jsmith/confluence-2.7.0-std/.
Most Linux/Solaris users can use any unzip program (such as GNU Tar) to extract the Confluence installer. However, Solaris users should not use the Solaris Tar program due to a known issue associated with its use in extracting Confluence. Use another application such as GNU Tar instead.
例えば、Linux でディレクトリをホームディレクトリに変更し、シェルコンソールで以下のコマンドを入力します:
gunzip confluence-<version>-std.tar.gztar -xf confluence-<version>-std.tar
(where<version>refers to the Confluence version you downloaded.)
Linux/Solaris ベースの OS では、通常、ご利用のディレクトリ パス のスペースの使用を避けます。解凍した Confluence インストールファイルの保存先となるディレクトリを Confluence インストール ディレクトリと呼びます。次に、Confluence ホームディレクトリを定義します。
4. Confluence ホームディレクトリを定義します。
ここで Confluence ホームディレクトリ を定義する必要があります。Confluence がその構成情報、インデックス、および添付ファイルを保存するフォルダです。
「ホームディレクトリ」の別名は、「データディレクトリ」です。
インストール ディレクトリとホーム ディレクトリには別々のパスを使用することをお勧めします。アップグレードが容易になります。インストール ディレクトリとホーム ディレクトリの例:
- Installation directory:
/usr/local/confluence/
If you wish to install or maintain multiple versions of Confluence, you can add a version number to the Confluence installation directory name like/usr/local/confluence-3.1-std/and optionally, create the symbolic link/usr/local/confluence/that points to/usr/local/confluence-3.1-std/
- Home directory:
/usr/local/confluence-data/
- Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
- Under the Installation directory, find this file:
confluence/WEB-INF/classes/confluence-init.properties - Open the
confluence-init.propertiesfile in a text editor. このラインまでスクロールします:
# confluence.home=c:/confluence/data
- 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 Confluence ホームディレクトリをデフォルトから変更する場合は、記号リンクではなく絶対パスを使用してパスとファイル名を指定します。例:
confluence.home=/home/jsmith/confluence-data/
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.xmlunder 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になります。Hint: You can use netstat to identify free ports on your machine. See more information on using netstat on Windows or on Linux.
たとえば、これは、ポート "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 トラフィックが選択したポートで許可されるかどうかを確認します。
もっと詳しい情報はこちらから参照してください。
6. データベースの選定
このステップは、Confluence を評価する際はオプションとなります。Confluence を本番環境として使用するためにインストールする場合は必須となります。外部データベースの選定についてヘルプが必要な場合は、システム要件トピックにリスト表示されているデータベース要件を参照してください。
External databases are those listed on our Supported Platforms topic, excluding HSQLDB, which is bundled with Confluence and should not be used in production.
外部データベースを選択した場合は、適切な データベース設定ガイド にしたがってデータベースを設定し、Confluence と連動させてください。
既存インストールからの移行または評価用データベースの使用に関する詳細情報については、ここから参照してください。Confluence セットアップウィザードの使用中もデータベース設定ガイドを引き続きご利用になれます。 (下記のステップ 8 をご覧ください。)
7. Confluence の起動
- Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
- Under your Confluence Installation directory, open the
bindirectory and run the startup script:start-confluence.sh. - Once Confluence is running, open a web browser and visit http://localhost:8090/.
Hint: If you changed the port earlier, use the port you specified in step 6 above.
8. Confluence セットアップ ウィザード
Confluence セットアップウィザードが web ブラウザに表示されたら、ライセンスキーを入力します。 画面に表示される指示にしたがってください。Confluence セットアップウィザードでさらに詳しいガイドラインを参照できます。
関連トピック
Confluence のリッスンポートの変更
Confluence を SSL または HTTPS で実行
Confluence セットアップガイド
Confluence の設定