JIRA のインストール (Windows)
This guide describes how to install a new JIRA installation on Windows using the automated 'Windows Installer'. If you are upgrading JIRA, please refer to the Upgrading JIRA guide.
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.
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 つの方法があります:
インストール ウィザードの使用
はじめてお使いのサーバーに JIRA をインストールする場合、または、インストール オプションを指定したい場合、インストール ウィザードを使用してください。
If you have previously installed JIRA using the installation wizard and wish to re-install JIRA again with the same installation options, you can re-install JIRA in 'unattended mode' without any user input required (see below for details).
1. “Windows インストーラー” のダウンロードと実行
JIRA をサービスとしてインストールするには、Windows 管理者アカウントを使用して Windows インストーラーを実行する必要があります。管理者アカウント以外のアカウントを使用しても Windows インストーラーを実行することは可能ですが、インストールオプションが大幅に制限されます。
- Download the JIRA 'Windows Installer' (.exe) file from the JIRA Download page.
- Run the '.exe' file to start the installation wizard.
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.
- ”JIRA をアップグレードしますか?” のステップで、”Express Install” または “Custom Install” のどちらか一方のオプションを選択します:
- Express Install — このオプションを選択すると、JIRA はインストール ウィザードの次のステップで表示されるデフォルト設定値を使用してインストールを実行します。このデフォルト値をカスタマイズしたい場合は、“Back” ボタンをクリックし、 “Custom Install” オプションを選択します。
- Custom Install — このオプションを選択すると、JIRA は次のオプションを指定するように指示を出します (次のオプションは、この後のステップでデフォルト値が入力された状態でインストールウィザードに表示されます):
- The 'Destination Directory' in which to install JIRA.
- The JIRA Home directory (which must be unique for each JIRA installation).
- 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.
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.
- インストール ウィザードは JIRA をお使いの OS 上にインストールし、ウィザード完了時に自動的に JIRA を起動します。JIRA が自動的にブラウザー ウィンドウで起動するようにオプションを選択することもできます。
注意:
- 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.
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).
- If JIRA is installed as a service, do not forget to change the user account that runs the JIRA service to your dedicated user account for running 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.
2. JIRA の起動
JIRA を起動していない場合、適切な Windows [スタート] メニューのショートカット、または、コマンド プロンプトを使用した JIRA の起動と終了 を使用して JIRA を起動できます。
JIRA を起動後、お使いの JIRA サーバーへのネットワーク アクセスをもつコンピューター上の適切な Windows [スタート] メニューのショートカット、または、ブラウザーから JIRA にアクセスできます。
2.1 Windows [スタート] メニューのショートカット
Windows インストーラーは、次の Windows [スタート] メニューのショートカットを作成します:
- Access JIRA — opens a web browser window to access your JIRA application.
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 — uninstalls JIRA from your Windows operating system.
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)
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 にアクセス
You can access JIRA from any computer with network access to your JIRA server by opening a supported web browser on the computer and visiting this 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).
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 customizing your JIRA instance.
- If you did not install JIRA as a service, you will need to start JIRA manually every time you restart your computer. To change your JIRA installation to run as a service, please see Running JIRA as a Service.
- To get the most out of JIRA, please see Optimizing 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 のインストールにより時間を節約できます。
注意:
- 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 インストーラー” のダウンロードと無人モードでの実行
- Download the JIRA 'Windows Installer' (.exe) file from the JIRA Download Center to a suitable location.
- Windows コマンド プロンプトを開き、残りのステップを実行します。
copy
theresponse.varfile
file located in the.install4j
subdirectory of your previous JIRA installation directory, to the same location as the downloaded 'Windows Installer' file.
You can uninstall your previous JIRA installation after this step. Save your
response.varfile
if you need to install JIRA on multiple machines.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-varfile
option.
- 無人モードでのインストールが完了後、JIRA は自動的に起動します。ステップ 2 JIRA の起動(上記)に進んでください。