CentOS 7 上 安装 jira

步骤

1.安装jdk8
https://www.cnblogs.com/sea-stream/p/10404360.html

2.安装mysql
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server

#开启MySQL服务
systemctl start  mysqld.service
#查看MySQL状态
systemctl status mysqld.service

#获取密码
grep "password" /var/log/mysqld.log

#使用密码登陆
mysql -uroot -p

#修改密码长度规则
mysql> set global validate_password_policy=0;
mysql> set global validate_password_length=1;

#修改root密码
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘111111‘;

3.创建数据库
CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin;

#创建新用户:
CREATE USER ‘jira‘@‘localhost‘ IDENTIFIED BY ‘111111‘;

#新用户授权:
grant all privileges on *.* to [email protected] identified by ‘111111‘; 

#刷新更改
flush privileges;

#测试连接
mysql -u jira -h localhost -p111111

#不使用ssl
set useSSL=false

4.下载jira
链接: https://pan.baidu.com/s/13BQgkh-TE85oMJ5JgsW4Eg
提取码: 99cs 

#上传文件
scp jdk-8u221-linux-x64.tar.gz [email protected]:/root/

#移动到/opt下
mv atlassian-jira-software-7.4.1-x64.bin /opt/

#赋予执行权限
chmod +x atlassian-jira-software-7.4.1-x64.bin

#开始安装
./atlassian-jira-software-7.4.1-x64.bin

#log 信息
[[email protected] opt]# ./atlassian-jira-software-7.4.1-x64.bin
Unpacking JRE ...
Starting Installer ...
九月 29, 2019 3:50:07 下午 java.util.prefs.FileSystemPreferences$1 run
信息: Created user preferences directory.
九月 29, 2019 3:50:07 下午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.

This will install JIRA Software 7.4.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]
1
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: 8080
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.4.1 is complete
Start JIRA Software 7.4.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.4.1 is complete
Your installation of JIRA Software 7.4.1 is now ready and can be accessed
via your browser.
JIRA Software 7.4.1 can be accessed at http://localhost:8080
Finishing installation ...
[[email protected] opt]#

#下载破解文件
链接:https://pan.baidu.com/s/1NbfN00mvnRrAhHPQyUW8zw  密码:d9ov
链接:https://pan.baidu.com/s/1-tfquh1f1b3atqxg1nz2JQ  密码:t8ec
一共有两个,其中
atlassian-extras-3.2.jar是用来替换原来的atlassian-extras-3.2.jar文件,用作破解jira系统的。
mysql-connector-java-5.1.39-bin.jar是用来连接mysql数据库的驱动软件包。

#上传
bogon:Desktop macname$ scp atlassian-extras-3.2.jar mysql-connector-java-5.1.39-bin.jar [email protected]:/root/
[email protected]‘s password:
atlassian-extras-3.2.jar                                                  100%  153KB 476.4KB/s   00:00
mysql-connector-java-5.1.39-bin.jar                                       100%  966KB   1.1MB/s   00:00
bogon:Desktop macname$

# 停止jira
/opt/atlassian/jira/bin/stop-jira.sh
# 启动jira
/opt/atlassian/jira/bin/start-jira.sh
或者
#关闭服务
/etc/init.d/jira stop
#启动服务
/etc/init.d/jira start

#关闭服务
/etc/init.d/jira stop

#移动破解文件
[[email protected] ~]# mv atlassian-extras-3.2.jar mysql-connector-java-5.1.39-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
mv:是否覆盖"/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar"? y
[[email protected] ~]#

#启动服务
/etc/init.d/jira start

#查看日志
tailf /opt/atlassian/jira/logs/catalina.out

#创建文件夹
mkdir -p /opt/atlassian/jira/conf/Catalina/localhost

#删除jira
rm -rf /var/atlassian /opt/atlassian

#安装失败了,好像说是内存不够,谁安装成功了指点下!!!

参考:
https://blog.csdn.net/weixin_40725027/article/details/82760420
https://blog.csdn.net/shangyuanlang/article/details/80972416
https://blog.csdn.net/love8753/article/details/78113447
https://www.cnblogs.com/gentle-awen/p/10114775.html

原文地址:https://www.cnblogs.com/sea-stream/p/11610355.html

