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-61189Getting 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. 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
6. Choose installation type
7. Enter your license
8. Connect to your database
9. Populate your new site with content
10. Choose where to manage users
11. Create your administrator account
12. Start using Confluence