confluence

∥☆過路亽.° 提交于 2019-12-18 00:39:36

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 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!