confluence 破解系列
目录前言 confluence
Confluence简介
Confluence是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki 。通过它可以实现团队成员之间的协作和知识共享。
Confluence为团队提供一个协作环境。在这里,团队成员齐心协力,各擅其能,协同地编写文档和管理项目。从此打破不同团队、不同部门以及个人之间信息孤岛的僵局,Confluence真正实现了组织资源共享。
Confluence使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。
- confluence 需要收费方可使用 这里是破解教程 仅供参考
一. 安装数据库mysql
##环境准备
#00 删除遗留的其它MySQL分支
rpm -qa | grep mariadb
yum -y remove mariadb-libs
rpm -qa | grep mariadb
rm -rf /etc/my.cnf*
#01 安装服务
[root@mysql106 ~]# mkdir -pv /node/{softwares,data,log}/
解释下:data存放数据 log 存放日志
[root@zhangyuzhou ~]# tar xf mysql-5.7.34-linux-glibc2.12-x86_64.tar -C /node/softwares/
[root@zhangyuzhou softwares]# ln -s mysql-5.7.34-linux-glibc2.12-x86_64 mysql57
#02 创建用户和数据目录
getent passwd mysql
useradd -r -s /sbin/nologin -d /node/data/mysql57 -c 'MySQL DataBase Server User' mysql
install -d /node/data/mysql57 -o mysql -g mysql
ll -d /node/data/mysql57/
chown -R mysql:mysql /node/
#03 配置环境变量
[root@mysql106 ~]# vim /etc/profile.d/mysql.sh
#!/bin/bash
export MYSQL=/node/softwares/mysql57
export PATH=$PATH:$MYSQL/bin
[root@mysql106 softwares]# chmod +x /etc/profile.d/mysql.sh
[root@mysql106 softwares]# source /etc/profile.d/mysql.sh
[root@zhangyuzhou support-files]# mysql -V
#04 初始化启动mysql
mysqld --initialize --user=mysql --basedir=/node/softwares/mysql57 --datadir=/node/data/mysql57
2022-05-11T06:12:43.117529Z 1 [Note] A temporary password is generated for root@localhost: Eag5tuP/ca_7
#05 准备MySQL的启动脚本 并设置开机自启动脚
cp /node/softwares/mysql57/support-files/mysql.server /etc/init.d/mysqld
chkconfig --add mysqld
sed -r -i "s#^(datadir=)#\1/node/data/mysql57#" /etc/init.d/mysqld
sed -r -i "s#^(basedir=)#\1/node/softwares/mysql57#" /etc/init.d/mysqld
grep "^datadir=" /etc/init.d/mysqld
systemctl daemon-reload
systemctl start mysqld
ss -lnt
A temporary password is generated for root@localhost: 6)v<S88E;pnK
#06 修改配置文件
//[root@mysql108 ~]# mysql -p"ehXG>/<pg4tq"
#重置密码
//[root@mysql108 ~]# mysql --password="ehXG>/<pg4tq"
mysql> alter user user() identified by "123";
[root@mysql108 ~]# mysql -p
Enter password:
1) 修改密码
[root@zhangyuzhou ~]# mysqladmin password 123
注意:如果修改不了,可以优先配置my.cnf文件
[root@zhangyuzhou ~]# cat .my.cnf
[mysqld]
character-set-server=utf8mb4
collation-server=utf8mb4_bin
default-storage-engine=INNODB
max_allowed_packet=2048M
transaction-isolation=READ-COMMITTED
optimizer_switch = derived_merge=off
sql_mode = NO_AUTO_VALUE_ON_ZERO
innodb_log_file_size=2GB
## 上述可以选择添加
user=mysql
basedir=/node/softwares/mysql57
datadir=/node/data/mysq57
log_error=/node/log/mysql57/mysql.err
socket=/tmp/mysql.sock
[mysql]
socket=/tmp/mysql.sock
prompt="\u@[\d]-> "
user=root
password=123
[mysqladmin]
socket=/tmp/mysql.sock
user=root
password=123
[root@zhangyuzhou ~]# mysql
select user,host from mysql.user;
二 docker启动confluence
#01 创建confluence数据库及用户
CREATE DATABASE confluence CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
grant all on confluence.* to 'confuser'@'%' identified by '7FxxxzhOconfluence';
# confluence要求设置事务级别为READ-COMMITTED
set global tx_isolation='READ-COMMITTED';
#02 下载破解工具
wget https://files.cnblogs.com/files/sanduzxcvbnm/atlassian-agent-v1.2.3.zip
unzip atlassian-agent-v1.2.3.zip
cp atlassian-agent-v1.2.3/atlassian-agent.jar ./
#03 制作镜像
docker pull cptactionhank/atlassian-confluence:7.4.0
cd /opt/wiki
vim dockerfile
FROM cptactionhank/atlassian-confluence:7.4.0
USER root
# 将代理破解包加入容器
COPY "atlassian-agent.jar" /opt/atlassian/confluence/
# 设置启动加载代理包
RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/confluence/bin/setenv.sh
[root@aliyun wiki]# docker build -t confluence-7.4:v1 .
--
上传到阿里云镜像仓库
--
#04 启动镜像
mkdir /home/confluenc
docker run -d --name confluence \
--restart always \
-p 18010:8090 \
-e TZ="Asia/Shanghai" \
-v /home/confluence:/var/atlassian/confluence \
registry.cn-beijing.aliyuncs.com/yichuangying/confluence-7.4:v1
#04 获取授权码
java -jar /wiki/atlassian-agent.jar \
-d -m [email protected] -n BAT \
-p conf -o http://101.132.24.74 \
-s BTYZ-DW6P-LXKU-5TNV
java -jar /opt/wiki/atlassian-agent.jar \
-d -m [email protected] -n BAT \
-p conf -o http://47.94.174.83 \
-s B80U-MYV5-E5PH-Q3AU
AAABpA0ODAoPeJxtUV1vmzAUffevQNozxOazVLK0BNItHSRZIV27N4ddFivEMGPS0F8/Q6gqVZWuH
3yPfc65535Ja2GkrDdwaBD/1tFlG1GWGza2bRRJYIrXImYK6NAxsWfiEC3PrOpGhJasagHF0BaSN
2NnJyp+4gr+GBUvQLRg7HvjoFTT3s5mrwdegcVrtJF/meDtlWRANUgwsYhjW7ZrBS4qalFarFD8D
FTJDlBUC6Xvy5Txir4Sj5AwHA7+SnzHKuoTmgS/s/ZA0+glultkmftvcXo6B4F/fCjXLL/3NOEWd
rv54efzMewvySUo+hKC2f5b02SldO9Ecf9C6VU/U0wqkNOYYyu5iuR9A2t2Ahpt0nT5EK3mCdLOh
ALBRAHLS8NlPwV3E5o40IWmv6uYJqs4W67NhPiexj0ntF3fRxnIM0gNL/Ln32b8y9+aydOPnenl6
8erumZkEYjB0xjKEfpHkO2QIvExDvCN45A3nc9NbDtZHFgLH7c6pfdGZ6Os27+vdVQbLay70x7kp
ty1+iU1CdKD0E+GmfY1hrSY5/8BWkTGuzAsAhRmIt1B1EFhaqr8BzFltt5uiY8UBgIUJZwsftX2b
I1eD3G7kQrSxXGx7ok=X02k8
##数据库链接信息
jdbc:mysql://172.17.111.205/confluence?useUnicode=true&characterEncoding=utf8
confuser
7FxxxzhOconfluence
标签:node,系列,atlassian,confluence,mysql,mysql57,root,破解
From: https://www.cnblogs.com/saas-open/p/17580075.html