注意
- Linux环境建议安装中文包,并提供默认语言为zh_CN
- 安装数据库,建议使用库表名不区分大小写,并默认使用字符集为UTF-8
- 链接Mysql的用户,对此库有最大最高权限(数据库字符集建议使用: utf8, COLLATE使用utl8_bin))
创建数据库
-- 创建用户 CREATE USER 'wikiuser'@'%' IDENTIFIED BY 'wikiuser'; -- 创建数据库 CREATE DATABASE confluencedb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; -- 授权 GRANT ALL PRIVILEGES ON confluencedb.* TO 'wikiuser'@'%'; flush privileges;
执行安装和确认安装
[root@izbp1cvw2qewdmzjt3o82gz opt]# ./atlassian-confluence-6.15.1-x64.bin Unpacking JRE ... Starting Installer ... This will install Confluence 6.15.1 on your computer. OK [o, Enter], Cancel [c] |
---|
选择安装目的
Click Next to continue, or Cancel to exit Setup. 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] |
---|
填写安装目录和文件目录
Select the folder where you would like Confluence 6.15.1 to be installed, then click Next. Where should Confluence 6.15.1 be installed? [/opt/atlassian/confluence] Default location for Confluence data [/var/atlassian/application-data/confluence] |
---|
填写相关端口号
Configure which ports Confluence will use. Confluence requires two TCP ports that are not being used by any other applications on this machine. The HTTP port is where you will access Confluence through your browser. The Control port is used to Startup and Shutdown Confluence. Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2] |
---|
确认是否安装服务
Confluence can be run in the background. You may choose to run Confluence as a service, which means it will start automatically whenever the computer restarts. Install Confluence as Service? Yes [y, Enter], No [n] |
---|
启动服务
回车后,开始进行安装,安装完成后会提示是否需要启动
Please wait a few moments while we configure Confluence. Installation of Confluence 6.15.1 is complete Start Confluence now? Yes [y, Enter], No [n] |
---|
注意,在启动之后,我们的Confluence需要连接外部数据,需要提前将连接数据库的驱动包放置在Confluence的安装目录/lib目录下
之后,我们进行回车,启动服务。
至此,Confluence安装完成,将进入到Confluence的启动配置界面进行Confleunce系统配置。
初始化服务
接下来请继续:03-Confluence系统初始化(server)
如果安装的是DataCentere授权,可以继续:02-Confluence系统初始化(DataCenter)
检查
- 可以登录创建空间、创建页面、上传附件
- 页面显示中文正常
- 附件文件名称 显示正常
- 上传work,ppt,excel,pdf预览中文显示正常
有问题可以在119-使用问题 找相关资料来进行解决