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

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