一、准备环节

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. router 配置按需加载对应的组件,配置active

    const routes = [ { path: '/', component: App, children: [ {path: '/index/:type', name: 'index', comp ...

  2. 数据库开源框架之GreenDAO

    主页: https://github.com/greenrobot/greenDAO 配置: 添加以下依赖 * compile 'de.greenrobot:greendao:2.1.0' * com ...

  3. wpf 父控件和子控件 各自触发鼠标按下事件

    父控件 PreviewMouseDown子控件 MouseDown

  4. django中使用mysql数据库

    django连接mysql 安装MySQL 1 linux: apt install mysql-server apt install mysql-client mysql_secure_instal ...

  5. robotframework-requests--中文注解版

    最近工作原因在研究RobotFramework对REST测试的方案,找到几个相关类库.但使用requests感觉更方便,研究了一下requests类库的源码,并将注释换成中文为方便使用.关于Reque ...

  6. Day04:集合框架(下) / 集合操作——线性表(一)

    对象转型 向上转型: 什么是向上造型? 子类对象赋给父类引用 父类引用指向子类对象 父类类型 引用=子类对象; 子类转成父类    默认进行(父类引用指用子类对象). 为什么需要向上造型? 子类对象可 ...

  7. maridb 主从复制

    maridb(>10.0)主从复制 1.环境说明 测试环境 系统版本:Ubuntu 16.04.5 LTS内核版本:4.4.0-141-generic x86_64MariaDB版本:mysql ...

  8. Jenkins 远程部署

    参考:https://www.cnblogs.com/bookwed/p/4583033.html 准备环境: 本地开发,安装虚拟机,在虚拟机安装Linux服务器 步骤: 1.安装插件,登录到Jenk ...

  9. String和ByteBuffer互转

    String 转换 ByteBuffer: public static ByteBuffer getByteBuffer(String str) { return ByteBuffer.wrap(st ...

  10. 关于moment().format()

    链接在这儿http://momentjs.cn/ 想要获取单独的年份或者月份可以使用:   moment().format('YYYY')和moment().format('MM') 随手记一下...