centos7 安裝confluence6.7.1

weixin_41452575發表於2020-10-29

軟體準備:

  • 系統:centos7
  • confluence:
  1. 版本:6.7.1

  2. 下載地址:https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.7.1-x64.bin
  3.  破解工具:https://files.cnblogs.com/files/Javame/confluence%E7%A0%B4%E8%A7%A3%E5%B7%A5%E5%85%B7.zip

安裝步驟:

步驟1:安裝jdk1.8

       解壓tar包檔案:tar -xvf jdk-8u261-linux-x64.tar 

步驟2:安裝confluence

進入到confluence目錄開始安裝

上傳好安裝包後,找到安裝包,開始安裝。

[root@localhost tmp]# chmod +x atlassian-confluence-6.7.1-x64.bin 
[root@localhost tmp]# ./atlassian-confluence-6.7.1-x64.bin 
Unpacking JRE ...
Starting Installer ...
Jan 14, 2020 3:10:16 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 14, 2020 3:10:16 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install Confluence 6.7.1 on your computer.
OK [o, Enter], Cancel [c]

o確定安裝,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自定義安裝

2

Where should Confluence 6.7.1 be installed?
[/opt/atlassian/confluence]

指定安裝的目錄,會自動建立,不輸入直接回車就是使用預設路徑

Default location for Confluence data
[/var/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.
Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]

使用預設的埠,8090和8000

選1,回車

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回車

y
Extracting files ...

Please wait a few moments while we configure Confluence.
Installation of Confluence 6.7.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.7.1 is complete
Your installation of Confluence 6.7.1 is now ready and can be accessed via
your browser.
Confluence 6.7.1 can be accessed at http://localhost:8090
Finishing installation ...
[root@localhost tmp]# 

破解

 

1,將/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar路徑下的安裝包下載到windwos機器上

2,將 下載的  atlassian-extras-decoder-v2-3.3.0.jar 重新命名為 atlassian-extras-2.4.jar

 

3,

在本地windows上安裝java環境,這裡不詳細記錄
將下載的包confluence破解工具.zip 解壓後,在windows機器中進入命令列執行java -jar confluence_keygen.jar

 

點選.patch,選擇atlassian-extras-2.4.jar檔案,點選開啟,jar檔案破解成功。

4,

將破解後的,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 覆蓋。

 

上傳驅動並重起。

上傳mysql驅動檔案mysql-connector-java-5.1.44-bin.jar 到目錄/opt/atlassian/confluence/confluence/WEB-INF/lib

 

重啟confluence服務
停止:sh /opt/atlassian/confluence/bin/stop-confluence.sh
啟動:sh /opt/atlassian/confluence/bin/start-confluence.sh

 

 

 

訪問confluence,確認防火牆關閉或放行8090埠,訪問confluence以及初始化安裝
http:ip:8090

 

 

相關文章