Jira8.0.2安裝及破解


最近開發部總監需要部署JIRA管理項目,就安裝了一個JIRA8.5.7版安裝並破解后,有天斷電重啟了,發現啟動不了提示連接不上數據庫。后來我又換了台機器重新安裝后又進行了重啟發現此破解版本存在問題。並了保證能安全使用。就選擇使用舊版本8.0.2.

下面我就把自己的安裝過程做一個記錄備忘。

一、准備安裝文件

二、安裝JDK1.8

三、安裝並配置MYSQL5.7,建立JIRA數據庫及用戶

四、安裝JIRA並破解

 

1、准備安裝文件

需要用到的文件:

atlassian-jira-software-8.0.2-x64.bin

atlassian-extras-3.2.jar

jdk-8u201-linux-x64.rpm

mysql-connector-java-5.1.49.jar

 

2、安裝JDK1.8

上傳 jdk-8u201-linux-x64.rpm

安裝jdk

rpm -ivh   jdk-8u201-linux-x64.rpm

查看是否安裝成功: java -version

 

3、安裝並配置MYSQL5.7,建立JIRA數據庫及用戶

看一下CentOS 7系統是否已安裝mysql歷史版本

rpm -qa|grep mysql
rpm -qa|grep mariadb

存在mysql歷史版本可用以下命令,依次進行卸載。

yum -y remove  mysql安裝包名稱
yum -y remove  mariadb安裝包名稱

CentOS7默認yum安裝數據庫是mariadb,因此需要通過repo源進行安裝mysql最新版本。

[root@localhost ~]# wget http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm
[root@localhost ~]# rpm -ivh mysql57-community-release-el7-8.noarch.rpm
[root@localhost ~]# yum install -y mysql mysql-server
[root@localhost ~]# mysql -V   //查看當前安裝mysql版本

mysql5.7安裝完成后,初始密碼為隨機密碼,需要修改一下密碼.

[root@localhost ~]# systemctl start mysqld   //啟動mysql服務
[root@localhost ~]# grep "password" /var/log/mysqld.log  //通過log查看初始密碼
2019-09-18T08:17:00.010786Z 1 [Note] A temporary password is generated for root@localhost: i8d?ur_#rr+O    //i8d?ur_#rr+O此為mysql初始密碼
[root@localhost ~]# mysql -u root -p  
Enter password:                         //輸入初始密碼i8d?ur_#rr+O
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.27
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> 

mysql密碼重置

mysql> alter user 'root'@'localhost' identified by 'Password@123..';   //重置mysql密碼為:Password@123..
Query OK, 0 rows affected (0.00 sec)

mysql> update mysql.user set host='%' where host='localhost';  //root用戶可使用任意IP登錄數據庫
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3  Changed: 3  Warnings: 0

mysql> flush privileges;   //刷新權限

mysql默認配置的路徑:

  • 配置文件:/etc/my.cnf
  • 數據庫文件:/var/lib/mysql
  • 日志文件:/var/log/var/log/mysqld.log
  • 服務啟動腳本:/usr/lib/systemd/system/mysqld.service
  • socket文件:/var/run/mysqld/mysqld.pid

JRIA數據庫創建及用戶創建:

create database jira default character set utf8 collate utf8_bin;

grant all on jira.* to 'jira@’%' identified by 'jira';

 flush privileges;

 

4、安裝JIRA並破解

上傳atlassian-jira-software-8.0.2-x64.bin到根目錄。

更改此文件權限為可執行

chmod +x atlassian-jira-software-8.0.2-x64.bin

安裝Jira

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

依次選擇安裝,最后選n 先不啟動JIRA.

對JIRA進行破解、先備份文件再復制破解文件、復制數據連接JAR文件、

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

 cp atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/

 

cp mysql-connector-java-5.1.49.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/

啟動JIRA服務  /opt/atlassian/jira/bin/start-jira.sh

啟動以后進行數據庫連接配置。

如下是配置成功后進入系統可以看到系統已破解。

參考鏈接:

https://www.xiaosige.com/post/afb30e04.html

https://www.liuwg.com/archives/jira

https://blog.csdn.net/qq_44656741/article/details/114536414


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM