安装Confluence教程

这是一个好几年前的存稿笔记

vim Dockerfile

FROM cptactionhank/atlassian-confluence:latest
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 apk update  && apk --no-cache add font-adobe-100dpi && chmod 777 /usr/share/fonts/SimSun.ttf && fc-cache -fv && fc-list  && apk add --update  graphviz && echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/confluence/bin/setenv.sh
docker build -t confluence:7.9.3.crack .

Successfully built 3d7a79c15712
Successfully tagged confluence:7.9.3.crack

mysql-docker

docker run  -itd --name mysql5.7 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7

docker cp mysql5.7 /etc/my.cnf .

vim my.cnf

[mysqld]

character-set-server=utf8mb4
collation-server=utf8mb4_bin
default-storage-engine=INNODB
max_allowed_packet=256M
innodb_log_file_size=2GB
sql_mode = NO_AUTO_VALUE_ON_ZERO
transaction-isolation=READ-COMMITTED
binlog_format=row
log_bin_trust_function_creators = 1
optimizer_switch = derived_merge=off

拷贝进mysql

docker cp my.cnf mysql5.7:/etc/
docker restart mysql5.7

docker-compose

vim docker-compose.yml

version: '2'
services:
  confluence-product_7_9_3:
    image: 'confluence:7.9.3.crack'
    restart: always
    ports:
      - '8090:8090'
    container_name: confluence-product_7_9_3
    volumes:
      - '/home/247/confluence-product-7.9.3/data:/var/atlassian/confluence'
      - '/home/247/confluence-product-7.9.3/logs:/opt/atlassian/confluence/logs'

启动

docker-compose up -d

破解

docker exec -it 3d7a79c15712 bash

java -jar atlassian-agent.jar -d -m [email protected] -n jmcqj -p conf -o http://xxxxxx:8080 -s BYJT-A0IF-49YY-MVJK
bash-4.4# cd /opt/atlassian/confluence/
bash-4.4# java -jar atlassian-agent.jar -d -m [email protected] -n jmcqj -p conf -o http://xxxxxx:8080 -s BYJT-A0IF-49YY-MVJK

====================================================
=======        Atlassian Crack Agent         =======
=======           https://zhile.io           =======
=======          QQ Group: 30347511          =======
====================================================

Your license code(Don't copy this line!!!): 

AAABWw0ODAoPeJxtUFtvgjAYfe+vINkz2FaUS0IyB7jgQJehJj5W9jlroGApZu7Xj1uyZPGx53w9t
6el5NqqyTViagS7eO7OsPaabDWK6RT5EpjipQiYAq9DdGzpxEThjeVNz3gnlteAAqgzyase2YmcF
1zBp5bzDEQN2vGunZWqancy+TnzHAxeoo38YoLXg0jHtiSxqEEdg2JiUNNybWzZKCvFyWCZ4jfwl
GwA+aVQ7TtMGM89h8wsk86I83y9GllZDOepYlKBHLP1UDxE2d4rWLMCPH+TJOGHHy1i1AoJBYKJD
MLvisv72NZ2urbYQuPfKPDiKEjDtR6Tue1MqUMJJm3EFOQNZEu/HFZbfYGjpW46h4Oe7Fdvg3ury
HwQXaa+w6j42O69kdmZ1fB/9HHNPci624yitDn+rd7r9mbrpjiC3Jx2dXvp6QS1kb0Hscch+zkuR
Xa9/AL+jKdxMC0CFFdH4Wv5IEY0OKyN9bpTNYsweL3MAhUAg6g8R849y+LSeqPcJw68jlekJiQ=X
02h5

来源

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