Confluence 安装及破解 概述 安装 破解 配置

概述

Confluence 是一个专业的企业知识管理与协同软件,也可以用于构建企业 wiki。使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。
到官网下载最新版本,截止目前最新版本为 6.4.2
默认可以免费试用 30 天,如果还想继续使用,就需要购买 license 或者破解。
新版已将汉化包集成,所以不需要去下载额外的汉化包,这就方便多了。
Confluence 默认选的数据库是 PostgreSQLMySQL 也行,建议用 PostgreSQL

安装

官网下载最新版本。

$ cd /opt
$ wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.4.2-x64.bin

授予执行权限。

$ chmod +x atlassian-confluence-6.4.2-x64.bin

安装。

$ sudo ./atlassian-confluence-6.4.2-x64.bin

可以自定义安装,也可以默认安装,笔者采用自定义安装,需要制定安装路径和数据存放路径。

Unpacking JRE ...
Starting Installer ...
Oct 11, 2017 6:09:21 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Oct 11, 2017 6:09:21 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install Confluence 6.4.2 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]
2

Where should Confluence 6.4.2 be installed?
[/opt/atlassian/confluence]
/usr/local/confluence
Default location for Confluence data
[/var/atlassian/application-data/confluence]
/mnt/confluence-data
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.
Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]

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.4.2 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.4.2 is complete
Your installation of Confluence 6.4.2 is now ready and can be accessed via
your browser.
Confluence 6.4.2 can be accessed at http://localhost:8090
Finishing installation ...

至此,可以在浏览器中输入 http://localhost:8090 或者 http://ip:8090,即可看到初始化界面。

破解

进入初始化界面,语言选择中文,当文字切换好后,界面将显示中文,此时选中“产品安装”,点击下一步,继续下一步(因为没有授权,所以不需要选中任何插件),此时进入 License key 界面,记下 Server ID,破解需要。
拷贝 atlassian-extras-decoder-v2-3.2.jar

scp root@ip:/usr/local/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar ./

atlassian-extras-decoder-v2-3.2.jar 重命名为 atlassian-extras-2.4.jar

$ mv atlassian-extras-decoder-v2-3.2.jar atlassian-extras-2.4.jar

运行破解程序。

$ sudo ./keygen.sh

后面会给出破解程序下载地址。因为破解程序运行需要图形界面,故建议在 windows 或者 mac 上破解,或者让 linux 支持图形界面,笔者本次破解就是在 mac 上进行的,界面如下:

Name:可以随便填
Server ID:就是之前记录的 Server ID
点击“.patch”选中 atlassian-extras-2.4.jar
点击“.gen!”生成 key
记下生成的 key
可以发现,会生成一个 atlassian-extras-2.4.bak,目前还不知该文件用途。
atlassian-extras-2.4.jar 重命名回来。

$ mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.2.jar

atlassian-extras-decoder-v2-3.2.jar 替换同名文件。

$ scp ./atlassian-extras-decoder-v2-3.2.jar root@ip:/usr/local/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar

重启 confluence

$ /etc/init.d/confluence restart

License key 界面,将 key 填入 Confluence 栏,点击下一步。

配置

选择数据库类型

本次选择 “PostgreSQL”,点击下一步。
选择 JDBC 连接,输入相应的地址、账户和密码,即可。

配置后台管理

创建管理账户,至此,配置完成。
安装成功!
Confluence 的使用见后续章节。


参考地址:
官网:https://www.atlassian.com/
下载地址:https://www.atlassian.com/software/confluence/download
含有破解工具:http://www.cnblogs.com/luhouxiang/p/4907843.html
https://baike.baidu.com/item/confluence/452961?fr=aladdin
https://www.iyunv.com/thread-271055-1-1.html
https://blog.csdn.net/weixin_41004350/article/details/80590421

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章