Confluence是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki。
一、准备工作
下载confluence版本 多个选择 (6.7.1 ,6.9.1 ,6.12.1 ,6.13.0)
wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.12.1-x64.bin -P /opt
https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.7.1-x64.bin
https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.9.1-x64.bin
https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.13.0-x64.bin
下载破解
https://files.cnblogs.com/files/Javame/confluence%E7%A0%B4%E8%A7%A3%E5%B7%A5%E5%85%B7.zip
二、安装confluence
cd /opt
chmod +x atlassian-confluence-6.12.1-x64.bin
./atlassian-confluence-6.12.1-x64.bin
三、破解jar包
下载破解和mysql驱动
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.4.1.jar /opt/atlassian-extras-2.4.jar
2.通过FTP将atlassian-extras-2.4.jar传到本地
3.运行破解confluence_keygen.jar
java -jar confluence_keygen.jar
四、重启服务
重启服务前一定要记住传回的jar文件权限够不够,最好重新设置下权限。
chmod 777 atlassian-extras-decoder-v2-3.4.1.jar
service confluence stop;
service confluence start;
停止:sh /opt/atlassian/confluence/bin/stop-confluence.sh
启动:sh /opt/atlassian/confluence/bin/start-confluence.sh
当confluence无法启动时,可service confluence start 进行启动
五、访问confluence
http://localhost:8090
1.选择中文、点击产品安装
先不用选插件
2.拷贝服务ID通过破解获取key
将key传入到
3、至此,confluence破解完成
4、设置外部数据库
六、mysql配置设置
1.my.cnf配置
[client]
port = 3306
default-character-set=utf8
[mysqld]
# 一般配置选项
basedir = /home/work/mysql
datadir = /data/mysql
socket = /tmp/mysql.sock
user = mysql
log-bin=mysql-bin
tmpdir = /tmp
port = 3306
character-set-server=utf8
#默认引擎必须是innoDB
default_storage_engine = InnoDB
max_allowed_packet=34M
innodb_log_file_size=256M
key_buffer = 1024M
sort_buffer_size = 8M
net_buffer_length = 32K
read_buffer_size = 64K
read_rnd_buffer_size = 8M
#confluence必须使用事务,必须这个级别
transaction-isolation = READ-COMMITTED
#如果设置了binlog必须是row级别
binlog_format = row
[mysqld_safe]
log-error=/data/mysql/log/mysql.log
pid-file=/data/mysql/mysqld.pid
2.db属性必须是utf8,排序规则必须是utf8_bin