• Ubuntu 14.04 配置confluence破解


    1. 配置java环境,请参展我的另一篇博客

    http://www.cnblogs.com/youran-he/p/8607155.html

    2. 下载文件

    https://pan.baidu.com/s/1YS2bcCO70TTvn9fjOde9gA

    3.配置权限

    root@hett-PowerEdge-T30:/usr/local/src# cp /home/hett/atlassian-confluence-5.6.6-x64.bin  ./
    root@hett-PowerEdge-T30:/usr/local/src# chmod +x atlassian-confluence-5.6.6-x64.bin
    root@hett-PowerEdge-T30:/usr/local/src#
    4.安装

    root@hett-PowerEdge-T30:/usr/local/src# sudo ./atlassian-confluence-5.6.6-x64.bin

    o-2/1-y
    5. 配置数据库

    mysql>  CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;
    Query OK, 1 row affected (0.36 sec)

    mysql> use mysql;
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Database changed
    mysql> INSERT INTO mysql.user(Host,User,Password) VALUES("localhost","confluence",password(”123456"));
    Query OK, 1 row affected, 3 warnings (0.00 sec)

    mysql> FLUSH PRIVILEGES;
    Query OK, 0 rows affected (0.00 sec)

    mysql> GRANT ALL PRIVILEGES ON confluence.* TO confluence@localhost IDENTIFIED BY '123456';
    Query OK, 0 rows affected (0.00 sec)

    mysql> GRANT ALL PRIVILEGES ON confluence.* TO confluence@'%' IDENTIFIED BY '123456';
    Query OK, 0 rows affected (0.00 sec)

    mysql> flush privileges;
    Query OK, 0 rows affected (0.00 sec)

    mysql>

    4.删除confluence

    computer@computer-PowerEdge-T30:~$ sudo /opt/atlassian/confluence/uninstall
    testing JVM in /opt/atlassian/confluence/jre ...
    Are you sure you want to completely remove Confluence 5.6.6 and all of its components?
    Yes [y, Enter], No [n]
    y
    Uninstalling Confluence 5.6.6 ...
    Mar 27, 2018 10:25:37 AM java.util.prefs.FileSystemPreferences$2 run
    INFO: Created system preferences directory in java.home.
    The following files/directories were not deleted since they contain files with potentially important logs or configurations you may wish to retain. If you do not need to keep these files, however, you can safely delete these directories.
    /opt/atlassian/confluence/logs
    /opt/atlassian/confluence
    /opt/atlassian

    5. 破解

    https://pan.baidu.com/s/1S-J-lDzpXbCJxvZ8or6IHw

    破解文件

    root@computer-PowerEdge-T30:~# /etc/init.d/confluence1 stop
    executing using dedicated user
    If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

    Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
    Using CATALINA_BASE:   /opt/atlassian/confluence
    Using CATALINA_HOME:   /opt/atlassian/confluence
    Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
    Using JRE_HOME:        /opt/atlassian/confluence/jre/
    Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
    Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
    Tomcat stopped.

    删除配置文件:
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# rm -rf atlassian-extra*
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib#
    5. 破解

    https://pan.baidu.com/s/1lETmEq3CSOUgMnimMnYbY 破解文件下载

    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# ll /hom
    total 1484
    drwxrwxr-x 2 computer computer   4096  3月 27 11:01 ./
    drwxrwxr-x 4 computer computer   4096  3月 27 11:01 ../
    -rw-rw-r-- 1 computer computer 155443  3月 27 11:01 atlassian-extras-3.2.jar
    -rw-rw-r-- 1 computer computer 363012  3月 27 11:01 Confluence-5.6.6-language-pack-zh
    -rw-rw-r-- 1 computer computer 989497  3月 27 11:01 mysql-connector-java-5.1.39-bin.j
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# cp  /hotlassian-extras-3.2.jar ./
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# cp  /hoonfluence-5.6.6-language-pack-zh_CN.jar ./
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# cp  /hoysql-connector-java-5.1.39-bin.jar ./
    root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/lib# cd  ~
    root@computer-PowerEdge-T30:~# /etc/init.d/confluence1  start

    To run Confluence in the foreground, start the server with start-confluence.sh -fg
    executing using dedicated user: confluence1
    If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

    Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
    Using CATALINA_BASE:   /opt/atlassian/confluence
    Using CATALINA_HOME:   /opt/atlassian/confluence
    Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
    Using JRE_HOME:        /opt/atlassian/confluence/jre/
    Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
    Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
    Tomcat started.
    root@computer-PowerEdge-T30:~#

    6. 在windows运行

     

     

    配置完成之后,会有几分钟等待时间,导出数据

     配置管理员信息

     

     

  • 相关阅读:
    WebSocket使用及优化(心跳机制与断线重连)
    JS案例:触底懒加载
    你知道近来年大火的DDD是如何兴起的吗?以及与微服务的关系
    Sql Server的Cross Apply用法
    跨域信息传递解决方案
    【转】理解字节序
    NATAPP优惠码
    <学习笔记>筛法
    <学习笔记>线性基
    【react + BizCharts】
  • 原文地址:https://www.cnblogs.com/youran-he/p/8656815.html
Copyright © 2020-2023  润新知