时间: 2024-07-30 23:58:52

CentOS 7 上 安装 jira的相关文章

CentOS 7上安装Zabbix Server 3.0 图文详解

转载自 http://www.linuxidc.com/Linux/2016-09/135204.htm CentOS 7上安装Zabbix Server 3.0 图文详解 1.查看系统信息. cat /etc/RedHat-releaseCentOS Linux release 7.0.1406 (Core) uname -a Linux VM_96_155_centos3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_

在CentOS 7上安装phpMyAdmin

原文 在CentOS 7上安装phpMyAdmin phpMyAdmin是一款以PHP为基础,基于Web的MySQL/MariaDB数据库管理工具.虽然已经存在着一些诸如Adminer的轻量级数据库管理工具, 但是phpMyAdmin还是更加广泛应用于网站管理员之中来进行各种MySQL/MariaDB的管理任务.它支持几乎所有MySQL数据库/表的相关操作,比如浏览.创建.复制.删除.重命名.更改,还有MySQL用户/权限管理和数据库导入/导出.以下就是如何在CentOS 6或7上安装phpMy

在CentOS 6上安装Apache和PHP

本文演示如何在CentOS 6上安装Apache和PHP.CentOS 6自带的是Apache 2.2.3和PHP 5.1.6,您可以使用默认的CentOS包管理器进行安装yum.使用yum(而不是使用源代码进行安装)的优点在于您可以获得任何安全更新(分发时),并且依赖关系被自动处理. 安装Apache 运行以下命令: sudo yum install httpd mod_ssl 因为服务器在安装Apache时不会自动启动,所以必须手动启动它. sudo /usr/sbin/apachectl

Linux Centos 系统上安装BT客户端 Transmission

Linux Centos 系统上安装BT客户端 Transmission Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面,以MIT许可证和GNU通用公共许可证双许可证授权,因此是一款自由软件,还被众多linux发行版,包括Ubuntu.Mandriva.Mint.Fedora.Puppy.openSUSE 选作默认BT下载工具:Imageshack的服务使用其技术. 上面已经提到了很多种Linux系统都内置了这软件,可是使用最广的Cento

[openfair]解决在centos x64 上安装openfire出现的错误

在centos x64 上安装openfire,运行  /etc/init.d/openfire start后发现服务器没法开启,查看log日志: nohup: failed to run command `/opt/openfire/jre/bin/java': No such file or directory 很奇怪,我是在centos上安装了java,openfire自带的jre就没法使用了,在论坛上搜索到下面的解决办法: http://community.igniterealtime.

在CentOS 7上安装Jenkins

在CentOS 7上安装Jenkins 安装 添加yum repos,然后安装 sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/RedHat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.keysudo yum install jenkins 如果没有java的话要安装java sudo yum ins

zabbix server3.0在centos 7上安装

安装前准备: 1.1 安装依赖包: yum -y install wget net-snmp-devel OpenIPMI-devel httpd openssl-devel java lrzsz fping-devel libcurl-devel perl-DBI pcre-devel libxml2 libxml2-devel mysql-devel gcc php php-bcmath php-gd php-xml php-mbstring php-ldap php-mysql.x86_6

CentOS 7上安装 MongoDB数据库 4.0.0最新版

MongoDB简介 MongoDB(来自于英文单词"Humongous",中文含义为"庞大")是可以应用于各种规模的企业.各个行业以及各类应用程序的开源数据库.作为一个适用于敏捷开发的数据库,MongoDB的数据模式可以随着应用程序的发展而灵活地更新.与此同时,它也为开发人员提供了传统数据库的功能:二级索引,完整的查询系统以及严格一致性等等. MongoDB能够使企业更加具有敏捷性和可扩展性,各种规模的企业都可以通过使用MongoDB来创建新的应用,提高与客户之间的

在CentOS 7上安装Python3

在CentOS 7上安装Python3 源码包安装 Python官方没有对Linux打包, 需要下载源码包进行编译. 可以自己下载最新版本的Python, 在Python下载页面, 点击Python3.x.x版本对应的Download, 在新页面的Files下, 选择Source release, 选择Gzipped source tarball或者XZ compressed source tarball压缩方式的包, 我选择的是tgz压缩. Python3.6.5 下载源码包 wget htt