centos7.4下Jira6環境部署及破解操作記錄(完整版)

散盡浮華發表於2018-09-02

 

廢話不多說,以下記錄了Centos7針對Jira6的安裝,漢化,破解的操作過程,作為運維筆記留存.

0) 基礎環境

192.168.10.212
Centos7.4
mysql 5.6
jdk 1.8
jira6.3.6.tar.gz
mysql-connector-java-5.1.26.bin.jar    mysql驅動包
JIRA-6.3.3-language-pack-zh_CN.jar     漢化包
atlassian-extras-2.2.2.jar             jira系統破解包
atlassian-universal-plugin-manager-plugin-2.17.13.jar   外掛管理破解包
 
[root@jira6-onde ~]# hostname
jira6-onde
[root@jira6-onde ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
 
關閉selinux
[root@jira6-onde ~]# setenforce 0
setenforce: SELinux is disabled
[root@jira6-onde ~]# getenforce
Disabled
[root@jira6-onde ~]# cat /etc/sysconfig/selinux |grep disabled
SELINUX=disabled
 
關閉防火牆
[root@jira6-onde ~]# systemctl stop firewalld
[root@jira6-onde ~]# firewall-cmd --state
not running

本案例所需要的jira6相關包下載地址: https://pan.baidu.com/s/1ki43TBsray3BQoRudU8CkA
提取密碼:j6nn
下載後存放到本機的/usr/loca/src目錄下.

1) 安裝jdk8環境

將jdk-8u131-linux-x64.rpm下載到/opt目錄下
下載地址:https://pan.baidu.com/s/1pLaAjPp
提取密碼:x27s

[root@jira6-onde ~]# java -version
-bash: java: command not found

如果自帶了java環境,就解除安裝掉
yum list installed |grep java 
yum -y remove java-1.7.0-openjdk* 
yum -y remove tzdata-java.noarch

[root@jira6-onde ~]# cd /usr/local/src/
[root@jira6-onde src]# ll jdk-8u131-linux-x64_.rpm 
-rw-r--r-- 1 root root 169983496 Nov 19  2017 jdk-8u131-linux-x64_.rpm
[root@jira6-onde src]# rpm -ivh jdk-8u131-linux-x64_.rpm --force

[root@jira6-onde src]# vim /etc/profile
......
JAVA_HOME=/usr/java/jdk1.8.0_131
JAVA_BIN=/usr/java/jdk1.8.0_131/bin
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/bin:/sbin/
CLASSPATH=.:/lib/dt.jar:/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH

[root@jira6-onde src]# source /etc/profile
[root@jira6-onde src]# java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

2) 安裝mysql環境

mysql一鍵安裝指令碼
[root@jira6-onde ~]# vim /usr/local/src/mysql_install.sh
#!/bin/bash
#解除安裝系統自帶的Mysql
/bin/rpm -e $(/bin/rpm -qa | grep mysql|xargs) --nodeps
/bin/rm -f /etc/my.cnf
  
#安裝編譯程式碼需要的包
/usr/bin/yum -y install make gcc-c++ cmake bison-devel ncurses-devel
  
#編譯安裝mysql5.6
/usr/sbin/groupadd mysql
/usr/sbin/useradd -g mysql mysql -M -s /sbin/nologin
  
cd /usr/local/src
wget -c http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-5.6/mysql-5.6.39.tar.gz
/bin/tar -zxvf mysql-5.6.39.tar.gz
cd mysql-5.6.39/
/usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql/data -DSYSCONFDIR=/etc -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DWITH_READLINE=1 -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock -DMYSQL_TCP_PORT=3306 -DENABLED_LOCAL_INFILE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci
make && make install
  
#修改/usr/local/mysql許可權
mkdir -p /data/mysql/data
/bin/chown -R mysql:mysql /usr/local/mysql
/bin/chown -R mysql:mysql /data/mysql/data
  
#執行初始化配置指令碼,建立系統自帶的資料庫和表
/usr/local/mysql/scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/data/mysql/data --user=mysql
  
#配置my.cnf
cat > /usr/local/mysql/my.cnf << EOF
[client]
port = 3306
socket = /usr/local/mysql/var/mysql.sock
  
[mysqld]
port = 3306
socket = /usr/local/mysql/var/mysql.sock
  
