Installing Confluence on Linux
In this guide we'll run you through installing Confluence in a production environment, with an external database, using the Linux installer.
This is the most straightforward way to get your production site up and running on a Linux server.
Other ways to install Confluence:
- Evaluation - get your free trial up and running in no time.
- TAR.GZ – install Confluence manually from an archive file.
- Windows – install Confluence on a Windows server.
Before you begin
Before you install Confluence, there are a few questions you need to answer.
Are you using a supported operating system? | |
Do you want to run Confluence as a service? | |
Is your database set up and ready to use? | |
Do you have a Confluence license? |
Install Confluence
1. Download Confluence
Download the installer for your operating system – https://www.atlassian.com/software/confluence/download
2. Run the installer
Make the installer executable.
Run the installer – we recommend using
sudo
to run the installer as this will create a dedicated account to run Confluence and allow you to run Confluence as a service.
- Follow the prompts to install Confluence. You'll be asked for the following info:
- Install type – choose option 2 (custom) for the most control.
- Destination directory – this is where Confluence will be installed.
- Home directory – this is where Confluence data like logs, search indexes and files will be stored.
- TCP ports – these are the HTTP connector port and control port Confluence will run on. Stick with the default unless you're running another application on the same port.
- Install as service – this option is only available if you ran the installer as
sudo
.
- Once installation is complete head to http://localhost:8090 in your browser to begin the setup process.
(Replace8090
if you chose a different port during installation).
Set up Confluence
3. Choose installation type
- Choose Production installation.
- Choose any add-ons you'd also like to install.
4. Enter your license
5. 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.
- Select your database from the dropdown menu and choose External Database.
Choose how you want to connect to your database:
6. Populate your new site with content
7. Choose where to manage users
8. 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.
9. Start using Confluence
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.