Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy the cracked wiki6.10 in Docker-compose

2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how Docker-compose deploys cracked wiki6.10, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

ready

Prepare Confluence cracking tools

Link: pan.baidu.com/s/1oTLTzYT30QUKQPhLtCbOcQ Extract code: u10e Copy this content and open Baidu Netdisk Mobile App, Operation is more convenient oh Install deployment confulenceconsufficiency Download docker pull cptactionhank/atlassian-confluence:6.10.0 Preparation before startup

Create a confluence data directory

root@harbor:~# mkdir /apps/confluence -pv

Copy the data in confluence before starting it officially

#Temporary startup (automatically deletes the container started this time after shutdown)docker run -it --rm --name "confluence-wiki-tmp" \ -u root \ -p "8090:8090" \ -v "/data/confluence:/var/atlassian/confluence" \ -e "CATALINA_OPTS= -Xms256m -Xmx5g" \ cptactionhank/atlassian-confluence:6.10.0

When http://192.168.60.21:8090 is accessible, proceed to the following steps

copy container internal installation directory to host directory

docker cp confluence-wiki-tmp:/opt/atlassian/confluence /apps

Copy atlassian-extras-decoder-v2-3.4.1.jar from the host installation directory to the local directory and rename it.

scp root@192.168.60.21:/apps/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar ./ atlassian-extras-2.4.jar #or use another tool to transfer to window and rename

Note: The files cracked here can also be kept for next use.

Once this step is complete, you can interrupt the temporary container, and the temporary container will be automatically deleted

Patch atlassian-extras-2.4.jar package with duplicate name

java -jar confluence_keygen.jar

Click patch and select the atlassian-extras-2.4.jar package scp just now. After success, a new atlassian-extras-2.4.jar package appears locally, and the old jar package is renamed atlassian-extras-2.4.bak.

scp ./ atlassian-extras-2.4.jar root@192.168.60.21:/apps/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar

Upload the new jar package to the server directory and rename it back to its original name

Prepare mysql configuration file mysql/mysql.cnf

[client]default-character-set = utf8[mysql]default-character-set = utf8[mysqld]character_set_server = utf8collection-server = utf8_bindefault-storage-engine = INNODBinnodb_log_file_size = 2GBbinlog_format = rowtransaction_isolation = READ-COMMITTEDmax_allowed_packet = 256M normal operation convergence # cat docker-compose.ymlversion: '2'services: mysql: image: mysql:5.7 volumes: - "./ mysql/:/etc/mysql/conf.d/" - "/data/mysql:/var/lib/mysql" - "/usr/share/zoneinfo/Asia/Shanghai:/etc/localtime" restart: always ports: - "3306:3306" environment: MYSQL_ROOT_PASSWORD: confluence MYSQL_DATABASE: confluence MYSQL_USER: ********** MYSQL_PASSWORD: ********** wiki: image: cptactionhank/atlassian-confluence:6.10.0 volumes: - "/apps/confluence:/opt/atlassian/confluence" - "/data/confluence:/var/atlassian/confluence" - "/usr/share/zoneinfo/Asia/Shanghai:/etc/localtime" restart: always user: root ports: - "8090:8090" environment: - JAVA_OPTS: -Duser.timezone=Asia/Shanghai - CATALINA_OPTS: -Xms256m -Xmx7g depends_on: - mysql docker-compose up -d

After startup, visit http://192.168.60.21:8090, will automatically continue with the previous step

start the installation

Get the server ID from the web page and fill in the cracker. Click gen to generate key, copy to web page Click Next

mysql: jdbc:mysql://mysql/confluence? useSSL=false

Confluence Home : /var/atlassian/confluence Confluence Installation : /opt/atlassian/confluence View logs tail -f /data/confluence/logs/atlassian-confluence.log Thank you for reading this article carefully. I hope that the article "Docker-compose how to deploy cracked wiki6.10" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support it a lot and pay attention to the industry information channel. More knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report