basedir = /usr/local/mysql/
datadir = /data/mysql/data
pid-file = /data/mysql/data/mysql.pid
user = mysql
bind-address = 0.0.0.0
server-id = 1
sync_binlog=1
log_bin = mysql-bin
  
skip-name-resolve
#skip-networking
back_log = 600
  
max_connections = 3000
max_connect_errors = 3000
##open_files_limit = 65535
table_open_cache = 512
max_allowed_packet = 16M
binlog_cache_size = 16M
max_heap_table_size = 16M
tmp_table_size = 256M
  
read_buffer_size = 1024M
read_rnd_buffer_size = 1024M
sort_buffer_size = 1024M
join_buffer_size = 1024M
key_buffer_size = 8192M
  
thread_cache_size = 8
  
query_cache_size = 512M
query_cache_limit = 1024M
  
ft_min_word_len = 4
  
binlog_format = mixed
expire_logs_days = 30
  
log_error = /data/mysql/data/mysql-error.log
slow_query_log = 1
long_query_time = 1
slow_query_log_file = /data/mysql/data/mysql-slow.log
  
performance_schema = 0
explicit_defaults_for_timestamp
  
##lower_case_table_names = 1
  
skip-external-locking
  
default_storage_engine = InnoDB
##default-storage-engine = MyISAM
innodb_file_per_table = 1
innodb_open_files = 500
innodb_buffer_pool_size = 2048M
innodb_write_io_threads = 1000
innodb_read_io_threads = 1000
innodb_thread_concurrency = 8
innodb_purge_threads = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 4M
innodb_log_file_size = 32M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
  
bulk_insert_buffer_size = 8M
myisam_sort_buffer_size = 8M
myisam_max_sort_file_size = 2G
myisam_repair_threads = 1
  
interactive_timeout = 28800
wait_timeout = 28800
  
[mysqldump]
quick
max_allowed_packet = 16M
  
[myisamchk]
key_buffer_size = 8M
sort_buffer_size = 8M
read_buffer = 4M
write_buffer = 4M
  
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
port = 3306
EOF
  
#啟動mysql服務
cd /usr/local/mysql
/bin/mkdir var
/bin/chown -R mysql.mysql var
cp support-files/mysql.server /etc/init.d/mysql
/sbin/chkconfig mysql on
service mysql start
  
#設定環境變數
echo "export PATH=$PATH:/usr/local/mysql/bin" >> /etc/profile
source /etc/profile
  
#設定mysql登陸密碼,初始密碼為123456
/bin/mkdir -p /var/lib/mysql
ln -s /usr/local/mysql/var/mysql.sock /var/lib/mysql/mysql.sock
mysql -e "SET PASSWORD = PASSWORD('123456');"
mysql -p123456 -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;"
mysql -p123456 -e "FLUSH PRIVILEGES;"


賦予指令碼執行許可權,並進行指令碼安裝
[root@jira6-onde ~]# chmod 755 /usr/local/src/mysql_install.sh
[root@jira6-onde ~]# /bin/bash -x /usr/local/src/mysql_install.sh

[root@jira6-onde ~]# cat /etc/profile|grep mysql
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/bin:/sbin/:/usr/local/mysql/bin
[root@jira6-onde ~]# source /etc/profile

[root@jira6-onde ~]# ps -ef|grep mysql
root     17699     1  0 16:28 pts/1    00:00:00 /bin/sh /usr/local/mysql//bin/mysqld_safe --datadir=/data/mysql/data --pid-file=/data/mysql/data/mysql.pid
mysql    18475 17699  0 16:28 pts/1    00:00:04 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql/ --datadir=/data/mysql/data --plugin-dir=/usr/local/mysql//lib/plugin --user=mysql --log-error=/data/mysql/data/mysql-error.log --pid-file=/data/mysql/data/mysql.pid --socket=/usr/local/mysql/var/mysql.sock --port=3306
root     18731  1294  0 18:12 pts/1    00:00:00 grep --color=auto mysql
[root@jira6-onde ~]# lsof -i:3306
COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
mysqld  18475 mysql   14u  IPv4 371287      0t0  TCP *:mysql (LISTEN)

確保mysql編碼是utf8
[root@jira6-onde ~]# mysql -p123456
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.6.39-log Source distribution

