Installing Confluence on Linux from Archive File
In this guide we'll run you through installing Confluence in a production environment, with an external database, manually using a zip file.
This method gives you the most control over the installation process.
Other ways to install Confluence:
- Evaluation - get your free trial up and running in no time.
- Installer – install Confluence using the Linux installer.
- Windows – install Confluence on a Windows server.
On this page:
Before you begin
Before you install Confluence, there are a few questions you need to answer.
Are you using a supported operating system and Java version? | |
Do you want to run Confluence as a service? | |
Are ports 8090 and 8091 available? | |
What database do you plan to use? | |
Do you have a Confluence license? | |
Is your JAVA_HOME variable set correctly? | |
Have you created a dedicated user to run Confluence? |
There’s a known issue during setup where a load balancer (or proxy) pings the server and breaks Confluence installation or migration to Data Center. See
CONFSERVER-61189
-
Getting issue details...
STATUS
During installation, you need to disable load balancer health checks and make sure you don’t open multiple tabs that point to the same Confluence URL.
Install Confluence
1. Download Confluence
Download the tar.gz
file for your operating system - https://www.atlassian.com/software/confluence/download.
2. Create the installation directory
Create your installation directory – this is where Confluence will be installed. Avoid using spaces or special characters in the path. We'll refer to this directory as your
<installation-directory>
.
Extract the Confluence
tar.gz
file to your<installation-directory>
. We recommend using a GNU version of the archive utility, especially on Solaris.
Give your dedicated Confluence user read, write and execute permission to your
<installation-directory>
.
3. Create the home directory
Create your home directory – this is where Confluence application data like logs, search indexes and files will be stored. This should be separate to your installation directory, with no spaces or special characters in the path. We'll refer to this directory as your
<home-directory>
.
Give your dedicated Confluence user read, write and execute permissions to the
<home-directory>
.
- Edit
<installation-directory>\confluence\WEB-INF\classes\confluence-init.properties
. At the bottom of the file, enter the absolute path to your
<home-directory>
. This tells Confluence where to find your<home-directory>
when it starts up.
4. Check the ports
By default Confluence listens on port 8090
. If you have another application running on your server that uses the same ports, you'll need to tell Confluence to use a different port.
5. Enhance directory security
Increase the security of your <installation-directory>
with an extra layer of file and folder permissions.
6. Start Confluence
Run
<installation-directory>/bin/start-confluence.sh
to start the setup process.
- Go to
http://localhost:8090/
to launch Confluence in your browser (change the port if you've updated the Connector port).
Set up Confluence
7. Choose installation type
- Choose Production installation.
- Choose any apps you'd also like to install.
8. Enter your license
9. Connect to your database
- If you've not already done so, it's time to create your database. See the 'Before you begin' section of this page for details and connection options.
- For MySQL and Oracle, follow the prompts to download and install the required driver.
Enter your database details. Use test connection to check your database is set up correctly.
10. Populate your new site with content
11. Choose where to manage users
12. Create your administrator account
Skip this step if you chose to manage users in a Jira application or you imported data from an existing site.
13. Start using Confluence
If you plan to run Confluence behind a reverse proxy, check out Proxy and SSL considerations before you go any further.
Here's a few things that will help you get your team up and running:
- Set the server base URL – this is the URL people will use to access Confluence.
- Set up a mail server – this allows Confluence to send people notification about content.
- Add and invite users – get your team on board!
- Start and stop Confluence – find out how to start and stop Confluence.