Also, please check the version of Confluence which you are installing. Refer to the documentation home page to verify the latest Confluence version and to find documentation for older versions. |
On this page:
Please check the following points:
Please refer to the Supported Platforms for the required version of Java. (OpenJDK is currently not supported. A JIRA issue to request support for this JDK has been created.)
echo $JAVA_HOME in the shell console and then press Enter/opt/jdk1.6.0_12 or /usr/lib/jvm/java-6-sun, then Java is installed and properly configured.$JAVA_HOME environment variable. You can set this environment variable in your user account's 'profile' file. Alternatively, you can set this after installing Confluence (in step 4 below) by defining this path in your Confluence installation's setenv.sh file, usually located in the Confluence bin directory.Use your unzip program to unzip the installation file to a directory such as /home/jsmith/confluence-2.7.0-std/.
Most Linux/Solaris users can use any unzip program (such as GNU Tar) to extract the Confluence installer. However, Solaris users should not use the Solaris Tar program due to a known issue associated with its use in extracting Confluence. Use another application such as GNU Tar instead.
For example, change directory to your home directory in Linux and enter the following commands in the shell console:
gunzip confluence-<version>-std.tar.gztar -xf confluence-<version>-std.tar<version> refers to the Confluence version you downloaded.) As usual on Linux/Solaris-based operating systems, avoid using spaces in your directory path. The directory into which you unzipped the Confluence installation is called the Confluence Installation directory. Next you will define the Confluence Home directory.
Now you need to define the Confluence Home directory. This is where Confluence will store its configuration information, indexes and attachments.
Tip: Another term for 'Home directory' would be 'data directory'.
We suggest using different paths for your installation and home directories. This will facilitate upgrades. Examples of Installation and Home Directories:
/usr/local/confluence/ /usr/local/confluence-3.1-std/ and optionally, create the symbolic link /usr/local/confluence/ that points to /usr/local/confluence-3.1-std//usr/local/confluence-data/confluence/WEB-INF/classes/confluence-init.propertiesconfluence-init.properties file in a text editor.Scroll to the bottom and find this line:
# confluence.home=c:/confluence/data |
confluence.homeIf you decide to change the Confluence Home directory from the default, use an absolute path rather than a symbolic link to specify the path and file name. For example:
confluence.home=/home/jsmith/confluence-data/ |
If you have another application running on your machine which is using the same ports that Confluence uses by default, you may need to change the port which Confluence will use. For example, if you have a installation of JIRA running on this machine, JIRA might be already using the port which Confluence requests by default.
By default, Confluence listens on port '8090'. If this port is already in use in your installation, follow these instructions to change the ports:
You will find more information on this page.
This step is optional for users evaluating Confluence. However, if you are installing Confluence for production purposes, this step is mandatory. Please refer to the database requirements listed on our System Requirements topic for help in choosing an external database.
External databases are those listed on our Supported Platforms topic, excluding HSQLDB, which is bundled with Confluence and should not be used in production.
When you have chosen your external database, follow the database setup guide for setting up your database to work with Confluence.
You can learn more about migration from an existing installation or use of the evaluation database here. You will continue to use the Database Setup Guide during the Confluence Setup Wizard. (See step 8 below.)
bin directory and run the startup script: start-confluence.sh.The Confluence Setup Wizard should appear in your web browser, prompting you to enter your license key. Follow the instructions on the screens, and read more guidelines on the Confluence Setup Wizard.
If the web browser shows an error instead of the Setup Wizard, check the Installation FAQ.
Change listen port for Confluence
Running Confluence Over SSL or HTTPS
Confluence Setup Guide
Configuring Confluence
Documentation Home