CentOS 7 Confluence搭建

系统环境

#cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 
# uname -r
3.10.0-693.21.1.el7.x86_64

Confluence版本:5.6.6
Confluence下载地址:https://www.atlassian.com/software/confluence/download-archives
atlassian所有产品的中文语言包:https://translations.atlassian.com/dashboard/download?lang=zh_CN#/

安装

  • 关闭防火墙
# systemctl stop firewalld
# systemctl disable firewalld
  • 安装Java环境
# yum -y install java
# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
  • 安装数据库
# yum install mariadb* -y
# systemctl start mariadb
# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
# mysql_secure_installation

mysql初始化完成后登录数据

# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
> create database confluence default character set utf8;
> grant all on confluence.* to 'confluenceuser'@'%' identified by 'redhat12345' with grant option;
> grant all on confluence.* to 'confluenceuser'@localhost identified by 'redaht12345' with grant option;
Query OK, 0 rows affected (0.00 sec)
> flush privileges;
Query OK, 0 rows affected (0.00 sec)
# vim /etc/my.cnf
binlog_format=mixed
# systemctl restart mariadb
  • 上传包文件:
# chmod 755 atlassian-confluence-5.6.6-x64.bin
# ./atlassian-confluence-5.6.6-x64.bin
Unpacking JRE ...
Starting Installer ...
May 18, 2018 10:57:44 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
May 18, 2018 10:57:44 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install Confluence 5.6.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
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
Extracting files ...

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.6.6 is complete
Your installation of Confluence 5.6.6 is now ready and can be accessed via
your browser.
Confluence 5.6.6 can be accessed at http://localhost:8090
Finishing installation ...

CentOS 7 Confluence搭建
CentOS 7 Confluence搭建

在Windows命令行中输入命令提示“java不是内部命令”,请在oracle官网下载java并安装

CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建

复制Key到Web安装界面点击Next

CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建
CentOS 7 Confluence搭建

转载于:https://blog.51cto.com/roben/2159998

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值