zoukankan      html  css  js  c++  java
  • 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运行

     

     

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

     配置管理员信息

     

     

  • 相关阅读:
    【正视CSS 03】block与position,出门在外的朋友端午节快乐
    【正视CSS 07】再看verticalalign
    【正视CSS 06】构建我们自己的世界观!
    【正视CSS 02】inline与lineheight、float、absolute的故事
    【初窥javascript奥秘之闭包】叶大侠病都好了,求不踩了:)
    【javascript面向对象之路】让我们一起来坦克大战吧01
    Python学习之三:《Dive in Python》学习笔记二
    恢复GMail选择栏(All None Read Unread….)的油猴(GreaseMonkey)脚本
    群聊天时学习到的两个JS知识(变量范围,Foreach顺序)
    利用宏自动附加到WebServer进程
  • 原文地址:https://www.cnblogs.com/youran-he/p/8656815.html
Copyright © 2011-2022 走看看