Copyright (c) 2000, 2018, 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> show variables like "%character%";show variables like "%collation%";
+--------------------------+----------------------------------+
| Variable_name            | Value                            |
+--------------------------+----------------------------------+
| character_set_client     | utf8                             |
| character_set_connection | utf8                             |
| character_set_database   | utf8                             |
| character_set_filesystem | binary                           |
| character_set_results    | utf8                             |
| character_set_server     | utf8                             |
| character_set_system     | utf8                             |
| character_sets_dir       | /usr/local/mysql/share/charsets/ |
+--------------------------+----------------------------------+
8 rows in set (0.00 sec)

+----------------------+-----------------+
| Variable_name        | Value           |
+----------------------+-----------------+
| collation_connection | utf8_general_ci |
| collation_database   | utf8_general_ci |
| collation_server     | utf8_general_ci |
+----------------------+-----------------+
3 rows in set (0.01 sec)

mysql> 


建立jira資料庫及jira使用者
mysql> CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin;
Query OK, 1 row affected (0.09 sec)

mysql> grant all on jira.* to 'jira'@'%' identified by 'jirapasswd';
Query OK, 0 rows affected (0.05 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.12 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| jira               |
| mysql              |
| performance_schema |
| test               |
+--------------------+
5 rows in set (0.00 sec)

mysql> 


手動測試下jira連線mysql
[root@jira6-onde ~]# mysql -u jira -h 192.168.10.212 -pjirapasswd
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.39-log Source distribution

Copyright (c) 2000, 2018, 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> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| jira               |
| test               |
+--------------------+
3 rows in set (0.00 sec)

mysql> 

3) 安裝jira

這裡直接使用的是standalone包,裡面整合了tomcat環境;可以直接解壓即完成安裝,記得copy到你準備安裝的目錄.
[root@jira6-onde ~]# ll /usr/local/src/atlassian-jira-6.3.6.tar.gz
-rw-r--r-- 1 root root 244240844 Jan 26  2017 /usr/local/src/atlassian-jira-6.3.6.tar.gz
[root@jira6-onde ~]# mkdir -p /opt/jira/ 
[root@jira6-onde ~]# cd /usr/local/src/
[root@jira6-onde src]# tar -zvxf atlassian-jira-6.3.6.tar.gz -C /opt/jira/
[root@jira6-onde src]# cd /opt/jira/
[root@jira6-onde jira]# ls
atlassian-jira-6.3.6-standalone

修改埠(預設是8080埠)
[root@jira6-onde jira]# vim atlassian-jira-6.3.6-standalone/conf/server.xml
.......
<Connector port="8080"

修改jira_home
[root@jira6-onde jira]# mkdir /opt/jirahome
[root@jira6-onde jira]# ls /opt/
jira  jirahome
[root@jira6-onde jira]# vim jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties
.......
jira.home = /opt/jirahome

預設的jira是不支援MySQL的,所以需要手動新增jar包
[root@jira6-onde jira]# cd /usr/local/src/
[root@jira6-onde src]# ll *.jar
-rw-r--r-- 1 root root  146477 Sep  2 11:56 atlassian-extras-2.2.2.jar
-rw-r--r-- 1 root root 5322949 Dec 18  2017 atlassian-universal-plugin-manager-plugin-2.17.13.jar
-rw-r--r-- 1 root root  298526 Sep  2 11:57 JIRA-6.3.3-language-pack-zh_CN.jar
-rw-r--r-- 1 root root  855948 Sep  2 11:57 mysql-connector-java-5.1.26-bin.jar

先新增下面jar包
[root@jira6-onde src]# \cp -rf mysql-connector-java-5.1.26-bin.jar /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/
[root@jira6-onde src]# ll /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/mysql-connector-java-5.1.26-bin.jar 
-rw-r--r-- 1 root root 855948 Sep  2 20:36 /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/mysql-connector-java-5.1.26-bin.jar

需要啟動jira,才能使上面替換或新增的jar包生效
[root@jira6-onde src]# /opt/jira/atlassian-jira-6.3.6-standalone/bin/startup.sh
 
[root@jira6-onde src]# ps -ef|grep jira
root     18820     1 99 18:54 pts/0    00:00:18 /usr/bin/java -Djava.util.logging.config.file=/opt/jira/atlassian-jira-6.3.6-standalone/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=384m -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/opt/jira/atlassian-jira-6.3.6-standalone/endorsed -classpath /opt/jira/atlassian-jira-6.3.6-standalone/bin/bootstrap.jar:/opt/jira/atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar -Dcatalina.base=/opt/jira/atlassian-jira-6.3.6-standalone -Dcatalina.home=/opt/jira/atlassian-jira-6.3.6-standalone -Djava.io.tmpdir=/opt/jira/atlassian-jira-6.3.6-standalone/temp org.apache.catalina.startup.Bootstrap start
root     18840  2653  0 18:54 pts/0    00:00:00 grep --color=auto jira
[root@jira6-onde src]# lsof -i:8080
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    18820 root   54u  IPv6 371886      0t0  TCP *:webcache (LISTEN)

