Confluence安装及破解

作者: 四冶读史 | 来源:发表于2017-10-12 08:54 被阅读2446次

    1.概述

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

    2.安装

    ==至官网下载最新的版本

    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,即可看到初始化界面

    3.破解

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

    cd ~/Desktop
    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上进行的,界面如下:

    Paste_Image.png

    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栏,点击下一步。

    4.配置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

    相关文章

      网友评论

        本文标题:Confluence安装及破解

        本文链接:https://www.haomeiwen.com/subject/unhnyxtx.html