confluence搭建

confluence 搭建(linux)

参考链接

[wiki搭建]: https://www.cnblogs.com/heaven-xi/p/11147073.html    “confluence搭建”

环境要求

​    操作系统:contos7

​    数据库:5.5.60-MariaDB 经测试mysql5.7也可以 mysql8.0.12出现无法连接问题

​    java版本: jdk-1.8

​    confluence版本:confluence6.7.1

安装步骤

1.安装jdk环境,配置环境变量
2.给安装文件分配可执行权限,执行confluence安装文件 linux版本(atlassian-confluence-6.7.1-x64.bin)
chmod +x atlassian-confluence-6.7.1-x64.bin
./atlassian-confluence-6.7.1-x64.bin
Unpacking JRE ...
Starting Installer ...

o确定安装,c取消
This will install Confluence 6.7.1 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.

选择2自定义安装
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

指定安装的目录,会自动创建,不输入直接回车就是使用默认路径
Select the folder where you would like Confluence 6.9.1 to be installed,
then click Next.
Where should Confluence 6.7.1 be installed?
[/opt/atlassian/confluence]


指定路径存储数据
Default location for Confluence data
[/var/atlassian/application-data/confluence]


使用默认的端口,8090和8000
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]
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

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

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 ...
3.破解jar包

​    找到confluence安装目录 (默认安装目录举例)

​    剪切jar包(改名字破解)

mv /opt/atlassian/confluence/concluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar /opt/atlassian-extras-2.4.jar

把jar包复制到windows环境下(有jdk1.8环境),在windows环境下执行破解工具启动命令

confluence_keygen.jar是破解工具的jar包

java -jar confluence_keygen.jar

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

破解成功后,jar包会被替换,把替换后的jar放回linux环境下原目录下 改回原来的名字

mv /opt/atlassian-extras-2.4.jar /opt/atlassian-extras-decoder-v2-3.3.0.jar
mv /opt/atlassian-extras-decoder-v2-3.3.0.jar /opt/atlassian/confluence/concluence/WEB-INF/lib/

破解工具窗口不要关闭,后面还有用

4.上传mysql驱动

我用的 mysql-connector-java-5.1.48.jar 上传至/opt/atlassian-extras-decoder-v2-3.3.0.jar /opt/atlassian/confluence/concluence/WEB-INF/lib/下

5.重启服务
sh /opt/atlassian/confluence/bin/stop-confluence.sh
sh /opt/atlassian/confluence/bin/start-confluence.sh
6.安装数据库

正常安装后

create database confluence default character set utf8 collate utf8_bin;
grant all on confluence.* to 'confluence'@'%' identified by '123456';
flush privileges;
SET GLOBAL tx_isolation='READ-COMMITTED'; 

创建一个utf8字符集的数据库,字符集必须utf8,否则安装时连接数据库报错

7.安装产品

访问 localhost:8090(安装时默认的端口号)

1.中文,安装产品

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Yrqe4OtD-1591259614809)(.\images\1388958-20190707190033399-93110389.png)]

2.使用serviceId获取破解key

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-GwwEQOB1-1591259614814)(.\images\1388958-20190707190153785-1931923810.png)]

复制到之前的破解工具 Server ID中

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6aaH2rxz-1591259614816)(.\images\image-20200409093748598.png)]

填入name

点击.gen! 获取到key   再复制到confluence中完成破解

3.连接数据库

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-cGEjFxxb-1591259614817)(.\images\1388958-20190707210147450-1075707561.png)]

4.完成安装

之后的就设置管理员账号

一路下一步即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

zhang.yao

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

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

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

打赏作者

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

抵扣说明:

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

余额充值