Confluence 4.2 has reached end of life
Check out the [latest version] of the documentation
Before running the Confluence Setup Wizard, as described below, you should have already completed installing Confluence.
When you access Confluence in your web browser for the first time, you will see the Confluence Setup Wizard. This is a series of screens which will prompt you to supply some default values for your Confluence site. It will also offer some more advanced options for setting up data connections and restoring data from a previous installation.
1. Start the Setup Wizard
- If Confluence is not already running, start it now:
- If you are running the Confluence distribution on Windows, click Start > Programs > Confluence > Start Confluence Server.
- Or, run the start-up script found in the
bin
folder of your installation directory:start-confluence.bat
for Windows.start-confluence.sh
for Linux-based systems.
- Go to the following web address in your web browser: http://localhost:8090
The above web address uses port '8090'. If you chose a different port during installation, change '8090' to the number you chose.- You should see the licensing screen described below.
- If an error message appears, first check that you are using the port which you specified during installation. Then check the Installation FAQ.
On this page:
2. Enter your License Key
Screenshot above: Licensing and installation type
Hint: The above image and all the images on this page are screenshots. Clicking an image will not configure Confluence.
Find your Confluence license key and paste it into the License Key field, shown on the screenshot above.
If you already have a license key, you can retrieve it from the Atlassian website.
If you do not already have a Confluence license, you can obtain one now:
- To get a free evaluation license:
- Click generate an evaluation license online on the setup wizard, shown on the screenshot above.
- Follow the prompts to generate your license key and insert it into the setup wizard's licensing screen automatically.
- To get a commercial, academic, non-profit or open source license:
- Copy your Server ID from the setup wizard's licensing screen, shown on the screenshot above.
- Choose the license type you need from the list on the Atlassian website.
- Complete the online order form.
3. Choose your Installation Type
Refer to the screenshot above. In this step, you will choose whether you want an evaluation or a production installation.
Option 1: Evaluation Installation — Set up Confluence with the embedded HSQLDB database and default settings. This option will also install a Demonstration space with some example content to get you working with Confluence as quickly and easily as possible. You may upgrade to another type of database later on.
Who should choose this option?
- Choose the evaluation installation if you are evaluating Confluence or if you are new to Confluence.
- This option is not recommended for production instances of Confluence.
For production use, we strongly recommend that you connect to an external database rather than using the embedded database. The evaluation installation is therefore not suitable for production environments.
Next, you will be asked for details of your system administrator. Go to step 10 below. Yes, you really can skip all the steps between.
Option 2: Production Installation — Customise your Confluence instance to use your own database and your own data.
The production installation offers the following options:
- Connect Confluence to an external database. Recommended for Confluence used in production environments.
- Restore data from an existing Confluence database.
- Install Confluence without the demonstration content.
4. Production Installation: Database Configuration
Screenshot above: Database configuration
The above screen appears if you have chosen a production installation of Confluence. You can choose to use the embedded database supplied with your Confluence installation, or to connect to an external database.
- Option 1: Embedded Database — If you select this option, Confluence will use an embedded HSQLDB database. You should only select this option for the purposes of evaluating or demonstrating the use of Confluence. You can migrate to an external database later on if you wish.
- Option 2: External Database — If you wish Confluence to use an external database, select your database type from the database dropdown list and then click the 'External Database' button.
- For production purposes, you should use an external database to ensure your data is kept safe and consistent.
- If you choose PostgreSQL, please make sure that the version you install is supported by Atlassian. It is possible that we do not yet support the latest version of PostgreSQL.
- Read the page about supported platforms for more information about which databases are supported. For details about choosing an external database, refer to the page on system requirements.
5. Production Installation: External Database
Before you Start You can choose to configure your database via a standard JDBC connection or via a server-managed datasource connection. Choose one of the two options below. Option 1: Standard Database Connection — This uses a standard JDBC database connection. Connection pooling is handled within Confluence. Screenshot above: Standard (JDBC) connection Supply the following information: You will also need to know: Option 2: Datasource Connection — This asks the Java application server for a database connection. You will need to have configured a datasource into your application server. Screenshot above: Datasource connection Supply the following information: You will also need to know:<confluence-install>/lib
directory.
Note: Some servers will have JNDI names like jdbc/datasourcename
; others will be of the form java:comp/env/jdbc/datasourcename
. Consult your application-server documentation.
6. Production Installation: Load Content
Screenshot above: Load content Select one of the following options:
7. Production Installation: Restore Data from Backup
This option allows you to reload your data from an existing Confluence installation into your new Confluence site during the initial setup procedure. You can choose to upload data from a zipped backup file, or to restore from a backup file on your file system. Option 1: Upload a zipped backup to Confluence — This option will load the data from a zipped backup file. To restore from a zipped backup: Option 2: Restore a backup from the filesystem — This option is recommended if you have a very large daily backup file (greater than 100MB), or a daily backup file that is already on the server and doesn't require uploading.
To create a backup file from your existing version of Confluence, go to the 'Backup & Restore' section of your Administration Console.
restore
directory inside your confluence Home directory and then refresh the page. You should now see your backup file appear on the 'Restore Data' screen (pictured above), in the box beneath the heading 'Restore a backup from the filesystem'. When the restore process has finished, you are ready to log in to Confluence. The system administrator account and all other information has been transferred from your previous Confluence installation.
8. Production Installation: Set Up User Management
Screenshot above: User management
You can choose to manage Confluence's users and groups inside Confluence or in JIRA.
- If you do not have Atlassian JIRA installed, or if you would prefer to set up external user management later, choose Manage users and groups within Confluence.
- If you have JIRA installed, the setup wizard gives you the opportunity to configure the JIRA connection automatically. This is a quick way of setting up your JIRA integration with the most common options. It will configure a JIRA user directory for Confluence, and set up application links between JIRA and Confluence for easy sharing of data. Choose Connect to JIRA.
9. Production Installation: Connect to JIRA
Screenshot above: Connecting to JIRA in the Confluence setup wizard Enter the following information:
http://www.example.com:8080/jira/
http://jira.example.com
jira-users
. (These groups will receive the 'can use' permission in Confluence.)jira-administrators
. (These groups will receive the 'Confluence system administrator' and 'Confluence administrator' permissions in Confluence.)
For full details and a troubleshooting guide, see Configuring JIRA Integration in the Setup Wizard.
10. Set Up System Administrator
Screenshot above: System administrator
The system administrator has full administrative power over your Confluence instance. This person will be able to add more users, create spaces, and set further Confluence options. Please refer to the overview of global permissions for more information.
Hint: If you are evaluating Confluence, set yourself up as the administrator.
- Enter the following information to set up your system administrator's user account:
- Username — The username under which the system administrator will log in to Confluence, e.g. 'jsmith'.
- Password — The password which the system administrator will use to log in.
- Confirm — Enter the same password again.
- Name — The system administrator's full name, e.g. 'John Smith'.
- Email — The system administrator's email address, e.g. 'jsmith@example.com'.
- Click 'Next'.
11. Setup is Complete
Screenshot above: Setup is complete
Congratulations! You have installed and set up Confluence. Click the Start using Confluence now link to open the Demonstration space in your Confluence wiki. This space contains some sample content and ideas, to help you get started quickly.
If you wish, you can click the link to learn how to import data from another wiki. This link leads to an overview page on your own Confluence server, containing information about the Universal Wiki Converter, an application that you can use to import data from other wiki types such as MediaWiki, DokuWiki and others.