1898  
查询码:00000052
linux安装破解Confluence
作者: 文艺范儿 于 2020年04月15日 发布在分类 / Linux / 服务安装 下,并于 2020年11月18日 编辑
confluence wiki

linux安装破解Confluence

Confluenceatlassian公司的产品,是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki。使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。

是个非常酷的东西,这里记录一下如何安装并破解Confluence

准备环境:

centos7

jdk8

mysql 5.7.22

1.1 Confluence下载与安装

Confluence的安装非常简单,去官网下载最新的安装程序即可。

最新版本下载链接:

wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-7.5.0-x64.bin

# 下载安装程序

wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.13.11-x64.bin

# 授权安装程序执行权限

chmod a+x atlassian-confluence-6.13.11-x64.bin

# 执行安装程序,进行安装:

./atlassian-confluence-6.13.11-x64.bin

## o确定安装,c取消

This will install Confluence 6.13.11 on your computer.

OK [o, Enter], Cancel [c]

o

Click Next to continue, or Cancel to exit Setup.

##选择2自定义安装

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]

2


Select the folder where you would like Confluence 6.13.11 to be installed,

then click Next.

##自定义安装目录:/home/deploy/atlassian/confluence

Where should Confluence 6.13.11 be installed?

[/opt/atlassian/confluence]

/home/deploy/atlassian/confluence


##自定义数据存放目录:/home/deploy/atlassian/application-data/confluence

Default location for Confluence data

[/var/atlassian/application-data/confluence]

/home/deploy/atlassian/application-data/confluence


Configure which ports Confluence will use.

Confluence requires two TCP ports that are not being used by any other

applications on this machine. The HTTP port is where you will access

Confluence through your browser. The Control port is used to Startup and

Shutdown Confluence.

##选1使用默认端口

Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]

1


Confluence can be run in the background.

You may choose to run Confluence as a service, which means it will start

automatically whenever the computer restarts.

##安装开机自启动,可后台运行

Install Confluence as Service?

Yes [y, Enter], No [n]

y


Extracting files ...

                                                                          


Please wait a few moments while we configure Confluence.


Installation of Confluence 6.13.11 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.13.11 is complete

Your installation of Confluence 6.13.11 is now ready and can be accessed via

your browser.

Confluence 6.13.11 can be accessed at http://localhost:8090

Finishing installation ...


# 安装完成,访问本机的8090端口进行web端安装

# 开放防火墙端口

firewall-cmd --add-port=8090/tcp --permanent

firewall-cmd --add-port=8000/tcp --permanent

firewall-cmd –reload

1.2 进行破解

    Confluence的破解,需要用到破解工具,首先下载破解工具到你的个人电脑,不是centos服务器。下载地址:见附件:解压密码:eefwe2rd

然后按照下面的步骤进行:

1.2.1 浏览器访问 IP:8090

访问第一步安装好的Confluence,选择语言为中文-->选择产品安装-->插件先不选,直接下一步--> 记录下server ID。(本机为:BEIH-1N6U-ICY2-T207

粘贴图片


1.2.2 进行破解

# 关闭Confluence

cd /home/deploy/atlassian/confluence/  

bin/stop-confluence.sh

# confluence 下面的一个atlassian-extras-decoder-v2-3.4.1.jar包复制一份出来

cp confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar ~/

# 将其改名为atlassian-extras-2.4.jar

mv ~/atlassian-extras-decoder-v2-3.4.1.jar ~/atlassian-extras-2.4.jar

# 将改名后的atlassian-extras-2.4.jar 传到本地

然后本地电脑操作,需安装java环境:

①    打开下载的破解工具,运行confluence_keygen.jar 

②    将记录的server ID填入,Name随便填。

③    点击gen, 生成key并记录。

粘贴图片

④    点击patch,选择刚下传到本地的atlassian-extras-2.4.jar文件进行破解。

OK,破解完成后,将破解后的文件传回服务器

# 传回服务器后,将名称改回之前的名称

mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.4.1.jar

# 然后覆盖回原路径

mv atlassian-extras-decoder-v2-3.4.1.jar /home/deploy/atlassian/confluence/confluence/WEB-INF/lib/ 

1.2.3 配置修改mysql并上传mysql驱动

    Confluence本身是没有集成mysql驱动的,需要自己下载并上传,原本在你安装的时候,输入key之后,会需要填入mysql连接信息,那里会有链接指向官方文档,教你如何配置mysql。但是配置完成后需要重启,会导致前面的破解出问题,所以,这里要一起完成后再重新启动。官方教程文档地址如下:

https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html

具体操作,按照官方文档来就行,然后下载mysql的驱动,上传到指定文件夹。

见附件:



cp mysql-connector-java-5.1.39-bin.jar /home/deploy/atlassian/confluence/confluence/WEB-INF/lib/

 

1.2.4 重新启动Confluence并完成后续安装

需要先在mysql创建数据库,并进行授权。

mysql> create database confluence default character set utf8 collate utf8_bin;

重启confluence

cd /home/deploy/atlassian/confluence/

bin/start-confluence.sh

完成上述步骤后,会回到输入key的界面,输入上面记录的key,点击下一步 --> 然后进行配置数据库 --> 推荐使用示范站点,先熟悉Confluence,然后再自行进行设置 --> 用户管理可以选择与jira进行集成,否则还是选择第一个自己管理用户和用户组。 --> 配置系统管理员账号  --> 完成。

cd /home/deploy/atlassian/confluence/

bin/start-confluence.sh

    每一步的图如下:

粘贴图片

粘贴图片

粘贴图片

粘贴图片

粘贴图片

粘贴图片

OK,到此安装完成。




 推荐知识

 历史版本

修改日期 修改人 备注
2020-11-18 10:44:22[当前版本] 文艺范儿 格式调整
2020-06-04 18:06:29 文艺范儿 格式调整
2020-04-24 22:10:46 文艺范儿 格式调整
2020-04-24 22:07:23 文艺范儿 格式调整

 附件

附件类型

ZIPZIP RARRAR PNGPNG

文艺知识分享平台 -V 4.9.5 -wcp
京公网安备100012199188号 京ICP备2021030911号