在Docker中部署Confluence和jira-software的方法步骤

2020-06-17 06:17:36易采站长站整理

> 交互式安装过程:
This will install Confluence 6.15.4 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] 升级
2

Select the folder where you would like Confluence 6.15.4 to be installed, 选择要安装Confluence 6.15.4的文件夹,
then click Next. 然后单击Next。
Where should Confluence 6.15.4 be installed? 6.15.4应安装在何处?
[/opt/atlassian/confluence] /usr/local/confluence/etc

Default location for Confluence data confluence数据的默认位置
[/var/atlassian/application-data/confluence] /usr/local/confluence/data

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] 1=默认,2=自定义
1

Confluence can be run in the background. 可以在后台运行Confluence。
You may choose to run Confluence as a service, which means it will start 您可以选择将Confluence作为服务运行,这意味着它将启动
automatically whenever the computer restarts. 自动每当计算机重新启动。
Install Confluence as Service? 安装Confluence作为服务?
Yes [y, Enter], No [n] Yes [y, Enter], No [n] y

Extracting files ...

Please wait a few moments while we configure Confluence.

Installation of Confluence 6.15.4 is complete Confluence 6.15.4安装完成
Start Confluence now? 现在启动Confluence吗?
Yes [y, Enter], No [n] y

Please wait a few moments while Confluence starts up.
Launching Confluence ...

Installation of Confluence 6.15.4 is complete
Your installation of Confluence 6.15.4 is now ready and can be accessed via
your browser.
Confluence 6.15.4 can be accessed at http://localhost:8090
Finishing installation ...

# wiki和jira一样并没有自带java连接mysql的驱动器,所以这里需要自己下载,并且放入对应目录.
wget https://cdn.mysql.com//Downloads/Connector-J/mysql-connector-java-5.1.47.tar.gz
tar zxf mysql-connector-java-5.1.47.tar.gz
cp mysql-connector-java-5.1.47/mysql-connector-java-5.1.47-bin.jar /usr/local/confluence/etc/confluence/WEB-INF/lib/