一、搭建mysql数据库(创建jira数据库和授权)
create database jira default character set utf8 collate utf8_bin; grant all on *.* to 'root'@'%' identified by '123456'; flush privileges;
二、下载jira
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.3.8-x64.bin
三、安装
chmod 755 atlassian-jira-software-7.3.8-x64.bin
./atlassian-jira-software-7.3.8-x64.bin
注意:防止8080端口被占用,可以修改为8081 或者其他
修改默认端口为8081(主配置文件)
vim /opt/atlassian/jira/conf/server.xml
四、破解jira(这里一定要注意)
1、关闭jira
cd /opt/atlassian/jira/bin/
./shutdown.sh
2、破解包下载地址:链接:https://pan.baidu.com/s/1ggtAR0v 密码:p4gh
3、然后把破解包里面的atlassian-extras-3.2.jar和mysql-connector-java-5.1.39-bin.jar两个文件复制到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目录下。
五、启动jira,网页登录ip:8081
/opt/atlassian/jira/bin/startup.sh #启动访问
注意:想要生成秘钥 先去jira官网注册一个账号,网站 http://www.shdsd.com/atlassian/jirasoftware/index.html,然后登录申请就可以了