Confluence 2.8 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
ここでは以下について説明します:
- The Standalone edition of Confluence. The Standalone edition includes Apache Tomcat as the standalone application server. If you want to install an EAR/WAR edition 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 the Confluence Installer.
また、インストールする Confluence のバージョンもご確認ください。ドキュメント ホームページを参照し、最新の Confluence バージョンを確認し、旧バージョン用ドキュメントを検索してください。
On this page:
1. はじめる前に
以下の点を確認してください:
- Make sure that your system meets the minimum requirements to run Confluence:
- If you are installing Confluence for evaluation purposes, it should be pretty easy. You will need a web browser — we recommend Firefox, or Internet Explorer 6 or later.
- For production installations, please read the detailed system requirements.
- Have your Confluence license key ready. You can obtain a trial, free or commercial license now, or retrieve your existing license key.
- You must be able to use a command prompt and install Java to continue. If not, please contact your system administrator to assist you or consider the Hosted online evaluation option.
2. Install the JDK (Java Development Kit)
About Java
Confluence needs JDK 1.4 or newer to be installed on your computer.
- A JRE (Java Runtime Environment) is not enough.
- JDK 6 is the preferred platform, because it is faster and more reliable.
- JDK 1.4 or 1.5 are fine for now.
- Advance notice: Java 1.4 will be deprecated in a future release. Confluence 2.8 will be the last version that supports Java 1.4.
- JDK が正しくインストールされているか分からない場合、次を実行して確認してください:
- Open a command prompt.
- On Windows: Open your 'Start' menu and select 'Run', then type
cmd
and click 'OK'.
- On Windows: Open your 'Start' menu and select 'Run', then type
- Type the following in the command prompt and then press Enter:
- Windows:
echo %JAVA_HOME%
- On Unix:
echo $JAVA_HOME
- Windows:
- 結果を確認します:
- If a line is displayed such as
C:\Progra~1\Java\jdk1.5.0_06
, please check that the letters just before the final numbers are 'jdk'. If you see those letters, the JDK is installed. - If nothing is displayed, or you do not see 'jdk' plus some numbers, the JDK is not installed.
- If a line is displayed such as
- Open a command prompt.
- If you have installed a non-Sun JDK, you need to install the Sun JSSE package now.
- JDK をインストールする必要がある場合、次の手順に従ってください:
- Go to the Java Sun download page.
- Download the version entitled 'JDK 6 Update XX', where 'XX' stands for some number. (Sun will provide the latest version on that page.)
- ダウンロードが完了したら、Java インストーラーを実行します。途中で、インストール先のディレクトリを選択するように指示されます。後で利用するために、このディレクトリをコピーするか、書き留めてください。
- On Windows: Please follow these instructions to set your
JAVA_HOME
environment variable to the directory you where you have just installed the JDK. By default, this directory is underC:\Program Files\Java
.
3. Confluence インストール ファイルをダウンロード
- If you have not downloaded Confluence already, download the Standalone zip file.
- 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:
- Use your unzip program to unzip the installation file to a directory such as
c:\confluence
.- ディレクトリパスのスペースは使用しないでください。
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. 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
- Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
- Under the Installation directory, find this file:
\confluence\WEB-INF\classes\confluence-init.properties
- Open the
confluence-init.properties
file in a text editor such as Notepad. - このラインまでスクロールします:
# 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 ホームディレクトリをデフォルトから変更する場合は、以下の点に注意してください:
- ディレクトリまたはファイル名のスペースを使用しない。
- 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="8005" 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 8005) and the connector port (default is 8080) to ports that are free on your machine.
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. データベースの選定
This step is optional for evaluation instances of Confluence. It is mandatory for a production instance.
Select one of the supported external databases and follow the corresponding database setup guide. 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 の起動
- Confluence インストール ディレクトリを開きます(Confluence を解凍したときに作成されています - 上記を参照してください)。
- Under your Confluence Installation directory, open the
bin
directory and run the startup script:startup.bat
.トラブルシューティング
スタートしてすぐにウィンドウが閉じてしまうと、このエラーにより Confluence の起動が妨げられます。このエラーを見るには:
-
- Open a command prompt: Click on your 'Start' menu, then click 'Run'. In the Run box, type
cmd
and click 'OK'. - コマンドプロンプトから Confluence インストール ディレクトリに移動します。
- Go into the
bin
subdirectory. - Run
catalina.bat run
.
Note: You should not runstartup.bat
at this point, because that would still produce a popup window that would close straight away. - エラーメッセージを確認します。
- Find the solution to that error in the Troubleshooting section.
- Open a command prompt: Click on your 'Start' menu, then click 'Run'. In the Run box, type
-
- Once Confluence is running, open a web browser and visit http://localhost:8080/.
Hint: If you changed the port earlier, use the port you specified in step 5 above.
8.次のステップ Confluence セットアップ ウィザード
Confluence セットアップウィザードが web ブラウザに表示されたら、ライセンスキーを入力します。 画面に表示される指示にしたがってください。Confluence セットアップウィザードでさらに詳しいガイドラインを参照できます。
If the web browser shows an error instead of the Setup Wizard, check the Troubleshooting section.
関連トピック
Change listen port for Confluence Standalone
Adding SSL on Confluence 2.1.5a and earlier
Confluence Setup Guide
Configuration Guide
Documentation Home