IT技术之家 网络技术 Centos8 安装Confluence 8.2 图文详细教程&Confluence、JIRA许可生成方法

Centos8 安装Confluence 8.2 图文详细教程&Confluence、JIRA许可生成方法

Confluence 是适合远程操作的团队工作空间,可有效融合知识与协作。

Confluence是面向simple的高机能的企业wiki,生成内容,可以讨论的知识管理工具。 团队之间共享项目、文档、文件、想法、记事、式样、图、尺寸模型等信息。

环境准备

  • Centos 8.5 X64
  • Mysql 8.0
  • Confluence 8.2.0

1、更换yum(centos8官方源已下线,建议切换centos-vault源)

#删除原来的
rm -rvf /etc/yum.repos.d/*
#下载新的
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
#生成缓存
yum makecache

2、安装语言支持

yum install -y dejavu-sans-fonts

3、安装mysql-server

yum install mysql-server

配置数据库

#开机自启
systemctl enable mysqld
#下载数据库配置文件
wget -O /etc/my.cnf.d/mysql-server.cnf https://yun.ittel.cn:1443/f/3e0bbb6aceda430690f2/?dl=1
#启动数据库
systemctl start mysqld

创建数据库

CREATE USER 'confluenceuser'@'%' IDENTIFIED BY 'confluenceuser';
CREATE DATABASE confluence CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
GRANT ALL PRIVILEGES ON confluence.* TO 'confluenceuser'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;

4、设置时区

查看当前Centos系统的时间命令:

如果显示是CST时区,则时区正常,可以直接跳过。

date

快速设置Centos系统的时区和时间格式命令:

tzselect

删除 localtime,并创建软连接

rm /etc/localtime
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
#验证
date 

安装Confluence 8.2.0 破解版

1、下载并安装Confluence 8.2.0

cd /opt && wget -O atlassian-confluence-8.2.0-x64.bin https://yun.ittel.cn:1443/f/c34f6e99cd3b40f88219/?dl=1 && chmod 777 atlassian-confluence-8.2.0-x64.bin && sudo ./atlassian-confluence-8.2.0-x64.bin

日志输出如下:

Installing fontconfig and fonts
上次元数据过期检查:1 day, 8:47:58 前,执行于 2023年08月26日 星期六 17时21分51秒。

ModemManager.x86_64                                                    1.10.8-4.el8                                                       base            
...
...    
    python3-libstoragemgmt-clibs.x86_64                                1.8.3-2.el8                                                        @anaconda       
上次元数据过期检查:1 day, 8:48:00 前,执行于 2023年08月26日 星期六 17时21分51秒。
软件包 fontconfig-2.13.1-4.el8.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕!
上次元数据过期检查:1 day, 8:48:02 前,执行于 2023年08月26日 星期六 17时21分51秒。
软件包 dejavu-sans-fonts-2.35-7.el8.noarch 已安装。
依赖关系解决。
无需任何处理。
完毕!
上次元数据过期检查:1 day, 8:48:03 前,执行于 2023年08月26日 星期六 17时21分51秒。
依赖关系解决。
==========================================================================================================================================================
 软件包                               架构                                版本                                 仓库                                  大小
==========================================================================================================================================================
安装组:
 Fonts                                                                                                                                                   

事务概要
==========================================================================================================================================================

完毕!
Regenerating the font cache
Fonts and fontconfig have been installed
Unpacking JRE ...
Starting Installer ...

This will install Confluence 8.2.0 on your computer.
OK [o, Enter], Cancel [c] #回车确认

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

Select the folder where you would like Confluence 8.2.0 to be installed,
then click Next.
Where should Confluence 8.2.0 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端口,直接回车即可

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 8.2.0 is complete
Start Confluence now?
Yes [y, Enter], No [n]
n  #先不要启动

Installation of Confluence 8.2.0 is complete
Finishing installation ...

[END] 2023/8/28 14:15:11

2、配置Confluence 环境

#下载JDBC Drivers
wget -O /opt/atlassian/confluence/confluence/WEB-INF/lib/mysql-connector-java-8.0.22.jar https://yun.ittel.cn:1443/f/c76da4515c094b5b9b8e/?dl=1
#下载破解补丁
wget -O /opt/atlassian/confluence/bin/Crack.jar https://yun.ittel.cn:1443/f/166bc403014d4836bb1d/?dl=1
#加到启动里面
sed -i '$a export JAVA_OPTS="-javaagent:/opt/atlassian/confluence/bin/Crack.jar ${JAVA_OPTS}"' /opt/atlassian/confluence/bin/setenv.sh

3、启动服务

#关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
#启动
/opt/atlassian/confluence/bin/start-confluence.sh

4、打开网页进行配置

网址:http://IP:8090/setup/setupstart.action

输入许可(本文最后有生成方法)

输入之前设置的数据库信息

5、安装激活完成,Enjoy

生成许可方法

技术支持

需要安装,支持,插件安装可以联系我

1、如果您发现本站资源已经失效不能下载请评论留言反馈,谢谢支持
2、友情提醒:部分内容来自网络,如有侵犯您的权益,请速与我联系! 如有转载请注明出处:https://www.ittel.cn/archives/24022.html
guest
1 评论
内联反馈
查看所有评论
omly
omly
7 月 前

赞一个!

联系我们

联系我们

QQ:877196754

在线咨询: QQ交谈

邮箱: 877196754@qq.com

工作时间:周一至周日,8:00-21:00
关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部