centos7 安装confluence6.7.1及设置

  1. 下载confluence6.7.1,保存文件到 /opt目录下sss

wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.7.1-x64.bin -P /opt

    2.安装confluence

cd /opt
chmod +x atlassian-confluence-6.7.1-x64.bin
./atlassian-confluence-6.7.1-x64.bin

    3.下载破解包

https://files.cnblogs.com/files/Javame/confluence%E7%A0%B4%E8%A7%A3%E5%B7%A5%E5%85%B7.rar

        1.备份jar包

            mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.3.0.jar /opt/atlassian-extras-2.4.jar

        2.通过FTP将atlassian-extras-2.4.jar传到本地

        3.运行破解器confluence_keygen.jar

           java -jar confluence_keygen.jar

centos7 安装confluence6.7.1及设置_第1张图片

    点击.patch,选择atlassian-extras-2.4.jar文件,点击打开,jar文件破解成功
    4.上传破解后jar包到/opt/atlassian/confluence/confluence/WEB-INF/lib,并重命名atlassian-extras-decoder-v2-3.3.0.jar
    5.上传mysql驱动/opt/atlassian/confluence/confluence/WEB-INF/lib

mysql数据库设置

CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin; 创建数据库
SET GLOBAL tx_isolation='READ-COMMITTED'; 不设置此项,连接数据库无法连通
# 修改用户权限是可以远程访问
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' identified by 'TOPxyb@123' with grant option; 修改root权限,可以远程访问
flush privileges; 保存修改

启动confluence
 

​​​​​​​停止:sh /opt/atlassian/confluence/bin/stop-confluence.sh
启动:sh /opt/atlassian/confluence/bin/start-confluence.sh

安装参考链接:

手把手教你实现confluence安装

解决乱码问题​​​​​​​

你可能感兴趣的:(centos7 安装confluence6.7.1及设置)