项目管理软件jira安装
阅读原文时间:2023年07月09日阅读:4

JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。

官方文档https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-on-linux-938846841.html

1、下载

wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.0-x64.bin

2、安装

chmod a+x atlassian-jira-software-7.8.0-x64.bin

./atlassian-jira-software-7.8.0-x64.bin

使用默认设置即可,全程enter,当然先看一下人家说的啥比较好

3、创建数据库

mysql> CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;

如果是 MySQL 5.5, MySQL 5.6, and MySQL 5.7.0 to MySQL 5.7.5这些版本,

mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jira.* TO 'jira'@'localhost' IDENTIFIED BY 'Hanli224!';

如果是MySQL 5.7.6及更高版本,还必须包含REFERENCES权限:

mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jira.* TO 'jira'@'localhost' IDENTIFIED BY 'Hanli224!'';

mysql> flush privileges;

确认权限是否已成功授予,请使用JIRA DB用户登录到数据库服务器,

$ mysql -u jira -p

然后运行以下命令

mysql> SHOW GRANTS FOR jira@localhost;
+----------------------------------------------------------------------------------------------------------------+
| Grants for jira@localhost |
+----------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'jira'@'localhost' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER ON `jira`.* TO 'jira'@'localhost' |
+----------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)

4、安装mysql驱动

wget https://dev.mysql.com/downloads/connector/j/

下载解压后

cp mysql-connector-java-5.1.46-bin.jar /opt/atlassian/jira/lib/

5、破解,

下载破解jar文件,网址 https://download.csdn.net/download/linuxxin/10014600

wget http://imgffeeii.b0.upaiyun.com/soft/jira/jira7.3.zip

移动到下面的目录

mv /home/hanli/atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/

6、重启

sudo /opt/atlassian/jira/bin/shutdown.sh
sudo /opt/atlassian/jira/bin/startup.sh

7、访问http://localhost:8080,默认端口8080

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器

你可能感兴趣的文章