confluence6.9安装

简介

  • Confluence是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki。使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。
  • Confluence为团队提供一个协作环境。在这里,团队成员齐心协力,各擅其能,协同地编写文档和管理项目。从此打破不同团队、不同部门以及个人之间信息孤岛的僵局,Confluence真正实现了组织资源共享。

环境要求

本次安装已CentOS7.4为例,安装前需要mysqljdk支持。

  • 运行环境 CentOS7.4
  • mysql version 5.7.20
  • jdk java version “1.8.0_191

Confluence安装

下载

下载安装包和注册工具

1
2
3
4
# 安装包下载
wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.9.1-x64.bin
# 注册工具下载
wget http://down.whsir.com/downloads/confluence_crack.zip

设置执行权限

1
chmod +x atlassian-confluence-6.9.1-x64.bin

安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$ ./atlassian-confluence-6.9.1-x64.bin
Unpacking JRE ...
Starting Installer ...
You do not have administrator rights to this machine and as such, some installation options will not be available. Are you sure you want to continue?
Yes [y, Enter], No [n]
输入y或者直接回车
y
This will install Confluence 6.9.1 on your computer.
OK [o, Enter], Cancel [c]
# 输入o或直接回车
o
Click Next to continue, or Cancel to exit Setup.
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
1
See where Confluence will be installed and the settings that will be used.
Installation Directory: /home/xhc/atlassian/confluence
Home Directory: /home/xhc/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: No
Install [i, Enter], Exit [e]
# 输入i或者直接回车
i
Extracting files ...
Please wait a few moments while we configure Confluence.
Installation of Confluence 6.9.1 is complete
Start Confluence now?
Yes [y, Enter], No [n]
# 输入y或者直接回车
y
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.9.1 is complete
Your installation of Confluence 6.9.1 is now ready and can be accessed via
your browser.
Confluence 6.9.1 can be accessed at http://localhost:8090
Finishing installation ...

安装完成会自动启动

打开网页获取ID

访问http://IP:8090

切换语言

获得插件

授权码


走到这一步,就可获取服务器id

破解

破解需要分两步:

  • 一是破解文件
  • 二是获取授权码

破解文件

  • 从服务器上下载/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar文件到windows客户端重命名为atlassian-extras-2.4.jar
  • 运行confluence_keygen.jar(文中最开始的那个破解包,在windows上运行,需要在windows上安装好java)

选择.patch!找到刚才重命名的那个文件打开

打开后在当前目录下可以看到atlassian-extras-2.4.jar和atlassian-extras-2.4.bak两个文件,这里atlassian-extras-2.4.jar已经是破解好的了,将atlassian-extras-2.4.jar名字改回来atlassian-extras-decoder-v2-3.3.0.jar
上传到服务器上的/opt/atlassian/confluence/confluence/WEB-INF/lib/目录,覆盖原来的atlassian-extras-decoder-v2-3.3.0.jar

二、获取授权码

复制网页中的服务器ID,运行破解工具confluence_keygen.jar,破解复制Key到Confluence里,获得授权码,进行下一步

数据库配置

参考文章