docker run \
--name mysql-confluence \
--restart always \
-p 3316:3306 \
-e MYSQL_ROOT_PASSWORD=adg123456 \
-e MYSQL_DATABASE=confluence_db \
-e MYSQL_USER=confluence_user \
-e MYSQL_PASSWORD=confluence_123456 \
-d \
mysql:5.7
SET NAMES 'utf8';
alter database confluence_db character set utf8 collate utf8_bin;
SET GLOBAL tx_isolation='READ-COMMITTED';
./atlassian-confluence-6.15.4-x64.bin
开始提示:
Unpacking JRE ...
Starting Installer ...
This will install Confluence 6.9.0 on your computer.
OK [o, Enter], Cancel [c]
>> 输入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
>> 输入i或者直接回车
Extracting files ...
Please wait a few moments while we configure Confluence.
Installation of Confluence 6.9.0 is complete
Start Confluence now?
Yes [y, Enter], No [n]
>> 输入y或者直接回车
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.9.0 is complete
Your installation of Confluence 6.9.0 is now ready and can be accessed via
your browser.
Confluence 6.9.0 can be accessed at http://localhost:8090
Finishing installation ...
# 安装完成,访问本机的8090端口进行web端安装
# 开放防火墙端口
firewall-cmd --add-port=8090/tcp --permanent
firewall-cmd --add-port=8000/tcp --permanent
firewall-cmd --reload