Confluence 5.7 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
ここでは以下について説明します:
インストールする Confluence のバージョンがここで説明しているバージョンと一致しているか確認してください。
On this page:
以下の点を確認してください:
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.
c:\confluence
. 解凍した Confluence インストールファイルの保存先となるディレクトリを Confluence インストール ディレクトリと呼びます。次に、Confluence ホームディレクトリを定義します。
Now you need to define the Confluence Home directory. This is where Confluence will store its configuration information, indexes and attachments.
Tip: Another term for 'home directory' would be 'data directory'.
インストール ディレクトリとホーム ディレクトリには別々のパスを使用することをお勧めします。アップグレードが容易になります。
インストール ディレクトリとホーム ディレクトリの例:
Installation directory: c:\confluence\confluence-vX.X
Home directory: c:\confluence\data
confluence\WEB-INF\classes\confluence-init.properties
in a text editor such as Notepad.この行までテキストをスクロールします:
# confluence.home=c:/confluence/data
confluence.home
パスを定義する際は『/』(フォワードスラッシュ)を使用する。
例:
confluence.home=c:/data/confluence-home
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 an installation of JIRA running on this machine, JIRA might be already using the port which Confluence requests by default.
デフォルトでは、Confluence はポート『8090』をリッスンします。もしこのポートがインストールディレクトリですでに使用されている場合は、以下の説明にしたがってポートを変更してください:
conf/server.xml
under your Confluence Installation directory. The first four lines of the file look like this:<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 行です。
<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 を指定してください。
もっと詳しい情報はこちらから参照してください。
このステップは、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 をご覧ください。)
Under your Confluence Installation directory, open the bin
directory and run the startup script: startup.bat
. A command prompt window should appear.
Please do not close this command prompt window. If you do so, Confluence will stop running.
トラブルシューティング
スタートしてすぐにウィンドウが閉じてしまうと、このエラーにより Confluence の起動が妨げられます。このエラーを見るには:
cmd
and click 'OK'.bin
subdirectory.catalina.bat run
.startup.bat
at this point, because that would still produce a popup window that would close straight away.Confluence セットアップウィザードが web ブラウザに表示されたら、ライセンスキーを入力します。 画面に表示される指示にしたがってください。Confluence セットアップウィザードでさらに詳しいガイドラインを参照できます。
Confluence をサービスとして実行します。
Confluence のリッスンポートの変更
Confluence を SSL または HTTPS で実行
Confluence セットアップガイド
Confluence の設定