系列文章
DevOps第零弹之开篇
DevOps第一弹之项目与事务跟踪工具
DevOps第二弹之部署私有Git服务器
DevOps第三弹之效率沟通
DevOps第四弹之接口文档与API测试
DevOps第五弹之持续集成编译环境(Android)
DevOps第五弹之持续集成Jenkins(Android篇)
DevOps第六弹之工具大整合
简介
JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
步骤
1、注册jira
2、下载jira
3、安装并运行jira
4、jira初始化工作
1、注册jira
需要梯子才能加载出验证码,邮箱也最好用国外的gmail、icloud之类的,QQ邮箱未必能接收到验证码
注册页面
邮箱收到验证码后激活即可
2、下载jira
下载页面
大家可以下载对应平台的jira,这里使用的是Linux64
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.6.1-x64.bin
3、安装并运行jira
下面我们找到jira并赋予运行权限,再运行安装包就可以了,这里我们使用8000端口作为web访问端口,默认8080容易造成冲突。
安装
chmod +x atlassian-jira-software-7.6.1-x64.bin
./atlassian-jira-software-7.6.1-x64.bin
输出了相关信息
Unpacking JRE ...
Starting Installer ...
Dec 14, 2017 10:29:19 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Dec 14, 2017 10:29:19 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install JIRA Software 7.6.1 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 Software be installed?
[/opt/atlassian/jira]
Default location for JIRA Software data
[/var/atlassian/application-data/jira]
Configure which ports JIRA Software 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]
8000
Control Port Number
[8005]
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
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8000
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 7.6.1 is complete
Start JIRA Software 7.6.1 now?
Yes [y, Enter], No [n]
y
Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 7.6.1 is complete
Your installation of JIRA Software 7.6.1 is now ready and can be accessed
via your browser.
JIRA Software 7.6.1 can be accessed at http://localhost:8080
Finishing installation ...
4、jira初始化工作
访问你服务器的8000端口(默认8080,与上面配置相关)。本地访问的话就是:http://127.0.0.1:8000
,外网访问:http://120.78.191.35:8000/
选第一个然后Continue to MyAtlassian
之后会提示授权,登录你的jira账号,Generate License
然后jira开始初始化工作,简单的配置后就可以使用了。后面将会结合jira和我们的效率沟通工具做WebHook推送。
安装成功
最后
至此,环境已经搭建完毕。然后具体的使用可以参考网上一些教程。jira的功能也很强大,大家可以尽情去发掘
网友评论