JIRA のインストール (Mac OS X)
JIRA running on Mac OS X should only be used for evaluation purposes!
Mac OS X is not a supported operating system for the JIRA server because until recently no supported Oracle JDK and JRE (formerly Sun JDK and JRE) was available for this operating system. It is our view that the cost of supporting JIRA on OS X would be better spent fixing bugs and developing other requested features.
注意:
- If you encounter problems with your JIRA server running on Mac OS X, they may not be fixed as we do not test JIRA with unsupported Java platforms.
- However, JIRA users can still access your JIRA server through a supported browser on Mac OS X.
To install JIRA on Mac OS X, follow these steps:
はじめる前に
Please ensure that you have set JAVA_HOME. (You don't need to install Java as it comes with Mac OS X.)
1. Download and Install JIRA
- Download the JIRA tar.gz file here.
- Unzip the downloaded file.
2. Set JIRA Home
Please note that you cannot use the same JIRA home directory for multiple instances of JIRA. We recommend locating your JIRA Home Directory completely independently of the JIRA Installation Directory (i.e. not nesting one within the other) as this will minimize information being lost during major operations (e.g. backing up and restoring instances).
To specify the location of your JIRA Home Directory:
- Use the JIRA Installation Directory page to locate the
jira-application.properties
file and open. - Set the value of the '
jira.home
' property to the desired location for your JIRA Home Directory. - Use the JIRA Configuration Tool (included with all JIRA distributions except JIRA WAR) to change the location of your JIRA Home Directory.
- Set an environment variable named
JIRA_HOME
in your operating system whose value is the location of your JIRA Home Directory. To do this, do one of the following:- Enter the following command at a shell/console prompt before running JIRA:
export JIRA_HOME=/path/to/jira/home
- JIRA を起動するときに使うスクリプトに上記のコマンドを追加する
- Enter the following command at a shell/console prompt before running JIRA:
3. OS 上に JIRA 実行用の専用ユーザー アカウントを作成する
- オペレーティング システムが *nix ベース (Linux や Solaris など) の場合は、コンソールで次のように入力します。
$ sudo /usr/sbin/useradd --create-home --comment "Account for running JIRA" --shell /bin/bash jira
- オペレーティングシステムが Windows の場合
- 以下のいずれかの方法で専用のユーザーを作成します
- Typing the following at the Windows command line:
> net user jira mypassword /add /comment:"Account for running JIRA"
(This creates a user account with user name 'jira' and password 'mypassword'. You should choose your own password.) - Windows の 'Computer Management' コンソールを開いて、ご自身の使いたいパスワードで 'jira' ユーザーを作成します
- Typing the following at the Windows command line:
- (Optional) Use the Windows 'Computer Management' console to remove the 'jira' user's membership of all unnecessary Windows groups, such as the default 'Users' group.
If Windows is operating under a Microsoft Active Directory, ask your Active Directory administrator to create your 'jira' account (with no prior privileges).
- 以下のいずれかの方法で専用のユーザーを作成します
専用のユーザーアカウント (例: 'jira') が以下のディレクトリのみへの書き込み権限を持つことを確認してください。
- The following subdirectories of your JIRA Installation Directory for 'recommended' JIRA distributions (or for JIRA WAR distributions, the installation directory of the Apache Tomcat application running JIRA):
logs
temp
work
- Your JIRA Home Directory.
Do not make the JIRA Installation Directory itself writeable by the dedicated user account.
See also Tomcat security best practices.
4. JIRA を起動する
Run bin/startup.sh
to start JIRA.
JIRA will be launched in a black 'Tomcat' window (do not close this window). Wait until the startup messages have finished.
To access JIRA, go to your web browser and type this address: http://localhost:8080.
If JIRA does not appear, you may need to change the port that JIRA runs on.
何か問題が生じた場合は、JIRA が正しくインストールされていることを確認 してください。それでも問題が解決しない場合は、お問い合わせください — 喜んでお手伝いいたします。
5. セットアップ ウィザードを実行する
次のステップ
- See JIRA 101 to start creating Projects, creating Users, and customizing your JIRA instance.
- By default, JIRA uses the standard Tomcat port (i.e. 8080). If you need another application to run on that port, either now or in the future, please see Changing JIRA's TCP Ports.
- As part of its installation process, JIRA automatically installs, configures and connects itself to an HSQLDB database. This is fine for evaluation purposes, however HSQLDB is prone to data corruption. For production installations, we strongly recommend that you connect JIRA to an external database.
- To get the most out of JIRA, please see Optimizing Performance.