Standard installation
This topic provides guidance on installing Anaconda Server and verifying your installation.
To successfully install Anaconda Server, you must have already prepared your environment according to the Standard environment preparation topic.
Installing Anaconda Server
- Download your installer by running the command:
- Run one of the following installation commands. Choose the command that corresponds with your setup.
Installing without root access
If you do not have root access, you must add yourself to the docker group by running the following command before you install:
Choose and run an installation command that corresponds to your setup.
Installing with root access
HTTP Installation
If you have root access, run this command to install Anaconda Server:
HTTPS Installation
If you are using TLS/SSL certificates, run this command to install Anaconda Server:
During installation, login credentials will be generated and displayed in the terminal for two separate roles:
- anaconda - for administration in Anaconda Server UI
- admin - for administration in Keycloak
You’ll need the user names and passwords shown to log in to your instance of Anaconda Server and Keycloak. Make sure you save them!
Example output:
The installer file directory contains both the installation script (install.sh
), and the docker-compose.yml
file, which define how the Anaconda Server services are run.
By default, /opt/anaconda/repo
is the default file path for the installation folder. You can either create the folder manually by assigning write access to the current user, or use the -b
(--base-install-dir
) parameter to specify the folder for your installation.
Installing with external Postgres and Redis
Before you begin installation, make sure you are using Postgres version 9.6 or later and Redis version 6.0 or later, then perform the following steps:
- Download the installer.
- Modify the downloaded file to make it executable, then run the installation command:
Installing with Podman
Verify that your environment meets the requirements for a Podman installation by running the following command:
To install using Podman, download the installer, then make it executable by running the following commands:
Set the system variable CONTAINER_ENGINE
to podman
by running the following command:
Copy podman-compose
into usr/bin/
by running the following command:
Choose and run an installation command that corresponds to your setup.
Verifying your installation
Services are one-to-one to containers. Therefore, verifying that all major containers are up and not restarting or failing is a good first step.
In a terminal, run:
You should see output similar to the following:
It is important to note that each container appears in the output:
<INSTALLER>\_repo\_api\_1
<INSTALLER>\_nginx\_proxy\_1
<INSTALLER>\_repo\_worker\_1
<INSTALLER>\_repo\_dispatcher\_1
<INSTALLER>\_proxy\_1
<INSTALLER>\_keycloak\_1
<INSTALLER>\_postgres\_1
<INSTALLER>\_redis\_1
It is also important to make sure that the status of each container is Up, and not stuck in a restart loop.
Finally, you should be able to use a browser to navigate to the domain that you supplied when executing the installer. If you are able to successfully authenticate and use the product, it has installed correctly.
Next steps
After the installation has completed, open a browser and visit the domain you used during the product installation.
Never delete the install directory containing the docker-compose.yml
and .env
files.
Further installation options can be seen by running the following command:
This will present you with the following list of possible arguments:
Arguments (shorthand) | Arguments (longhand) | Description |
-r DOCKER_REGISTRY | --registry DOCKER_REGISTRY | Docker registry, url:port (default uses the system Docker daemon) |
-h POSTGRES_HOST | --pg-host POSTGRES_HOST | Postgresql host (default is on internal Postgres instance) |
-p POSTRES_PORT | --pg-port POSTRES_PORT | Postgresql port |
-u POSTGRES_USER | --pg-user POSTGRES_USER | Postgresql user |
-pw POSTGRES_PASSWORD | --pg-password POSTGRES_PASSWORD | Postgresql password (will set the internal Postgres instance password) |
-e REDIS_URL | --redis REDIS_URL | Redis URL (default is an internal Redis instance) |
-d DOMAIN | --domain DOMAIN | External domain (or IP) of host system |
-c TLS_CERTIFICATE | --tls-cert | Path to TLS certification file for optionally configuring HTTPS |
-k TLS_KEY | --tls-key TLS_KEY | Path to TLS key file for optionally configuring HTTPS |
--default-user DEFAULT_USER | Default user name | |
--custom-ca-cert CA_CERTIFICATE | Path to custom CA certification, which should be respected | |
--custom-cve-source CVE_DEFAULT_MIRROR | For Airgaped environments provide a custom source for CVE data | |
--upgrade-from PREVIOUS_DIR | Previous install folder | |
-l | --no-image-load | Don’t load Docker images |
-y | --no-prompt | Answer yes to all prompts |
-- help | Print help text |
Installing Grafana monitoring dashboards
To include Grafana monitoring dashboards in your installation of Anaconda Server, add the following argument to your installation command:
For example:
Was this page helpful?