Confluence5.8协作平台软件安装(Linux)

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拷贝到optAtlassianConfluenceconfluenceWEB-INFlib下;

然后重启服务:

service confluence restart

 回到网页中继续设置数据库:

 

五、Confluence使用

1,创建一个空白站点

2,配置帐号

 3,验证

配置完成登录系统,验证下授权;
管理→一般配置→授权细节:

原文地址:https://www.cnblogs.com/lizm166/p/9759239.html