CentOS 7 Wiki搭建

系统环境
#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,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,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 Wiki搭建


CentOS 7 Wiki搭建

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

CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建

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

CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建


CentOS 7 Wiki搭建

相关文章

linux下开机自启: 在/etc/init.d目录下新建文件elasticsear...
1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以...
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用...
ASP.NET Core应用程序发布linux在shell中运行是正常的。可一...
设置时区(CentOS 7) 先执行命令timedatectl status|grep &...
vim /etc/sysconfig/network-scripts/ifcfg-eth0 B...