接著訪問http://192.168.10.212:8080,進行jira的安裝(最好先點選"Test Connection"測試下連線資料庫是否成功).這個過程比較長,需要等待一會兒~

如下,登入atlassian,申請licesen(這個之前在安裝confluence文章裡已經提到過了),申請過程這裡省略......

接著進行破解操作

[root@jira6-onde src]# \cp -f atlassian-extras-2.2.2.jar /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/
[root@jira6-onde src]# \cp -rf atlassian-universal-plugin-manager-plugin-2.17.13.jar /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/
[root@jira6-onde src]# ll /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar 
-rw-r--r-- 1 500 mysql 146477 Sep  2 21:31 /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar
[root@jira6-onde src]# ll /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar 
-rw-r--r-- 1 500 mysql 5322949 Sep  2 21:31 /opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar

重啟jira,使之生效!
[root@jira6-onde src]# lsof -i:8080
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    21885 root   54u  IPv6 476775      0t0  TCP *:webcache (LISTEN)
[root@jira6-onde src]# kill -9 21885
[root@jira6-onde src]# /opt/jira/atlassian-jira-6.3.6-standalone/bin/startup.sh 
[root@jira6-onde src]# lsof -i:8080 
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    22247 root   54u  IPv6 478313      0t0  TCP *:webcache (LISTEN)

Jira漢化
JIRA安裝部署完成之後,重新啟動系統之後,管理員登入,找到外掛"Add-ons"->"Manage add-ons"->"Upload",選擇JIRA-6.3.3-language-pack-zh_CN.jar,觀察日誌是否有報錯,如果報錯,重啟JIRA之後,重新上傳漢化檔案漢化外掛安裝成功之後,找到JIRA系統配置,選擇中文配置!

如果漢化包上傳成功後,則到/opt/jirahome/plugins/installed-plugins目錄下可以看到安裝的漢化包

漢化成功後,則到/opt/jirahome/plugins/installed-plugins目錄下可以看到安裝的漢化包.
[root@jira6-onde src]# cd /opt/jirahome/plugins/installed-plugins
[root@jira6-onde installed-plugins]# ll
total 292
-rw-r--r-- 1 root root 298526 Sep  2 21:37 plugin_8426103832592886830_JIRA-6.3.3-language-pack-zh_CN.jar

重啟jira服務
[root@jira6-onde ~]# lsof -i:8080
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    22247 root   54u  IPv6 478313      0t0  TCP *:webcache (LISTEN)
java    22247 root  703u  IPv6 478446      0t0  TCP ceph-node2:webcache->192.168.10.39:32958 (ESTABLISHED)
java    22247 root  708u  IPv6 478444      0t0  TCP ceph-node2:webcache->192.168.10.39:32954 (ESTABLISHED)
java    22247 root  710u  IPv6 478445      0t0  TCP ceph-node2:webcache->192.168.10.39:32956 (ESTABLISHED)
[root@jira6-onde ~]# kill -9 22247
[root@jira6-onde ~]# lsof -i:8080 
[root@jira6-onde ~]# /opt/jira/atlassian-jira-6.3.6-standalone/bin/startup.sh 
[root@jira6-onde ~]# lsof -i:8080
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    22487 root   54u  IPv6 478484      0t0  TCP *:webcache (LISTEN)

然後登入jira,點選右上角的"System"->"Edit Setting",將language全部改為中文即可!

漢化若是不成功,排查如下:

記住是兩個檔案,一定要覆蓋:
atlassian-universal-plugin-manager-plugin-2.17.13.jar
路徑:/opt/jira/atlassian-jira-6.3.6-standalone/
atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar
 
atlassian-extras-2.2.2.jar
路徑:/opt/jira/atlassian-jira-6.3.6-standalone/
atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar

重啟jira

