First, the preparatory work
1, docker deployment environment
2, crack plug: https://gitee.com/pengzhile/atlassian-agent
Second, the installation jira
2.1 Docker cracked container production
Write Dockerfile file:
The FROM cptactionhank / Atlassian-JIRA-Software: Latest the USER the root # the agent into the vessel to crack the package COPY "Atlassian-agent.jar that" / opt / Atlassian / JIRA / # boot loader agent package set the RUN echo 'Export the CATALINA_OPTS = "- the javaagent: /opt/atlassian/jira/atlassian-agent.jar $ {CATALINA_OPTS} " '>> /opt/atlassian/jira/bin/setenv.sh
2.2 Download atlassian-agent.jar file, Dockerfile placed in the same directory, for example
- JIRA
Dockerfile
atlassian-agentjar
2.3 Construction of the mirror, the command:
docker build BIC code / comment: latest.
display:
Sending build context to Docker daemon 976.9kB Step 1/4 : FROM cptactionhank/atlassian-jira-software:latest ---> a4e226435cc8 Step 2/4 : USER root ---> Running in 6bffa3557af9 Removing intermediate container 6bffa3557af9 ---> 517c70568305 Step 3/4 : COPY "atlassian-agent.jar" /opt/atlassian/jira/ ---> 8c97f46bf2d3 Step 4/4 : RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/jira/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/jira/bin/setenv.sh ---> Running in 3c644ad7a754 Removing intermediate container 3c644ad7a754 ---> 8342dee2d58b Successfully built 8342dee2d58b Successfully tagged jira/jira:latest
2.4 Starting container, execute the command:
docker run --detach --publish 8080:8080 jira/jira:latest
2.5 Access http://127.0.0.1:8080
2.5.1 docker establish mysql database (the default character set: utf8 default collation: utf8_ bin, otherwise an error?)
docker pull mysql:5.6
docker run --name jirasql -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 -d mysql:5.6
2.5.2 jira configuration mysql database
2.6 crack
2.6.1 Replication Server ID: B33Q-56JC-AQSG-GMA3
2.6.2, execute command in local storage "atlassian-agent.jar" directory, generate a license:
# Need to replace the mailbox ([email protected]), name (BAT), # access address (HTTP: //192.168.0.89), server ID (BY9B-GWD1-1C78-K2DE) # for your information java -jar atlassian -d -m -n BAT [email protected] -agent.jar JIRA -p -o HTTP: //192.168.0.89 -s B33Q-56JC-AQSG-GMA3
==================================================== ======= Atlassian Crack Agent ======= ======= https://zhile.io ======= ======= QQ Group: 30347511 ======= ==================================================== Your license code(Don't copy this line!!!): AAABng0ODAoPeJyNkkFv4jAQhe/5FZF6TpoEaAHJ0rJJVKVKYLuB3k0YGiNju2OHXfrr1yGpti0IV fLF1rznN9/MTUmNO1PoBkM3iqbDyTQM3LhculEQBc4LAohaKgXo56wCoWF5VDCneyDxoijS33E2y 50YgRomRUINkFboBUN7nCuSBHSFTLUqshKc7ZmBjcs7gbs+urUxSk9vb99qxsFn0ikoEwYEFRWkf xXDY//beOIF9/Y4O4b0PWW6YZ31PM+KbJkmzrzZrwEX25UG1MQL38Nd8VIoN01l/Pbiabk1fyiCf 2Z0pZZWhh2AGGzgE8uP71fkNhWNwXaNXWmP59l+3DYXOWWz/o/xVJIeKG9OwyBbynVv/9VogS9UM N3VtaQtaC4rymupjRNLYWzC1BLnhLMdg508/nh99Su57/wuM/hmV6Wh2Cbp8vVjyBKSZ0mZzr08H I3vgjC8HwXj4eepXlqkEvAAaOU/B4Mnb3T3GHuzp/LBeyhmg0v7e74Zvxqsaqrh6/Z+FJ/YKWS6b 88GJRfC9uROGR9lLf4BatEo1zAsAhQX6DZd+ApriOy5qpamV/bykFPOGAIUXTUtqM1owPU1dPMAS Kam9IQ3+J0=X02k0
Activation is completed.