CentOS部署jira平台
程序员文章站
2022-07-14 08:26:21
...
JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
安装Java环境
拖包
[aaa@qq.com ~]# tar xzxf jdk-8u201-linux-x64.tar.gz
[aaa@qq.com ~]# mv jdk1.8.0_201/ /usr/local/java
[aaa@qq.com ~]# vim /etc/profile
# 末尾添加
export JAVA_HOME=/usr/local/java
export JRE_HOME=/usr/local/java/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
[aaa@qq.com ~]# rm -rf /usr/bin/java
[aaa@qq.com ~]# source /etc/profile
[aaa@qq.com ~]# java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
安装MySQL
jira是支持5.7的,但是Confluence不支持5.7,所以这里安装mysql5.6
[aaa@qq.com ~]# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
[aaa@qq.com ~]# rpm -ivh mysql-community-release-el7-5.noarch.rpm
[aaa@qq.com ~]# vim /etc/yum.repos.d/mysql-community.repo
# 将5.5和5.7部分删除
[aaa@qq.com ~]# yum clean all && yum -y install mysql-community-server
创建数据库并授权
[aaa@qq.com ~]# systemctl start mysqld
[aaa@qq.com ~]# mysql
mysql> create database jira default character set utf8 collate utf8_bin;
mysql> grant all on jira.* to 'jira'@'%' identified by '123.com';
安装启动jira
[aaa@qq.com ~]# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.4.1-x64.bin
[aaa@qq.com ~]# chmod +x atlassian-jira-software-7.4.1-x64.bin
[aaa@qq.com ~]# mv atlassian-jira-software-7.4.1-x64.bin /usr/local/src/
# 执行脚本安装后会启动jira
[aaa@qq.com ~]# /usr/local/src/atlassian-jira-software-7.4.1-x64.bin
# 中途需要陆续输入o/1/i/y
# 确定安装
OK [o, Enter], Cancel [c]
o
# 选择安装方式,1为默认
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
# 输入i继续安装
Install [i, Enter], Exit [e]
i
# 启动jira,输入y
Start JIRA Software 7.4.1 now?
Yes [y, Enter], No [n]
y
# 最后输出为
JIRA Software 7.4.1 can be accessed at http://localhost:8080
Finishing installation ...
**jira
需要先停止jira
[aaa@qq.com ~]# /opt/atlassian/jira/bin/stop-jira.sh
...
Tomcat stopped.
下载**包
链接:https://pan.baidu.com/s/1ud4sSHuYJ-IYTwMZc9Jqtw
提取码:70ms
在压缩包中找到两个文件atlassian-extras-2.2.2.jar
/mysql-connector-java-5.1.6-bin.jar
- 其中atlassian-extras-2.jar是用来替换原来的atlassian-extras-2.jar文件,用作**jira系统的。
- 而mysql-connector-java-5.1.42-bin.jar是用来连接mysql数据库的驱动软件包
[aaa@qq.com ~]# mv mysql-connector-java-5.1.6-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
[aaa@qq.com ~]# mv atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
启动jira
[aaa@qq.com ~]# /opt/atlassian/jira/bin/start-jira.sh
...
Tomcat started.
访问http://1.1.1.5:8080
选择—我将设置它自己
生产环境使用—将其设置为我
连接数据库,等待几分钟时间
上一篇: JIRA-部署详解
下一篇: FTP文件管理项目 项目日报(四)
推荐阅读
-
CentOS 7.x安装部署Memcached服务器的详细方法
-
基于Centos7 部署Varnish缓存代理服务器
-
CentOS7 Docker Nginx部署及运行详解
-
详解CentOS的SVN服务器搭建与自动部署全过程
-
.NET Core跨平台部署于Docker(Centos)- 视频教程
-
在centos7下安装和部署java8和mysql
-
详解将Django部署到Centos7全攻略
-
Linux 基于CentOS的LNMP 服务器部署标准 新手简明版
-
阿里云服务器CentOS 6.3下快速安装部署 LAMP 、vsftpd 环境的方法
-
CentOS 6.3下安装部署Oracle服务器图文教程