CentOS 7 上 安装 jira

步骤
.安装jdk8
https://www.cnblogs.com/sea-stream/p/10404360.html .安装mysql
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-.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=;
mysql> set global validate_password_length=; #修改root密码
ALTER USER 'root'@'localhost' IDENTIFIED BY ''; .创建数据库
CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin; #创建新用户:
CREATE USER 'jira'@'localhost' IDENTIFIED BY ''; #新用户授权:
grant all privileges on *.* to jira@localhost identified by ''; #刷新更改
flush privileges; #测试连接
mysql -u jira -h localhost -p111111 #不使用ssl
set useSSL=false .下载jira
链接: https://pan.baidu.com/s/13BQgkh-TE85oMJ5JgsW4Eg
提取码: 99cs #上传文件
scp jdk-8u221-linux-x64.tar.gz root@x.x.x.x:/root/ #移动到/opt下
mv atlassian-jira-software-7.4.-x64.bin /opt/ #赋予执行权限
chmod +x atlassian-jira-software-7.4.-x64.bin #开始安装
./atlassian-jira-software-7.4.-x64.bin #log 信息
[root@xxx opt]# ./atlassian-jira-software-7.4.-x64.bin
Unpacking JRE ...
Starting Installer ...
九月 , :: 下午 java.util.prefs.FileSystemPreferences$ run
信息: Created user preferences directory.
九月 , :: 下午 java.util.prefs.FileSystemPreferences$ run
信息: Created system preferences directory in java.home. This will install JIRA Software 7.4. 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) [], Custom Install (recommended for advanced users) [, Enter], Upgrade an existing JIRA installation [] 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:
RMI Port:
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. is complete
Start JIRA Software 7.4. 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. is complete
Your installation of JIRA Software 7.4. is now ready and can be accessed
via your browser.
JIRA Software 7.4. can be accessed at http://localhost:8080
Finishing installation ...
[root@xxx 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.-bin.jar是用来连接mysql数据库的驱动软件包。 #上传
bogon:Desktop macname$ scp atlassian-extras-3.2.jar mysql-connector-java-5.1.-bin.jar root@x.x.x.x:/root/
root@x.x.x.x's password:
atlassian-extras-3.2.jar % 153KB .4KB/s :
mysql-connector-java-5.1.-bin.jar % 966KB .1MB/s :
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 #移动破解文件
[root@xxx ~]# mv atlassian-extras-3.2.jar mysql-connector-java-5.1.-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
[root@xxx ~]# #启动服务
/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
CentOS 7 上 安装 jira的更多相关文章
- 在CentOS 7上安装.NET Core R2跑Hello World
前言 在上个月.NET Core出了最新版本预览版,只是在Window系统上试验了一下.原本想等发布正式版的时候在linux系统上试试,可能还需要一段时间,刚好有空可以折腾一下. 由于之前安装的Ubu ...
- 如何在 CentOS 7 上安装 Redis 服务器
大家好,本文的主题是 Redis,我们将要在 CentOS 7 上安装它.编译源代码,安装二进制文件,创建.安装文件.在安装了它的组件之后,我们还会配置 redis ,就像配置操作系统参数一样,目标就 ...
- Linux Centos 系统上安装BT客户端 Transmission
Linux Centos 系统上安装BT客户端 Transmission Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面,以MIT许可证和G ...
- 在CentOS 7上安装phpMyAdmin
原文 在CentOS 7上安装phpMyAdmin phpMyAdmin是一款以PHP为基础,基于Web的MySQL/MariaDB数据库管理工具.虽然已经存在着一些诸如Adminer的轻量级数据库管 ...
- 在CentOS 6上安装Apache和PHP
本文演示如何在CentOS 6上安装Apache和PHP.CentOS 6自带的是Apache 2.2.3和PHP 5.1.6,您可以使用默认的CentOS包管理器进行安装yum.使用yum(而不是使 ...
- CentOS Linux上安装Oracle11g笔记
CentOS Linux上安装Oracle11g 到 otn.oracle.com 网站上下载 Linux版的oracle 11g 编辑 /etc/sysctl.conf : kernel.shmal ...
- 如何在CentOS 7上安装Munin
在CentOS 7上安装Munin 首先我们需要在我们的系统中添加EPEL仓库. yum install epel-release 步骤2.安装LAMP(Linux,Apache,MariaDB,PH ...
- centos 7 上安装 testlink 1.9.15/1.9.16/1.9.17/1.9.18 (mysql/php/httpd)
1.9.18 的System Requirements - server.注意,适用于 1.9.15 及以后. Server environment should consist of: web-se ...
- Jenkins安装 CentOS 7上安装Jenkins
CentOS 7上安装Jenkins Jenkins 安装 只安装不介绍 步骤1:更新CentOS 7 Linux系统管理员的最佳做法之一是使系统保持最新.安装最新的稳定包,然后重新启动. 1 2 ...
随机推荐
- 接口XMPPConnection
接口XMPPConnection 所有已知的实现类: AbstractXMPPConnection,XMPPBOSHConnection,XMPPTCPConnection 公共接口XMPPConne ...
- python numPy模块 与numpy里的数据类型、数据类型对象dtype
学习链接:http://www.runoob.com/numpy/numpy-tutorial.html 官方链接:https://numpy.org/devdocs/user/quickstart. ...
- 【转载】C#通过InsertAt方法在DataTable特定位置插入一条数据
在C#中的Datatable数据变量的操作过程中,可以通过DataTable变量的Rows属性的InsertAt方法往DataTable的指定位置行数位置插入一个新行数据,即往DataTable表格指 ...
- EntityFramework DBContext 类动态控制 数据库连接(支持Oracle,SQL server)
public class ManagementDBContext : DbContext { public static string configString = Conf ...
- Linux配置swap
根据自己的物理内存分配合适的swap大小 下面是合适的配置 物理内存 交换分区(swap) <=4G 至少2G 4-16G 至少4G 16G-64 至少8G 下面是操作步骤 1.首先查看我们的内 ...
- Hadoop的伪分布式的安装
查看下载地址:http://archive.cloudera.com/cdh5/cdh/5/hadoop-2.6.0-cdh5.4.0-src.tar.gz 解压hadoop-2.6.0-cdh5.4 ...
- 【python】多任务(1. 线程)
线程执行的顺序是不确定,可以通过适当的延时,保证某一线程先执行 基础语法 # 多线程的使用方式 import threading def test1():... # 如果创建Thread时执行的函数, ...
- HTTPS 原理及配置
目录 一.HTTPS 身份验证介绍 二.windows 环境下配置 tomcat HTTPS 三.linux 环境下配置 tomcat HTTPS 一.HTTPS 身份验证介绍 1. HTTPS 原理 ...
- yaml文件配置logger
yaml 今天用yaml文件写了一下logging的配置,文件如下: version: 1 disable_existing_loggers: False formatters: simple: fo ...
- Odoo字段类型详解
转载请注明原文地址:https://www.cnblogs.com/ygj0930/p/10826099.html 一:基本字段类型 Binary:二进制类型,用于保存图片.视频.文件.附件等,在 ...