2010-02-08
Solaris10環境にJIRA入れてみる
Windows版を入れたら一発で起動出来たので、概ね勝手が分かったので、常用するためにOSがSolaris10のサーバーに入れてみることにした。
JIRA (ジラ) - ダウンロード
JIRA インストールならびにアップグレード ガイド - JIRA (ジラ) 関連資料 - アトラシアン ウィキ
ユーザー追加
JIRAが使用するユーザー"jira"をセットアップする。ホームは/export/home/jiraとする。
$ su パスワード: # useradd -d /export/home/jira -m -s /bin/bash jira 64 ブロック $ su - jira Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00$ id uid=13012(jira) gid=1(other) -bash-3.00$
※-mオプションで自動的にディレクトリも作成する。
インストール
-bash-3.00$ wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-4.0.1-standalone.tar.gz ...(省略)... -bash-3.00$
解凍の際にはtarではなくgtarを利用する。
-bash-3.00$ /usr/sfw/bin/gtar -xzf atlassian-jira-enterprise-4.0.1-standalone.tar.gz -bash-3.00$ cd atlassian-jira-enterprise-4.0.1-standalone/ -bash-3.00$
ホームディレクトリの設定
jira-application.propertiesにホームディレクトリの設定をする
インストールガイドにパスが書いてなかったので、findで探した。
-bash-3.00$ find . -name jira-application.properties ./atlassian-jira-enterprise-4.0.1-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties -bash-3.00$ vi ./atlassian-jira-enterprise-4.0.1-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties
以下の様に変更する
jira.home =
↑を↓に変更。
jira.home = /export/home/jira
Javaの設定
どうやらJDK 1.5以降が必要なようだが、Solaris10には最初から入ってる様で、環境変数のJAVA_HOMEだけ設定すれば良いみたい。
-bash-3.00$ export JAVA_HOME=/usr/java
次回以降ログインした場合も設定されるようにしておく。
-bash-3.00$ echo "JAVA_HOME=/usr/java" >> .bash_profile -bash-3.00$ echo "export JAVA_HOME" >> .bash_profile
JIRAの起動
とりあえず起動してみる。
-bash-3.00$ ./atlassian-jira-enterprise-4.0.1-standalone/bin/startup.sh Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m If you encounter issues starting up JIRA Standalone Edition, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Using CATALINA_BASE: /export/home/jira/atlassian-jira-enterprise-4.0.1-standalone Using CATALINA_HOME: /export/home/jira/atlassian-jira-enterprise-4.0.1-standalone Using CATALINA_TMPDIR: /export/home/jira/atlassian-jira-enterprise-4.0.1-standalone/temp Using JRE_HOME: /usr/java Using CLASSPATH: /export/home/jira/atlassian-jira-enterprise-4.0.1-standalone/bin/bootstrap.jar
ガイドにあるような起動したぜ!って感じのメッセージが出ないけど、ちゃんと動いてた。
トラックバック - http://d.hatena.ne.jp/suzukyu/20100208/1265606842
リンク元
- 22 http://pipes.yahoo.com/pipes/pipe.info?_id=tDfBdGWF3RGl9XNm1L3fcQ
- 18 http://www.google.co.jp/search?hl=ja&client=firefox-a&rls=org.mozilla:ja:official&q=redmine+リポジトリに、エントリ/リビジョンが?
- 8 http://b.hatena.ne.jp/entry/d.hatena.ne.jp/suzukyu/20091120/1258706850
- 8 http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4SUNA_jaJP239JP240&q=Framework+3.5+Service+Pack+1
- 7 http://74.125.153.132/search?q=cache:wXqFuzuWbsgJ:d.hatena.ne.jp/suzukyu/+redmine+0.9.1+??????+Apache&cd=6&hl=ja&ct=clnk&gl=jp&lr=lang_ja
- 6 http://www.google.co.jp/m/search?oe=UTF-8&client=safari&hl=ja&q=evernote+??????&resnum=0&ei=9Q5xS-C_Coj26AO_ju_5Ag&sa=X&oi=revisions_inline&ct=broad-revision&cd=4&ved=0CP___________wEQ____________ASgGMAQ
- 5 http://www.google.co.jp/search?client=firefox-a&rls=org.mozilla:ja:official&channel=s&hl=ja&source=hp&q=microsoft+net+3.5+sp1&lr=&btnG=Google+検索
- 5 http://www.google.co.jp/search?q=If+you+encounter+issues+starting+up+JIRA+Standalone+Edition&hl=ja&client=firefox-a&hs=4De&rls=org.mozilla:ja:official&lr=lang_ja&ei=-IkETNTmHMHQcYnHnPQE&sa=X&oi=lrtip&ct=restrict&cad=7&ved=0CBYQuAE
- 4 http://search.yahoo.co.jp/search?p=scsa 勉強&rs=3&tid=top_ga1_sa&ei=UTF-8&oq=scsa&fr=top_ga1_sa
- 4 http://www.google.co.jp/search?hl=ja&q=evernote+有料&sourceid=navclient-ff&rlz=1B3GGGL_jaJP290JP290&ie=UTF-8
