安装wiki系统confluence:
安装包下载地址:
https://www.atlassian.com/software/confluence/download-archives
安装参考链接:
https://www.ilanni.com/?p=11989
破解需要的工具类 confluence-crack:
http://download.csdn.net/download/zj_alex/10111959
迁移:
1、将atlassian-confluence,整个目录拷贝出来并且转移到新的服务器上,可以利用scp或者rsync发到新服务器上去
2、利用Mysqldump备份数据数据,然后发到新的服务器上
在新服务器上
3、修改mysql的my.cnf配置
binlog_format=ROW
character-set-server =utf8
4、修改atlassian-confluence数据存储路径(可以自行定义)
vim /data/wiki/atlassian-confluence/confluence/WEB-INF/classes/confluence-init.properties
confluence.home=/data/wiki/atlassian-confluence/data
5、导入备份数据
mysqldump -uroot -p123456 <bak.sql
6、查看数据库配置:
vim /data/wiki/atlassian-confluence/data/confluence.cfg.xml
7、根据需求更改wiki端口
vim /data/wiki/atlassian-confluence/conf/server.xml
Connector port=”88”
8、启动数据库,启动wiki
/etc/init.d/mysql start /data/wiki/atlassian-confluence/bin/startup.sh
9、访问ip:port
启动日志报错:
Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
就是没有加入binlog_format=ROW
在mysql的my.cnf中加入
binlog_format=ROW
重启数据库,重启atlassian-confluence