Jira破解授權
如上,已經提前將下載下來的atlassian-extras-2.2.2.jar拷貝到/opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/目錄下了),接著點選右上角的"系統"->"授權",在授權框裡輸入(特別注意在上面安裝過程中申請的ServerID和LicenseID要記住,這裡會用到)如下資訊,然後點選"增加"

Description=JIRA: Commercial,
CreationDate=你的安裝日期,格式(yyyy-mm-dd),
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=你想設定的失效日期如:2099-12-31,
Organisation=joiandjoin,
SEN=你申請到的SEN注意沒有字首LID,(這個在Atlassian裡申請的Licenses記錄裡可以檢視到)
ServerID=你申請到的ServerID,
jira.NumberOfUsers=-1,
LicenseID=LID你申請到的SEN,注意LID字首不要丟掉,
LicenseExpiryDate=你想設定的失效日期如:2099-12-31,
PurchaseDate=你的安裝日期,格式(yyyy-mm-dd)

本次安裝授權碼例項為:

Description=JIRA: Commercial,
CreationDate=2018-09-02,
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31,
Organisation=kevingrace,
SEN=SEN-L12257170,
ServerID=BM60-ZTT5-OI6Y-W1O5,
jira.NumberOfUsers=-1,
LicenseID=AAABlA0ODAoPeNp9kk9Pg0AQxe98ik286AECxLbahESFPWBaaAA1Gi9bOqWrdCGzC9VvL/9M1dYed
3fevN+82bO4EiSGkpg2Ma+m9nh6OSKulxDbtK60DAHEpihLQGPGUxAS6IorXgiHBgmNFpEfUy2ot
kvAcP0gAaWjW5pbCMVSFbAtODsmMrnhyyIvahD8JtsynhtpsdXeODLjQLuoMN0wCR5T4LQQunmtm
7Y22CefJXR93XA+p5Hr386+n+hHyfFzr7PMVjew0HljewImBqwBfc+5m49N/SVJRnroj5/1Jysc9
aQlFqsqVUZ70GWxVjuGYDSteQ2OwgpOlTVUzAWhAPvSuFrKFHnZRbkX/5/xkU0ci6KZsjERTKT/x
HGC8WAVg08Tysz3YhroM8u2RxNrYvZtDoaigXOk7LhbrBi2yjXLJWghZkxwybqx36HmIkOWguYid
Hd/f0Peoz02pK3C/pVPh1Qil8NePNhnfe9HtyQeIMh5OwLpZ7h4nRJas7zqDHv0g+2eiP4nwU/dv
md//gIrZzIEMC0CFQCGovzbyMehzEEPfqRQEeG7UhoINwIUTVukRjIpNshAf4YMNQUI+jNYDRg=X
02jj,
LicenseExpiryDate=2099-12-31,
PurchaseDate=2018-09-02

上面授權資訊增加後,就可以看到授權資訊更新了,這樣就表示破解成功,會看到如下成功資訊, 如下圖,則破解後的Jira可以使用到2099年12月30號!!!

 

注意:
1) jira服務啟動日誌是/opt/jira/atlassian-jira-6.3.6-standalone/logs/catalina.out
2) jira服務操作日誌是/opt/jirahome/log/atlassian-jira.log

===============Jira6 Agile外掛破解================
1) 首先登入Jira後,點選頁面上方的Agile選項,進行安裝,這個安裝只是試用Jira Agile,安裝後,接著就可以進行Agile外掛的破解操作了!
2) 如上已經將將jira agile破解包atlassian-universal-plugin-manager-plugin-2.17.13.jar拷貝替換在JIRA的安裝目錄/opt/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/中了,然後重啟jira服務. 接著登入jira,點選右上角的"外掛"->"外掛管理" -》 找到jira agile ->更新授權碼,破解內容如下:

Description=JIRA Agile (formerly GreenHopper) for JIRA\: Commercial,  
NumberOfUsers=-1,  
CreationDate=2018-09-02,  
Evaluation=false,  
greenhopper.LicenseEdition=ENTERPRISE,  
licenseVersion=2,  
MaintenanceExpiryDate=2099-01-01, 
Organisation=saper,  
greenhopper.active=true,  
SEN=SEN-L4390388, 
ServerID=BQJE-RNSR-9NMG-JDWN, 
LicenseExpiryDate=2099-01-01, 
LicenseTypeName=COMMERCIAL,  
PurchaseDate=2018-09-02 

破解成功後,檢視頁面顯示的授權資訊,可以看到設定的到期時間了.

相關文章