Documentation for JIRA 5.2. Documentation for other versions of JIRA is available too.

インストール

このガイドでは、自動 “ Windows インストーラー” を使用した JIRA の新規インストール方法を説明します。JIRA のアップグレードには、JIRA のアップグレード ガイドをご参照ください。

(tick) You can also install JIRA from a 'zip' archive — see Installing JIRA from an Archive File on Windows, Linux or Solaris for details. This is useful if you want JIRA to use a pre-existing supported Java platform, since the Windows Installer installs its own JRE to run JIRA.

(warning) Please Note: Some anti-virus or other Internet security tools may interfere with the JIRA installation process and prevent the process from completing successfully. If you experience or anticipate experiencing such an issue with your anti-virus/Internet security tool, disable this tool first before proceeding with the JIRA installation.

Windows インストーラーを使用して JIRA をインストールするには 2 つの方法があります:

On this page:

インストール ウィザードの使用

はじめてお使いのサーバーに JIRA をインストールする場合、または、インストール オプションを指定したい場合、インストール ウィザードを使用してください。

すでにこのインストール ウィザードを使用して JIRA をインストール済みで、同じ設定で JIRA を再インストールしたい場合、ユーザー入力が一切必要のない「無人モード」で JIRA を再インストールできます (詳細は、以下 をご覧ください )。

1. “Windows インストーラー” のダウンロードと実行

(tick) JIRA をサービスとしてインストールするには、Windows 管理者アカウントを使用して Windows インストーラーを実行する必要があります。管理者アカウント以外のアカウントを使用しても Windows インストーラーを実行することは可能ですが、インストールオプションが大幅に制限されます。

  1. Download the JIRA 'Windows Installer' (.exe) file from the JIRA Download page.
  2. Run the '.exe' file to start the installation wizard.
    (info) If a Windows 7 (or Vista) 'User Account Control' dialog box requests if you want to allow the installation wizard to make changes to your computer, specify 'Yes'. If you do not, the installation wizard will have restricted access to your operating system and any subsequent installation options will be limited.
  3. ”JIRA をアップグレードしますか?” のステップで、”Express Install” または “Custom Install” のどちらか一方のオプションを選択します:
    • Express Install — If you choose this option, JIRA will be installed with default settings which are shown in the next step of the installation wizard. If you want to customise any of these options, click the 'Back' button and choose the 'Custom Install' option instead.
    • Custom Install — このオプションを選択すると、JIRA は次のオプションを指定するように指示を出します (次のオプションは、この後のステップでデフォルト値が入力された状態でインストールウィザードに表示されます):
      • install JIRA ”インストール先ディレクトリ” 。
      • JIRA Home directory (各 JIRA インストールに固有である必要があります)。
      • Windows [スタート] メニュー フォルダー オプション。
      • JIRA が実行時に経由する TCP ポート (すなわち、HTTP ポートやコントロールポート)。
      • If you are running the installer using an administrator account, you will be prompted to 'Install JIRA as a service' (recommended). You can also do this manually later, as described in Running JIRA as a Service.
        (tick) If you installed JIRA as a service, you must start JIRA through the Windows 'Start' menu, since JIRA will not start if you run start-jira.bat at the Windows Command Prompt.
  4. インストール ウィザードは JIRA をお使いの OS 上にインストールし、ウィザード完了時に自動的に JIRA を起動します。JIRA が自動的にブラウザー ウィンドウで起動するようにオプションを選択することもできます。

(info) 注意:

  • JIRA をサービスとしてインストールを選択した場合、Windows “SYSTEM” ユーザー アカウントで JIRA が実行されることになります。このユーザー アカウントを変更するには、Changing the Windows user that the JIRA service uses をご覧ください。
  • JIRA をサービスとしてインストールしない場合、 JIRA を起動するとインストールされた場所の Windows ユーザー アカウントで実行されます。
  • 実稼働中の Windows サーバー上で JIRA を使用する場合、JIRA 実行用の専用ユーザー アカウント (例. ユーザー名: ”jira”) を作成することを強く推奨します。
    • For more information about creating a dedicated user account and defining which directories this account should have write access to, refer to our guidelines.
      (tick) If your Windows Server is operating under a Microsoft Active Directory, ask your Active Directory administrator to create a dedicated user account that you can use to run JIRA (with no prior privileges).
    • JIRA をサービスとしてインストールした場合、必ず JIRA 実行用の専用ユーザー アカウントに JIRA サービスを実行するユーザーアカウントの変更 をしてください。

2. JIRA の起動

JIRA を起動していない場合、適切な Windows [スタート] メニューのショートカット、または、コマンド プロンプトを使用した JIRA の起動と終了 を使用して JIRA を起動できます。

JIRA を起動後、お使いの JIRA サーバーへのネットワーク アクセスをもつコンピューター上の適切な Windows [スタート] メニューのショートカット、または、ブラウザーから JIRA にアクセスできます。

2.1 Windows [スタート] メニューのショートカット

