Confulence安装
1、安装docker环境
docker pull cptactionhank/atlassian-confluence:7.4.0
2、下载破解工具
wget https://files.cnblogs.com/files/sanduzxcvbnm/atlassian-agent-v1.2.3.zip
unzip atlassian-agent-v1.2.3.zip
cp ~/tools/atlassian-agent-v1.2.3/atlassian-agent.jar .
3、创建dockerfile
vim Dockerfile
FROM cptactionhank/atlassian-confluence:7.4.0
USER root
# 添加中文字体
# RUN apk update && apk --no-cache add font-adobe-100dpi
# RUN mkdir /usr/share/fonts/win
# ADD yahei.ttf /usr/share/fonts/win/yahei.ttf
# RUN chmod 777 /usr/share/fonts/win/yahei.ttf \
# && fc-cache -fv && fc-list
# 将代理破解包加入容器
COPY "atlassian-agent.jar" /opt/atlassian/confluence/
# 拷贝中文字体.为了减少RUN调用,这里直接放置到已经存在的目录中
#COPY "SimSun.ttf" /usr/share/fonts/
RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/confluence/bin/setenv.sh
4、创建docker启容器
docker build -t confluence-7.4.0:v1 .
docker run -d --name wiki --restart always -p 8090:8090 -e TZ="Asia/Shanghai" -v /data/confluence:/var/atlassian/confluence confluence-7.4:v1
5、confluence破解
java -jar atlassian-agent.jar -d -m 71718132@qq.com -n BAT -p conf -o http://124.220.76.243 -s B056-DCUB-5LTW-T7B1 查看网站服务器B056-DCUB-5LTW-T7B1
插件破解java -jar atlassian-agent.jar -d -m zhuxiaosz@qq.com -n BAT -p cz.morosystems.atlassian.plugin.easymind -o http://124.220.76.243 -s B056-DCUB-5LTW-T7B1 # -p后面接插件的应用密钥
6、配置mysql
/etc/my.cnf
[mysqld]
skip_ssl ##取消ssl连接
max_allowed_packet = 256M
innodb_log_file_size = 2G
transaction-isolation = READ-COMMITTED
7、创建confluence数据库
CREATE DATABASE confluence CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE USER root@'%' ; -- 创建用户
ALTER USER root@'%' IDENTIFIED BY '密'; -- 指定密码
grant all privileges on confluence.* to 'root'@'%'; -- 授权
8、启动 重启机器和停止
进入docker容器
cd /opt/atlassian/confluence/bin/
./start-confluence.sh/
./stop-confluence.sh
叼茂SEO.bfbikes.com
看的我热血沸腾啊https://www.237fa.com/
看的我热血沸腾啊https://www.ea55.com/
想想你的文章写的特别好https://www.ea55.com/
看的我热血沸腾啊www.jiwenlaw.com