1. 程式人生 > >Confluence5.8協作平臺軟件安裝(Linux)

Confluence5.8協作平臺軟件安裝(Linux)

專業 serve href image jdk下載 str product 客戶端 efault

Confluence5.8協作平臺軟件安裝(Linux)

一、簡介

  1. Confluence是一個專業的企業知識管理與協同軟件,也可以用於構建企業wiki。使用簡單,但它強大的編輯和站點管理特征能夠幫助團隊成員之間共享信息、文檔協作、集體討論,信息推送。
  2. Confluence為團隊提供一個協作環境。在這裏,團隊成員齊心協力,各擅其能,協同地編寫文檔和管理項目。從此打破不同團隊、不同部門以及個人之間信息孤島的僵局,Confluence真正實現了組織資源共享。

二、安裝環境

  Linux服務器centos7.2(建議內存至少2G以上)。

三、JDK安裝

  服務器和客戶端都需要安裝jdk,jdk下載url:

  http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

  技術分享圖片

四、Confluence服務器端安裝

1,下載confluence

  https://product-downloads.atlassian.com/software/confluence/downloads/

2,設置文件執行權限

chmod +x atlassian-confluence-5.8.0-x64.bin

3,安裝bin

./atlassian-confluence-5.8.0-x64.bin

安裝信息如下:

 Unpacking JRE ...
    Starting Installer ...

    This will install Confluence 
6.9.0 on your computer. OK [o, Enter], Cancel [c] 輸入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: /opt/atlassian/confluence Home Directory: /var/atlassian/application-data/confluence HTTP Port: 8090 RMI Port: 8000 Install as service: Yes Install [i, Enter], Exit [e] i 輸入i或者直接回車 Extracting files ... Please wait a few moments while we configure Confluence. Installation of Confluence 6.9.0 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.9.0 is complete Your installation of Confluence 6.9.0 is now ready and can be accessed via your browser. Confluence 6.9.0 can be accessed at http://localhost:8090 Finishing installation ...

註意:防火墻放行8090端口

安裝完成會自動啟動。

4,打開網頁獲取SERVER ID

瀏覽器訪問:http://IP:8090

技術分享圖片

技術分享圖片

技術分享圖片

技術分享圖片

以看到服務器ID了,接下來就要破解。

5、破解

破解需要分兩步:

(1)一是破解文件。

(2)二是獲取授權。

(1)破解文件:

  從服務器上下載/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;

註:替換後需要重啟服務,service confluence restart

(2)獲取授權碼:

復制網頁中的服務器SERVER ID,運行破解工具confluence_keygen.jar,破解復制Key到Confluence裏,獲得授權碼,進行下一步:

技術分享圖片

技術分享圖片

技術分享圖片

6,重啟服務

service confluence restart

7,配置mysql數據庫

需要將mysql驅動包mysql-connector-java-5.1.24-bin.jar拷貝到\opt\Atlassian\Confluence\confluence\WEB-INF\lib\下;

然後重啟服務:

service confluence restart

回到網頁中繼續設置數據庫:

技術分享圖片

技術分享圖片

五、Confluence使用

1,創建一個空白站點

技術分享圖片

2,配置帳號

技術分享圖片

技術分享圖片

技術分享圖片

技術分享圖片

技術分享圖片

3,驗證

配置完成登錄系統,驗證下授權;
管理→一般配置→授權細節:

技術分享圖片

Confluence5.8協作平臺軟件安裝(Linux)