下载confluence的docker镜像
docker pull cptactionhank/atlassian-confluence
启动confluence容器
docker run
--restart always -d
--name confluence
-p 8090:8090
-v /opt/confluence:/var/atlassian/application-data/confluence // not nessary
-v /etc/localtime:/etc/localtime:ro // not nessary
cptactionhank/atlassian-confluence
打开IP:8090
保存服务器ID,便于后续破解
安装Java程序以后可以直接打开confluence_keygen.jar
名字随便,severID填入上图中的ID,点击patch
选中以后点击gen
把下面的key复制到安装页面的激活码中
关于破解文件的复制
访问 ip:8090 记录下server id
//从容器中复制下来
sudo docker cp d45ec455a4f7:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar ./atlassian-extras-2.4.jar
//下载到本地
sz atlassian-extras-2.4.jar ( 该破解器只认识这个名称)
//下破解工具
链接: https://pan.baidu.com/s/1i3qJlCGpelNsx6KRIcUniA 提取码: kpax
解压后运行confluence_keygen.jar
点.path 选择atlassian-extras-2.4.jar
破解成功同目录显示atlassian-extras-2.4.jar.bak
//把atlassian-extras-2.4.jar 文件上传到服务器
//然后复制到容器中
sudo docker cp ./atlassian-extras-2.4.jar d45ec455a4f7:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar
//停止重启
使用mssql 数据库注意事项
- docker pull microsoft/mssql-server-linux
- docker run —name mssql -m 512m -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=Sesam123!’ -p 1433:1433 —restart always -d microsoft/mssql-server-linux;
- create database collation is SQL_Latin1_General_CP1_CS_AS
- ALTER DATABASE [dbname] SET READ_COMMITTED_SNAPSHOT ON
- default instance is empty, do not need to write anything in that field