• 周日. 6月 26th, 2022

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

ubuntu confluence 6.3.4 破解安装

admin

11月 28, 2021

之前写过一篇confluence的安装,因为自己的mysql自动升级成5.7了,所以之前的confluence仅仅是5.6一下的版本。重新安装

环境

java : 1.8

mysql : 5.7

confluence : 6.3.4

文件包和破解文件:

1. 安装java环境

在我的个人博客中有介绍

配置java环境

export NODE=/usr/local/src/node
export PYTHON=/usr/local/src/python3
export JAVA_HOME=/usr/local/src/java
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${NODE}/bin:${PYTHON}/bin:${JAVA_HOME}/bin:$PATH
export LD_LIBRARY_PATH=/home/dll
2. 安装confluence

[email protected]:/usr/local/src# cp /home/compute/atlassian-confluence-6.3.4-x64.bin ./
[email protected]:/usr/local/src# ls
atlassian-confluence-6.3.4-x64.bin  java  jdk-8u151-linux-x64.tar.gz
[email protected]:/usr/local/src# chmod +x atlassian-confluence-6.3.4-x64.bin

[email protected]:/usr/local/src# ./atlassian-confluence-6.3.4-x64.bin
Unpacking JRE …
Starting Installer …
Aug 05, 2021 11:19:13 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install Confluence 6.3.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 (uses default settings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
1
The following default options cannot be used. You will be asked to provide alternatives for these options.
* Home Directory (Existing home directory)

Default location for Confluence data
[/var/atlassian/application-data/confluence]

See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]
i

Extracting files …
                                                                           

Please wait a few moments while we configure Confluence.
Installation of Confluence 6.3.4 is complete
Start Confluence now?
Yes [y, Enter], No [n]
y

Please wait a few moments while Confluence starts up.
Launching Confluence …
Installation of Confluence 6.3.4 is complete
Your installation of Confluence 6.3.4 is now ready and can be accessed via
your browser.
Confluence 6.3.4 can be accessed at http://localhost:8090
Finishing installation …
[email protected]:/usr/local/src#
2. 此时打开浏览器可以看到

 3. 停止服务,破解

[email protected]:/usr/local/src# /etc/init.d/confluence stop
executing using dedicated user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
—————————————————————————
Using Java: /opt/atlassian/confluence/jre//bin/java
2021-08-05 11:27:20,997 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
—————————————————————————
Using CATALINA_BASE:   /opt/atlassian/confluence
Using CATALINA_HOME:   /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME:        /opt/atlassian/confluence/jre/
Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
Tomcat stopped.
4. 备份atlassian-extras-decoder-v2-3.2.jar 作为破解

[email protected]:/opt/atlassian/confluence/confluence/WEB-INF/lib# cp atlassian-extras-decoder-v2-3.2.jar /home/compute/
[email protected]:/opt/atlassian/confluence/confluence/WEB-INF/lib#
5. 打开破解文件

#将下载到本机的atlassian-extras-decoder-v2-3.2.jar重命名为atlassian-extras-2.4.jar

 

#在本机执行atlassian-extras-decoder-v2-3.2.jar破解操作

6. 执行破解文件 本机必须要安装 java

 制作jar 选择patch  选择刚刚重命名的文件

 完成的标志,jar文件破解成功

7. 刚刚启动成功之后复制serverId,破解

 

#上传破解后jar包到/opt/atlassian/confluence/confluence/WEB-INF/lib,并重命名atlassian-extras-decoder-v2-3.3.0.jar

[email protected]:/opt/atlassian/confluence/confluence/WEB-INF/lib# rm atlassian-extras-decoder-v2-3.2.jar
[email protected]:/opt/atlassian/confluence/confluence/WEB-INF/lib# cp /home/compute/atlassian-extras-decoder-v2-3.2.jar ./
[email protected]:/opt/atlassian/confluence/confluence/WEB-INF/lib#

8. 配置上传

配置数据库 mysql

mysql> create database confluence default character set utf8 COLLATE utf8_bin;
Query OK, 1 row affected (0.00 sec)

mysql> grant all privileges on confluence.* to ‘hett’@’192.168.8.32’ identified by ‘hett’;
Query OK, 0 rows affected, 1 warning (0.01 sec)

mysql>
9.按照页面操作部署

 创建管理员

发表评论

您的电子邮箱地址不会被公开。