Installation

Last updated

This section walks you through installing the self-hosted central Octopus Deploy server.

Once installed, the Octopus Deploy server:

  • Runs as a Windows Service.
  • Stores its data in an SQL Server database.
  • Has an embedded HTTP server which serves the Octopus REST API and the Octopus Web Portal that you will use to manage your deployments.

Before you install Octopus Deploy, review the software and hardware requirements, and make sure you have access to an instance of SQL Server Database that you can use with Octopus Deploy.

You need to download the latest version of the Octopus Installer.

Installing Octopus

  1. Start the Octopus Installer and follow the onscreen prompts.
  2. Accept the License Agreement, and either accept the default Destination Folder or choose a different location.
  3. Click Install, and give the app permission to make changes to your device.
  4. Click finish to exit the installation wizard and launch the Getting started wizard to configure your Octopus Deploy server.
  5. Click Get Started and either enter your details to start a free trial of Octopus or enter your license key.
  6. Accept the default Home Directory or enter a location of your choice.
  7. Decide whether to use a Local System Account or a Custom Domain Account.

Learn more about the permissions required for the Octopus Windows Service, using a Managed Service Account, or configuring authentication providers.

  1. On the Database page, click the dropdown arrow in the Server Name field to detect the SQL Server Database.
  2. Enter a name for the database, and click OK to create the database.

Be careful not to use the name of an existing database as the setup process will install Octopus into that pre-existing database. Learn more about the Octopus Database.

  1. Accept the default port and directory or enter your own.
  2. If you’re using username and passwords stored in Octopus authentication mode, enter the username and password that will be used for the Octopus administrator. If you are using active directory, enter the active directory user details.
  3. Click Install.

When the installation has completed, click Finish to launch the Octopus Manager.

Octopus Manager

Before you launch the Octopus Web Portal, it's worth taking note of the other settings such as controlling the Octopus Windows Service, importing and exporting the data Octopus stores in the SQL server, and viewing the master key.

You can launch the Octopus Web Portal from the Octopus Manager, by clicking Open in Browser.

Save the Master Key

Under the storage section, you will see a link to View Master Key.

When Octopus is installed, it generates a master key which is a random string that is used to encrypt sensitive data in your Octopus database. You will need the master key if you ever need to restore Octopus.

Take a copy of the master key and save it in a secure location.

Launch the Octopus Web Portal

Click Open in browser to launch the Octopus Web Portal and log in using the authentication details you set up during the configuration process.

The Octopus Web Portal is where you'll manage your infrastructure, projects, access the built-in repository, and deploy your software from.

Troubleshooting

If you've had any problems with the installation, review the troubleshooting page.

Next Steps

Now that you've installed the Octopus Deploy server, it's time to configure the Infrastructure you are deploying to.

If you need to upgrade your Octopus server, refer to the upgrade guide.

In This Section

The following topics are explained further in this section: