1. 软件环境说明
# 安装 jdk
[root@wiki ~]# yum install java [root@wiki ~]# java -version openjdk version "1.8.0_181" OpenJDK Runtime Environment (build 1.8.0_181-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
# 安装数据库,为confluence创建对应的数据库
[root@wiki ~]# systemctl enable mariadb.service Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service. [root@wiki ~]# systemctl start mariadb.service
[root@wiki ~]# mysqladmin -uroot password XXXXX
mysql配置
MariaDB [(none)]> create database confluence default character set utf8 collate utf8_bin; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> grant all on confluence.* to 'confluence'@'localhost' identified by 'confluence'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]>
2.安装confluence
[root@wiki ~]# wget "http://10.0.3.82:28080/atlassian-confluence-5.9.9-x64.bin"^C [root@wiki ~]# chmod +x atlassian-confluence-5.9.9-x64.bin
安装完成后 http://IP:8090 浏览器访问