confluence自建学习记录

学习软件包
https://download.csdn.net/download/westlifeml/87468819

防火墙

systemctl status firewalld.service 
systemctl stop firewalld.service 
systemctl disable firewalld.service

生成文件夹

mkdir -p /home/work/confluence
cd /home/work/confluence

下载
##wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-8.1.0-x64.bin 破不了
wget https://down.whsir.com/downloads/atlassian-confluence-7.4.6-x64.bin

修改权限

chmod -c 744 atlassian-confluence-7.4.6-x64.bin

安装

./atlassian-confluence-7.4.6-x64.bin

安装中的提示
This will install Confluence 8.1.0 on your computer. # 问是不是要在这个电脑上装
OK [o, Enter], Cancel [c]
o #选o
Click Next to continue, or Cancel to exit Setup.

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] 升级当前的系统
1 #选1

See where Confluence will be installed and the settings that will be used. #告诉你一些基本信息
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 #默认端口 8090 选i

Extracting files …

Please wait a few moments while we configure Confluence.

Installation of Confluence 8.1.0 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 8.1.0 is complete
Your installation of Confluence 8.1.0 is now ready and can be accessed via
your browser.
Confluence 8.1.0 can be accessed at http://localhost:8090
Finishing installation …
装完

上传对应的java连接mysql数据的包至路径
/opt/atlassian/confluence/confluence/WEB-INF/lib

例:mysql8
maven库
https://mvnrepository.com/artifact/com.mysql/mysql-connector-j/8.0.32
软件包里有

mysql创建库
字符集
utf8mb4

排序
utf8mb4_bin

事物提交
set global transaction_isolation=‘READ-COMMITTED’

#mysql5
#set global tx_isolation=‘READ-COMMITTED’

配置开始
右上角切换语言到中文

选择第二个
安装产品

其他

服务器上下载文件
/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar
本地重命名为 atlassian-extras-2.4.jar

cmd运行

java -jar confluence_keygen.jar

选择.patch!找到刚才重命名的atlassian-extras-2.4.jar文件

打开后在当前目录下可以看到atlassian-extras-2.4.jar和atlassian-extras-2.4.bak两个文件,这里atlassian-extras-2.4.jar已经是破解好的了,将atlassian-extras-2.4.jar名字改回atlassian-extras-decoder-v2-3.4.1.jar

备份原来的文件

mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar.bak

然后上传回服务器目录
/opt/atlassian/confluence/confluence/WEB-INF/lib/

重启confluence服务:

/etc/init.d/confluence restart

获取ID

cmd运行

java -jar confluence_keygen.jar

计算完粘贴回去,一直下一步,最后测试数据库。

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值