centos7 安装confluence6.7.1

软件准备:

  • 系统:centos7
  • confluence:
  1. 版本:6.7.1

  2. 下载地址:https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.7.1-x64.bin
  3.  破解工具:https://files.cnblogs.com/files/Javame/confluence%E7%A0%B4%E8%A7%A3%E5%B7%A5%E5%85%B7.zip

安装步骤:

步骤1:安装jdk1.8

       解压tar包文件:tar -xvf jdk-8u261-linux-x64.tar 

步骤2:安装confluence

进入到confluence目录开始安装

上传好安装包后,找到安装包,开始安装。

[root@localhost tmp]# chmod +x atlassian-confluence-6.7.1-x64.bin 
[root@localhost tmp]# ./atlassian-confluence-6.7.1-x64.bin 
Unpacking JRE ...
Starting Installer ...
Jan 14, 2020 3:10:16 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 14, 2020 3:10:16 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install Confluence 6.7.1 on your computer.
OK [o, Enter], Cancel [c]

o确定安装,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自定义安装

2

Where should Confluence 6.7.1 be installed?
[/opt/atlassian/confluence]

指定安装的目录,会自动创建,不输入直接回车就是使用默认路径

Default location for Confluence data
[/var/atlassian/application-data/confluence]

指定路径存储数据,不输入直接回车就是使用默认路径

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]

使用默认的端口,8090和8000

选1,回车

1
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回车

y
Extracting files ...

Please wait a few moments while we configure Confluence.
Installation of Confluence 6.7.1 is complete
Start Confluence now?
Yes [y, Enter], No [n]

确定开始安装
选y,回车

y

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.7.1 is complete
Your installation of Confluence 6.7.1 is now ready and can be accessed via
your browser.
Confluence 6.7.1 can be accessed at http://localhost:8090
Finishing installation ...
[root@localhost tmp]# 

 

安装目录:

Where should Confluence 6.7.1 be installed?
[/opt/atlassian/confluence]
^HDefault location for Confluence data
[/var/atlassian/application-data/confluence]
 

破解

 

1,将/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar路径下的安装包下载到windwos机器上

2,将 下载的  atlassian-extras-decoder-v2-3.3.0.jar 重命名为 atlassian-extras-2.4.jar

 

3,

在本地windows上安装java环境,这里不详细记录
将下载的包confluence破解工具.zip 解压后,在windows机器中进入命令行运行java -jar confluence_keygen.jar

 

点击.patch,选择atlassian-extras-2.4.jar文件,点击打开,jar文件破解成功。

4,

将破解后的,atlassian-extras-2.4.jar包重名回,atlassian-extras-decoder-v2-3.3.0.jar

上传回 /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar 覆盖。

 

上传驱动并重起。

上传mysql驱动文件mysql-connector-java-5.1.44-bin.jar 到目录/opt/atlassian/confluence/confluence/WEB-INF/lib

 

重启confluence服务
停止:sh /opt/atlassian/confluence/bin/stop-confluence.sh
启动:sh /opt/atlassian/confluence/bin/start-confluence.sh

 

 

 

访问confluence,确认防火墙关闭或放行8090端口,访问confluence以及初始化安装
http:ip:8090

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一一可可

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值