confluence6.x安装

一 简介

confluence是一个专业的企业知识管理与协同软件,可以用于构建企业wiki。通过它可以实现团队成员之间的协作和知识共享。

网上有关confluence的教程比较多,在此我们以confluence6.4.2版本为例进行相关的实验。

二 环境准备

1 confluence的运行是依赖java环境的,也就是说需要安装jdk并且要是1.7以上版本,如下:

[root@localhost src]# java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

具体jdk环境的安装请参考其他文章,简单贴一下jdk的配置

vim /etc/profile
export JAVA_HOME=/usr/local/src/jdk1.8.0_171
export JRE_HOME=/usr/local/src/jdk1.8.0_171/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$JAVA_HOME/bin:$PATH

下载地址参见:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2 创建数据库,这里选用mysql5.7,有关它的安装请移步其他文章

下载地址:ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.7  一点小提示,安装的时候最好下载免编译版本gblic的

创建数据库

mysql -uroot -p'123456' -e "create database confluence default character set utf8 collate utf8_bin;grant all on confluence.* to 'confluenceuser'@'%' identified by 'confluencepasswd';
查看创建的数据库,以及测试登录
[root@localhost src]# mysql -uconfluenceuser -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2783
Server version: 5.7.23-log MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;

这样基础环境就配置完毕。

三 开始安装confluence

猜你喜欢

转载自www.cnblogs.com/Dicky-Zhang/p/9973369.html
今日推荐