俄罗斯撤销针对普里戈任的刑事立案-重点聚焦
2023-06-27
来源:博客园 2023-06-28 05:12:30
(资料图片仅供参考)
sudo docker search confluence #搜索jenkins 镜像
sudo docker pull atlassian/confluence:latest
sudo docker run -d --name confluence -p 8090:8090 --user root:root atlassian/confluence# 访问: http://IP:8090 按步骤操作
# 复制出破解文件docker cp e8d8f93b6556:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar atlassian-extras-decoder-v2-3.4.1.jar# 1.复制出来的文件,修改为 atlassian-extras-2.4.jar# 2.采用破解工具,输入服务ID ,加载atlassian-extras-2.4.jar (会生成atlassian-extras-2.4.bak),生成密钥;# 3.将atlassian-extras-2.4.jar修改为atlassian-extras-decoder-v2-3.4.1.jar,复制回容器docker cp atlassian-extras-decoder-v2-3.4.1.jar e8d8f93b6556:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar# 4.若数据库采用mysql,需要复制驱动docker cp mysql-connector-java-8.0.25-bin.jar e8d8f93b6556:/opt/atlassian/confluence/confluence/WEB-INF/lib/mysql-connector-java-8.0.25-bin.jar# 重启服务或重启容器/etc/init.d/confluence restart# 输入密钥
-- mysql配置-- 不允许 Confluence 数据库用户创建和更改存储的函数,因为**my.cnf**文件的**[mysqld]**部分中缺少该参数,如[MySQL 数据库设置](https://confluence.atlassian.com/conf711/-- database-setup-for-mysql-1044782479.html)文档中所述。`log_bin_trust_function_creators = 1`-- 创建用户create user confluence@localhost identified by "password";-- 创建数据库 5.7 采用utf8 和 utf8_bincreate database confluence character set utf8mb4 collate utf8mb4_bin;-- 授权grant all privileges on confluence.* to confluence@"localhost";--刷新权限flush privileges;
# 连接数据库URLjdbc:mysql://127.0.0.1:3306/confluence?sessionVariables=transaction_isolation="READ-COMMITTED"# 输入账号密码