confluence
Posted baxk2001
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了confluence相关的知识,希望对你有一定的参考价值。
Linux环境:
下载: wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.0.5.tar.gz #需要什么版本,只需要后面改版本号
下载: wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-5.8.10.tar.gz #需要什么版本,只需要后面改版本号
安装java JDK 1.7 or 1.8 # 不支持open JDK
安装数据库:mysql #yum -y install mysql mysql-devel mysql-server
create database confluence character set UTF8;
grant all on confluence.* to confluence@"localhost" identified by "confluence";
grant all on confluence.* to confluence@"%" identified by "confluence";
flush privileges;
安装:confluence
mkdir /opt/confluence
tar -zxvf atlassian-confluence-5.8.10.tar.gz -C /opt/confluence/
mkdir /opt/confluence/confluence-home #创建数据目录
vi /opt/confluence/confluence/WEB-INF/classes/confluence-init.properties
confluence.home=/opt/confluence/confluence-home#添加配置
启动:confluence
cd /opt/confluence/bin
./start-confluence.sh #./stop-confluence.sh
配置:
http://localhost:8090/ #检查本机防火墙是否开启
1.Production Installation #next
2.Get add-ons # next
3.Server ID:B84Y-61TU-LMPA-SZ0T# 猎取key 转到下面步骤.
4.Choose a Database Configuration # mysql
5.Direct JDBC Connection #输入数据库信息
完成!
+++++++++++++++++key+++++++++++++++++++++
a.下载文件到桌面:/opt/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar
b.重命名文件为:atlassian-extras-2.4.jar
c.运行keygen.bat
输入Server ID and Gen!
Path 下载后重命名的文件:atlassian-extras-2.4.jar
上传三个文件到:/opt/confluence/confluence/WEB-INF/lib/
重命名:mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.2.jar
./stop-confluence.sh and ./start-confluence.sh
+++++++++++++++++key+++++++++++++++++++++
附:http://pan.baidu.com/s/1c1Dedos
以上是关于confluence的主要内容,如果未能解决你的问题,请参考以下文章