Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation
This guide describes how to install a new Confluence installation on Linux using the automated 'Linux Installer'. You can also install from a 'zip' archive — see Installing Confluence on Linux from Archive File for details.
If you are upgrading Confluence, please see Upgrading Confluence.
Please Note:
Use the console wizard if you are installing Confluence on your server for the first time or you wish to specify your installation options.
If you have previously installed Confluence using the installation wizard and wish to re-install Confluence again with the same installation options, you can re-install Confluence in 'unattended mode' without any user input required (see below for details).
If you execute the Linux Installer with 'root' user privileges, the installer will create and run Confluence using a dedicated user account. You can also execute the Linux Installer without 'root' user privileges, although your installation options will be much more limited and a dedicated user account (to run Confluence) will not be created. To run Confluence as a service, the Linux Installer must be executed with 'root' user privileges.
cd
) to the '.bin' file's directory.chmod a+x atlassian-confluence-X.Y.bin
Please Note:
If you executed the Linux Installer with 'root' user privileges, the Linux Installer creates a dedicated Linux user account with username 'confluence', which is used to run Confluence. This account has only:
If you executed the Linux Installer without 'root' user privileges, be aware that Confluence can still be run with 'root' privileges. However, to protect the security of your operating system, this is not recommended.
If Confluence is not already started, you can start Confluence using the appropriate command at the Linux console.
Once Confluence is started, you can access Confluence from a browser on any computer with network access to your Confluence server.
In the Linux console, enter the bin
subdirectory of your Confluence installation directory and execute the appropriate file:
start-confluence.sh
(to start Confluence)stop-confluence.sh
(to stop Confluence)Confluence will be ready to access (from a browser window) when the following message appears in the application's log file:
******************************************************* ... You can now access Confluence through your web browser. *******************************************************
You can access Confluence from any computer with network access to your Confluence server by opening a supported web browser on the computer and visiting this URL:
http://<computer_name_or_IP_address>:<HTTP_port_number>
where:
<computer_name_or_IP_address>
is the name or IP address of the computer on which Confluence is installed and<HTTP_port_number>
is the HTTP port number specified when you installed Confluence (above). If Confluence does not appear, you may need to change the port that Confluence runs on.
Note: Application server logs (i.e. for Apache Tomcat) will be written to logs/catalina.out
.
See the Confluence Setup Guide.
If you have previously installed Confluence using the console wizard (above), you can use a configuration file from this Confluence installation (called response.varfile
) to re-install Confluence in 'unattended mode' without any user input required.
Installing Confluence in unattended mode saves you time if your previous Confluence installation was used for testing purposes and you need to install Confluence on multiple server machines based on the same configuration.
Please Note:
response.varfile
file contains the options specified during the installation wizard steps of your previous Confluence installation. Hence, do not uninstall your previous Confluence installation just yet.response.varfile
file, please ensure all directory paths specified are absolute, for example, sys.installationDir=/opt/atlassian/confluence
cp
) the file .install4j/response.varfile
located in your previous Confluence installation directory, to the same location as the downloaded 'Linux Installer' file.response.varfile
if you need to install Confluence on multiple machines.Change directory (cd
) to the location of the 'Linux Installer' file and execute the following command:
atlassian-confluence-X.Y.bin -q -varfile response.varfile
Where:
X.Y
— refers to the version of Confluence you are about to install.-q
— instructs the installer to operate in unattended mode (i.e. 'quietly').-varfile response.varfile
— specifies the configuration file containing the configuration options used by the installer. The location and name of the configuration file should be specified after the -varfile
option.