JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
前些年CSDN搞了个99元买正版的活动,当时花钱买了个授权,然后束之高阁,这几天被翻出来了,捣鼓一下。
本文以 atlassian-jira-6.1.3-x64.bin 为例子。
- 下载独立安装包
下载地址 https://www.atlassian.com/software/jira/download
下载到用户当前目录 atlassian-jira-6.1.3-x64.bin
- 安装Java
1 |
$sudo apt-get install openjdk-7-jre |
- 给予安装包执行权限
1 |
$sudo chmod +x atlassian-jira-6.1.3-x64.bin |
- 以下是详细的执行安装过程
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
$ sudo ./atlassian-jira-6.1.3-x64.bin Unpacking JRE ... Starting Installer ... This will install JIRA 6.1.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] 2 Where should JIRA 6.1.3 be installed? [~/atlassian-jira-6.1.3-x64.bin.8800.dir] /usr/share/atlassian/jira Default location for JIRA data [/var/atlassian/application-data/jira] Configure which ports JIRA will use. JIRA requires two TCP ports that are not being used by any other applications on this machine. The HTTP port is where you will access JIRA through your browser. The Control port is used to Startup and Shutdown JIRA. Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2] 2 HTTP Port Number [8080] 8888 Control Port Number [8005] 8885 JIRA can be run in the background. You may choose to run JIRA as a service, which means it will start automatically whenever the computer restarts. Install JIRA as Service? Yes [y, Enter], No [n] y Extracting files ... Please wait a few moments while JIRA starts up. Launching JIRA ... Installation of JIRA 6.1.3 is complete Your installation of JIRA 6.1.3 is now ready and can be accessed via your browser. JIRA 6.1.3 can be accessed at http://localhost:8888 Finishing installation ... |
安装完成后,访问 http://localhost:8888 就可以了。
主要是要注意,安装的第二步,选择目录的时候,一定要更改默认的目录,否则安装到最后会报告异常。