201-340-9101 sales@avxcloud.com

Confluence is great way to manage projects and keep track of current/previous projects. Follow this guide on how to install Confluence. This guide assumes that the server is already setup with networking.

1. Create a Confluence Service User Account

The best way to run Confluence is as a service. In order to do so we must first create a service account.

2. Download Confluence Server

First we are going to switch to our Confluence user and then install Confluence. Please note the download link below will very based on the current version of Confluence.

3. Install Confluence Server

Next we are going to install Confluence Server as our Confluence server account. This step is very important. If Confluence is not installed with another account that is not root then it can not be installed as a service.

We will first make the .bin file executable and then we will install it. Follow the prompts after running the executable.

4. Open Required Ports

Now we will open the required firewall ports.

5. Install MySQL 5.7

Confluence requires a database to store its information. For this demonstration we will be installing MySQL 5.7 as this is a version that Confluence supports. Please choose the best database for your usage case.

First we are going to download MySQL 5.7 and then we will install it, start the service and then grab the temporary password that we will use in the upcoming steps.

6. Secure MySQL 5.7

Now we can setup MySQL. Keep the temporary password from the last step handy as the security prompt will ask for it.

7. Configure MySQL 5.7

After installing MySQL, we can now configure MySQL for Confluence. First we must optimize MySQL for Confluence by editing the my.cnf file located at “/etc/my.cnf”. Add the following after the “[mysqld]” line in the file.

After closing and saving the file we can restart the MySQL service to complete the changes.

8. Setup MySQL Database

Now we are able to setup the MySQL database for Confluence.

Run MySQL as root and use the root password you created earlier.

Now enter the following commands to create the database and the confluence database user.

9. Install MySQL driver

Download the MySQL driver for Confluence and then copy the .bin.jar file to the Confluence install directory.

Restart Confluence.

10. Finished

We are finished. You can now configure Confluence at http://your-server-name:8090 and run through the initial configuration and connect to you MySQL database.