安装jdk
yum install -y java-1.8.0-openjdk.x86_64
java -version
安装MySQL
mkdir -p /data/mysql/data
chmod 777 /data/mysql/data
docker rm -f mysql
docker run -d --name mysql \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=fingard1 \
-v /data/mysql/data:/var/lib/mysql \
-e TZ=Asia/Shanghai \
--restart=always \
mysql:5.7.28 \
--character-set-server=utf8mb4 \
--collation-server=utf8mb4_general_ci \
--lower-case-table-names=1 \
--default-storage-engine=INNODB \
--max-connections=100000
docker logs -f mysql
安装Confluence
chmod +777 atlassian-confluence-7.13.11-x64.bin
./atlassian-confluence-7.13.11-x64.bin
输入: ./atlassian-confluence-7.13.11-x64.bin # 开始安装
接下来你需要输入来选 o 1 i y ,具体作用下面的执行结果,我在相应的地方有注释
root@wiki:/mnt/confluence# ./atlassian-confluence-7.13.11-x64.bin
Installing fontconfig and fonts
Hit:1 http://mirrors.huaweicloud.com/debian bullseye InRelease
Hit:2 http://mirrors.huaweicloud.com/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fontconfig is already the newest version (2.13.1-4.2).
fontconfig set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
fonts-dejavu
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 32.6 kB of archives.
After this operation, 39.9 kB of additional disk space will be used.
Get:1 http://mirrors.huaweicloud.com/debian bullseye/main amd64 fonts-dejavu all 2.37-2 [32.6 kB]
Fetched 32.6 kB in 0s (506 kB/s)
Selecting previously unselected package fonts-dejavu.
(Reading database ... 45291 files and directories currently installed.)
Preparing to unpack .../fonts-dejavu_2.37-2_all.deb ...
Unpacking fonts-dejavu (2.37-2) ...
Setting up fonts-dejavu (2.37-2) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
fonts-noto-cjk-extra
The following NEW packages will be installed:
fonts-noto-cjk
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 55.1 MB of archives.
After this operation, 91.3 MB of additional disk space will be used.
Get:1 http://mirrors.huaweicloud.com/debian bullseye/main amd64 fonts-noto-cjk all 1:20201206-cjk+repack1-1 [55.1 MB]
Fetched 55.1 MB in 5s (11.1 MB/s)
Selecting previously unselected package fonts-noto-cjk.
(Reading database ... 45295 files and directories currently installed.)
Preparing to unpack .../fonts-noto-cjk_1%3a20201206-cjk+repack1-1_all.deb ...
Unpacking fonts-noto-cjk (1:20201206-cjk+repack1-1) ...
Setting up fonts-noto-cjk (1:20201206-cjk+repack1-1) ...
Processing triggers for fontconfig (2.13.1-4.2) ...
Regenerating the font cache
Fonts and fontconfig have been installed
Unpacking JRE ...
Starting Installer ...
This will install Confluence 7.13.11 on your computer. # 问是不是要在这个电脑上装
OK [o, Enter], Cancel [c]
o #选O
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] 升级当前的系统
1 #选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 #默认端口 8090 选i
Extracting files ...
Please wait a few moments while we configure Confluence.
Installation of Confluence 7.13.11 is complete #是不是要启动
Start Confluence now?
Yes [y, Enter], No [n]
y #是 y
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 7.13.11 is complete
Your installation of Confluence 7.13.11 is now ready and can be accessed via
your browser.
Confluence 7.13.11 can be accessed at http://localhost:8090
Finishing installation ... #搞定
http:ip:8090 访问
Confluence7.4安装教程_confluence安装教程_苜蓿花乐园的博客-CSDN博客
按照这个文件,将MySQL驱动和授权弄好
confluence安装过程连接数据库遇到的问题_confluence 排序规则错误-CSDN博客