The Installer will have created the following Windows 'Start' menu shortcuts:

  • Access JIRA — opens a web browser window to access your JIRA application.
    (info) Your JIRA server must have been started for this shortcut to work.
  • Start JIRA Server — Web ブラウザーから JIRA にアクセスできるようにするため、JIRA インストールを実行する Apache Tomcat アプリケーション サーバーを起動します。
  • Stop JIRA Server — JIRA インストールを実行するApache Tomcat アプリケーション サーバーを終了します。このショートカットを選択すると、お使いの Web ブラウザーから JIRA へアクセスできなくなります。
  • Uninstall JIRA — お使いの Windows OS から JIRA をアンインストールします。

2.2 コマンド プロンプトを使用した JIRA の起動と終了

Enter the bin subdirectory of your JIRA installation directory and run the appropriate file:

  • start-jira.bat (to start JIRA)
  • stop-jira.bat (to stop JIRA)

(info) If you followed our guidelines for running JIRA with a dedicated user account, then to run JIRA as this user account (e.g. 'jira'), use the runas command to execute start-jira.bat. For example:

  • > runas /env /user:<DOMAIN>\jira start-jira.bat
    (where <DOMAIN> is your Windows domain or computer name.)

2.3 ブラウザーから JIRA にアクセス

お使いの JIRA サーバーへのネットワーク アクセスをもつすべてのコンピューターから JIRA にアクセスするには、コンピューターで サポートするブラウザー を開いた後、次の URL へ進みます:

  • http://<computer_name_or_IP_address>:<HTTP_port_number>

ここで:

  • <computer_name_or_IP_address> is the name or IP address of the computer on which JIRA is installed and
  • <HTTP_port_number> is the HTTP port number specified when you installed JIRA (above).

(info) If JIRA does not appear in your web browser, you may need to change the port that JIRA runs on.

3. セットアップ ウィザードの実行

セットアップ ウィザードの実行 をご覧ください。

4. 次のステップ

  • See JIRA 101 to start creating Projects, creating Users, and customising your JIRA instance.
  • JIRA をサービスとしてインストールしなかった場合、コンピューターを再起動するたびに、 JIRA を手動で起動する必要があります。JIRA インストールをサービスで実行するように変更するには、JIRA をサービスとして実行 をご覧ください。
  • To get the most out of JIRA, please see Optimising Performance.

無人インストールの実行

If you have previously installed JIRA using the installation wizard (above), you can use a configuration file from this JIRA installation (called response.varfile) to re-install 'unattended mode' without any user input required.

前回の JIRA インストールがテスト目的であり、同じコンフィギュレーションを使用して複数のサーバーマシンに JIRA をインストールする必要がある場合、無人モードでの JIRA のインストールにより時間を節約できます。

(warning) 注意:

  • The response.varfile file contains the options specified during the installation wizard steps of your previous JIRA installation. Hence, do not uninstall your previous JIRA installation just yet.
  • If you intend to modify the response.varfile file, please ensure all directory paths specified are absolute, for example, sys.installationDir=C\:\‌\Program Files\\Atlassian\‌\JIRA
    Unattended installations will fail if any relative directory paths have been specified in this file.

JIRA “Windows インストーラー” のダウンロードと無人モードでの実行

  1. Download the JIRA 'Windows Installer' (.exe) file from the JIRA Download Center to a suitable location.
  2. Windows コマンド プロンプトを開き、残りのステップを実行します。
  3. copy the response.varfile file located in the .install4j subdirectory of your previous JIRA installation directory, to the same location as the downloaded 'Windows Installer' file.
    (info) You can uninstall your previous JIRA installation after this step. Save your response.varfile if you need to install JIRA on multiple machines.
  4. Change directory (cd) to the location of the 'Windows Installer' file and run the following command:

    atlassian-jira-X.Y.exe -q -varfile response.varfile
    

    ここで:

    • X.Y — refers to the version of JIRA you are about to install.
    • -q — instructs the installer to operate in unattended mode (i.e. 'quietly').
    • -varfile response.varfile — specifies the configuration file containing the configuration options used by the installer. The location and name of the configuration file should be specified after the -varfileoption.

  5. 無人モードでのインストールが完了後、JIRA は自動的に起動します。ステップ 2 JIRA の起動 (上記) に進んでください。

3 Comments

  1. Mika Kapanen

    Installing JIRA on Windows (Win7 SP1) "as a service"
    JIRA exe-installer Win x32 versions 5.2.3 and 5.2.4 does not register JIRA into windows registry at all, hence JIRA will not start at all. At the same time, Confluence 4.3.5 was installed, and it works with no problems.

    There is no JIRA services registered on windows, even if I look at 'Control Panel' -> 'Administrative Tools' -> 'Services' or with regedit.

  2. Mika Kapanen

    Installing JIRA on Windows (Win7 SP1) "as a service"
    If you have problems with JIRA exe-installer Win x32 versions 5.2.3 and 5.2.4, then you could try to install JIRA exe-installer Win x32 version 5.1.8 (or earlier), that fixed at least in our case problems with Windows registry.

  3. Oleksiy Holyarchuk

    I've got the same problem with JIRA 5.2.11 , Win XP SP3 and Firefox 20.0.1 . After installation of trial version - can't launch Jire as Firefox can't connect to local server localhost:8080

    I don't use any anti-visus, firewall. Also, no application uses 8080 port. Also can't find JIRA log-file in system32 folder. I'm frustrated.