环境
系统:CentOS 6.7
软件:atlassian-confluence-5.9.6-x64.bin
准备
安装jdk
本文使用的bin包自带jdk,可以不用安装-
关闭selinux
# vim /etc/selinux/config SELINUX=disabled
confluence安装
下载bin包
地址:https://www.atlassian.com/software/confluence/download-
安装
# chmod +x atlassian-confluence-5.9.6-x64.bin # ./atlassian-confluence-5.9.6-x64.bin This will install Confluence 5.9.6 on your computer. OK [o, Enter], Cancel [c] 按o安装 Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3] 按1默认安装,按2定制安装路径和端口 See where Confluence will be installed and the settings that will be used. Installation Directory: /opt/atlassian/confluence Home Directory: /var/atlassian/application-data/confluence HTTP Port: 8090 RMI Port: 8000 Install as service: Yes Install [i, Enter], Exit [e] 按i安装
mysql安装
安装mysql
参见:http://www.jianshu.com/p/17ca1b54b41c-
创建confluence数据库
> CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;
MySQL JDBC driver安装
-
安装
# tar -xzvf mysql-connector-java-5.1.38.tar.gz # cp mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/
-
重启confluence
# /etc/init.d/confluence restart
confluence初始化
访问http://ip:8090, 填选以下信息
Production Installation
注册License
选择External database:MySQL
第一项保持默认,第二项在后面加上&useUnicode=true&characterEncoding=utf8,然后填写数据账户和密码,确认后会自动在confluence库创建表,需等待几分钟
Empty Site
如要使Confluence独立,选Manage Users and Groups within Confluence
如要与Jira集成,选Connect to JIRA;并填写Jira的URL、账户、密码等,若Jira版本是7.x,User Groups填jira-software-users
confluence破解
下载破解包
由于分享被限制,请留下邮箱,然后......
地址:https://pan.baidu.com/s/1gffBE75
密码:dux9-
安装破解包
# cp atlassian-extras-decoder-v2-3.2.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/ # /etc/init.d/confluence restart