0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

俺でもわかるJIRAのインストール

Last updated at Posted at 2018-11-07

俺です。

Atlassian人の機運を高めるためにJIRAを入れることにしました。

構成

ALB(https) -> EC2(JIRA http)
JIRA Server Edition

JIRAのインストール

[ec2-user@ip-172-16-132-133 ~]$ sudo ./atlassian-jira-core-7.12.3-x64.bin
Unpacking JRE ...
Starting Installer ...
10 31, 2018 6:26:01 午前 java.util.prefs.FileSystemPreferences$1 run
情報: Created user preferences directory.

This will install JIRA Core 7.12.3 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
1
Details on where JIRA Core will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i

Extracting files ...


Please wait a few moments while JIRA Core is configured.
Installation of JIRA Core 7.12.3 is complete
Start JIRA Core 7.12.3 now?
Yes [y, Enter], No [n]
y

Please wait a few moments while JIRA Core starts up.
Launching JIRA Core ...
Installation of JIRA Core 7.12.3 is complete
Your installation of JIRA Core 7.12.3 is now ready and can be accessed via
your browser.
JIRA Core 7.12.3 can be accessed at http://localhost:8080
Finishing installation ...

JIRAのセットアップ

  • NLBを準備してEC2に刺します.なぜやらにゃあかんのかKBあったはずだけどURL忘れた
  • JIRAインストールウィザードから俺たちの使う最強のジラ設定をします
  • ログインページに遷移できれば完了です

HTTPS Proxy設定(Connectorの変更)

今回の構成ではALB(https)からくるprotocolをEC2(JIRA)が理解できません。
JIRAのProxy設定をしこみます。

  • ${ATLASSIAN_BASE}/jira/conf/server.xml
# vi /opt/atlassian/jira/conf/server.xml
     77         <Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
     78                    maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
     79                    maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
     80                    acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
     81                    proxyName="jira.andgate.co.jp" proxyPort="443"/>

ALBエンドポイントへの変更

  • NLBをALBに変更します
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?