一、准备环节

1.上传软件

 
[root@web01 tools]# tar xf jdk-8u60-linux-x64.tar.gz -C /application/
[root@web01 tools]# ln -s /application/jdk1.8.0_60/ /application/jdk
 

2.解压安装jdk

[root@web01 tools]# tar xf jdk-8u60-linux-x64.tar.gz -C /application/
[root@web01 tools]# ln -s /application/jdk1.8.0_60/ /application/jdk
 

3.设置环境变量

[root@web01 tools]# sed -i.ori '$a export JAVA_HOME=/application/jdk\nexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH\nexportCLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar' /etc/profile
[root@web01 tools]# source /etc/pro
profile profile.d/ profile.ori protocols    
[root@web01 tools]# source /etc/profile
[root@web01 tools]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
[root@web01 tools]#
 
 

二、数据库配置

数据库使用mysql5.7

MariaDB [(none)]> create database confluencedb character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> CREATE user 'confluenece'@'%' IDENTIFIED BY 'rtmap911'; 
Query OK, 0 rows affected (0.09 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON confluencedb.* TO 'confluence'@'%' IDENTIFIED BY 'traffic';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>
 
 

三、 安装confluence

1. 下安装程序

cd /server/tools
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.6.6-x64.bin
 
 

2. 下载破解安装包

破解需要在有java环境的pc段进行

 
https://page00.ctfile.com/fs/15323800-217465309
 
 

3. 开始安装

修改权限

[root@conflunce tools]# chmod 755 atlassian-confluence-5.6.6-x64.bin
[root@conflunce tools]# ./atlassian-confluence-5.6.6-x64.bin
 
 

执行程序进行安装

[root@conflunce tools]# ./atlassian-confluence-5.6.6-x64.bin 
Unpacking JRE ...
Starting Installer ...
java.util.prefs.FileSystemPreferences$
INFO: Created system preferences directory in java.home.
This will install Confluence 5.6.6 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 (recommd users) [2, Enter], Upgrade an existing Confluence installation [3
1
See where Confluence will be installed and the settings that will b
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
Extracting files ...
……
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.6.6 is complete
Your installation of Confluence 5.6.6 is now ready and can be accessed via
your browser.
Confluence 5.6.6 can be accessed at http://localhost:8090
Finishing installation ...
 
 

4. 网页安装

注意:这个访问地址根据自己的世纪服务器地址进行调整。

此时开始破解不要关闭页面

四、破解

1.破解准备

1.先停止 conflunce服务

[root@conflunce tools]# /etc/init.d/confluence 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.
 
 

2.删除文件

root@conflunce ~]# cd /opt/atlassian/confluence/confluence/WEB-INF/lib
[root@conflunce lib]# ll |grep atlassian-extra |wc -l
6
[root@conflunce lib]# ll |grep atlassian-extra 
-rw-r--r-- 1 root root 14935 12月 1 2014 atlassian-extras-api-3.2.jar
-rw-r--r-- 1 root root 21788 12月 1 2014 atlassian-extras-common-3.2.jar
-rw-r--r-- 1 root root 38244 12月 1 2014 atlassian-extras-core-3.2.jar
-rw-r--r-- 1 root root 5171 12月 1 2014 atlassian-extras-decoder-api-3.2.jar
-rw-r--r-- 1 root root 6668 12月 1 2014 atlassian-extras-decoder-v2-3.2.jar
-rw-r--r-- 1 root root 68438 12月 1 2014 atlassian-extras-legacy-3.2.jar
[root@conflunce lib]# rm -fr atlassian-extra*
 
 

解压修改包,然后把里面的 atlassian-extras-3.2.jar、Confluence-5.6.6-language-pack-zh_CN.jar、mysql-connector-java-5.1.39-bin.jar 将三个jar文件复制到/opt/atlassian/confluence/confluence/WEB-INF/lib目录下

atlassian-extras-3.2.jar #破解文件
Confluence-5.6.6-language-pack-zh_CN.jar #中文插件
mysql-connector-java-5.1.39-bin.jar #mysql连接器 
 
 

mysql-connector-java-5.1.39-bin.jar文件可以连接mysql5.7及其以下的mysql版本,可以参考如下连接:

http://www.w3resource.com/mysql/mysql-java-connection.php
 
 

3.启动confluence

[root@conflunce ~]# /etc/init.d/confluence start
 
 

2.在pc进行最终破解

注意windows上需要安装jdk运行环境。

serverID 要填写web界面上的

将生成的key复制带web界面即可

五、配置数据库

选择direct JDBC

输入数据库用户密码

数据库初始化完毕后,会跳转到如下界面


配置confluence的管理员账号和密码

输入管理员信息

安装完成

安装完成后的界面

wiki部署的更多相关文章

  1. WIKI 部署后记录

    使用说明 环境 MYSQL 安装方式: YUM 版本:5.7 账号: root / 123456 主机白名单: localhost 账号:admin / 123456 主机白名单: % 账号:conf ...

  2. CentOS7之Rsync+Inotify架构实现实时同步文件和文件夹

    简介:rsync是用来同步文件和文件夹的,inotify是用来实现监听变动而自动同步的 OS:Centos7.3 服务器端:172.16.13.157 客 户 端  :172.16.13.156 目  ...

  3. linux文件备份到windows方法

    目录 背景 方案 过程记录 在windows上创建共享目录 将windows上共享的目录绑定到/mnt目录下 问题处理 背景 需编写部门wiki备份数据脚本.但wiki部署在linux上,而需将备份数 ...

  4. Spring Cloud 系列之 Apollo 配置中心(三)

    本篇文章为系列文章,未读前几集的同学请猛戳这里: Spring Cloud 系列之 Apollo 配置中心(一) Spring Cloud 系列之 Apollo 配置中心(二) 本篇文章讲解 Apol ...

  5. 应用服务器上部署自己的 blog 和 wiki 组件。

    协作性应用程序 这就是 Web 2.0 的全部,尽管该术语出现才几乎一年的时间,但现在好像只有烹饪杂志还没有加入到讨论 Web 2.0 未来出路的行列中.自从出现了里程碑式的文章 "What ...

  6. ubuntu 部署 wiki.js

    1. 安装node  (还是官网的东西靠谱,虽然是english)  https://github.com/nodesource/distributions/blob/master/README.md ...

  7. Wiki 安装部署

    #首先登陆进入 MySQL 数据库 [root@oldboy tools]# mysql -uroot -poldboy123 #创建一个 wiki 是库 mysql> create datab ...

  8. 企业wiki之confluence安装部署(linux)及其破解

    系统环境(虚拟机) centos6.5   2G运行内存,30g硬盘,cpu最好也分配两个或多个,因为我在安装过程中发现很卡,cpu占用率几乎占满 需要用到的安装包和文件可以在这里找 链接:https ...

  9. windows 部署 git 服务器报 Please make sure you have the correct access rights and the repository exists.错误

    这两天在阿里云上弄windows 服务器,顺便部署了一个git服务.根据网上教程一步步操作下来,最后在 remote远程仓库的时候提示 fatal: 'yourpath/test.git' does ...

随机推荐

  1. 深度学习之NLP维基百科数据模型

    知识点 """ 1) from gensim.model import Word2Vec import jieba 2) opencc :将繁体字转换为简体字 转换命令: ...

  2. PHP中获取当前页面的完整URL、PHP URL处理、获取不带扩展名的文件名

    javascript实现: top.location.href 顶级窗口的地址this.location.href 当前窗口的地址 PHP实现 #测试网址: http://localhost/blog ...

  3. IDEA下启动tomcat非常慢

    笔者遇到的原因是在setclasspath.bat里面添加了参数 set JAVA_OPTS="-XX:-UseSplitVerifier -noverify -Djava.net.pref ...

  4. golang(08)接口介绍

    原文链接 http://www.limerence2017.com/2019/09/12/golang13/#more 接口简介 golang 中接口是常用的数据结构,接口可以实现like的功能.什么 ...

  5. django实现利用mailgun进行收发邮件

    django窗口类运用和邮件收发 运用django窗口类来完成表单html 1 具体你看网址: https://www.cnblogs.com/guguobao/p/9322027.html 利用窗口 ...

  6. JavaScript基础之数组常用方法

    目录 JS 数组常用API 常用属性 常用方法 常见方法语法解释 from方法 isArray concat every fill filter find forEach indexOf join k ...

  7. HCL试验5

    PC端配置:配置ip地址 交换机1配置:①创建VLAN system-view vlan 10 vlan 20 ②配置PC端接口 interface gi 1/0/1 port link-type a ...

  8. 【Linux开发】linux设备驱动归纳总结(四):1.进程管理的相关概念

    linux设备驱动归纳总结(四):1.进程管理的相关概念 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...

  9. 论文阅读 | BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain

    BadNets: 识别机器学习模型供应链中的漏洞 摘要 基于深度学习的技术已经在各种各样的识别和分类任务上取得了最先进的性能.然而,这些网络通常训练起来非常昂贵,需要在许多gpu上进行数周的计算;因此 ...

  10. SpringBoot上传文件

    1.pom文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w ...