To successfully install Anaconda Server in an air-gapped environment, you must have already prepared your environment according to the Air gap environment preparation instructions.
Installing Anaconda Server
Obtain Anaconda Server installer location and your Anaconda Server license from your Anaconda representative before proceeding.-
Download Anaconda Server:
-
Make it executable:
-
Run one of the following installation commands. Choose the command that corresponds with your setup:
The installation process creates three distinct user profiles: one for administrating Anaconda Server, one for administrating Keycloak, and one for accessing Prometheus. Login credentials for these profiles are shown during the installer output. Use these credentials for your initial logins, and update them as soon as possible.
- HTTP
- HTTPS
- External Postgres and Redis
To include Grafana monitoring dashboards in your installation of Anaconda Server, add the following argument to your installation command:Example output
The Prometheus password cannot currently be updated. Save your password somewhere secure!
Installing packages and CVEs
In a standard installation, Anaconda Server points to a web URL that contains artifacts for your users to view or download. However, on an air-gapped network, you’ll need to provide network directory folder locations for Anaconda Server to look in when searching for artifacts, and populate those folders with artifacts. The.zip files you downloaded during environment preparation will be the source of your packages for Anaconda Server. Choose a set of commands that correlate with the files you downloaded during environment preparation to move the files to their correct folder location:
-
Open your Anaconda Server installation directory.
-
Stop Anaconda Server by running the following command:
-
Move your airgap
.zipfiles to the correct locations by running the following commands. Choose a set of commands that correlates with your setup:All platforms
Moving theconda_msys2.zipandconda_r.zipfiles is optional.Windows airgap files
- Main for Windows
- R for Windows
Linux airgap files
- Main for Linux
- R for Linux
macOS airgap files
- Main for macOS
- R for macOS
-
Save your work and close the file, then apply your changes to Anaconda Server by running the following:
-
Monitor the status of your instance by running the following command:
-
Once the containers are healthy and running, access your instance of Anaconda Server by navigating to
https:://<FQDN>.example.comand complete your installation by entering your license.
Adding hosted miniconda installers
Because air-gapped users do not have access to the internet, Anaconda provides Miniconda installers for your company’s use through Anaconda Server.-
Download a valid
installers.zipfile from the s3 bucket: -
Move the
installers.zipfile to the airgap folder of Anaconda Server repository by running the following command: - If necessary, open your Anaconda Server installer directory.
-
Using your preferred file viewer, open the
docker-compose.ymlfile. -
Verify that the following line is present in the
volumessection for both therepo_apiandrepo_workerobjects:If the above line is not present, add it to both locations. This allows docker to have access to the/opt/anaconda/repo/airgapdirectory. -
Add the following line to the
environmentsection for both therepo_apiandrepo_workerobjects: -
Save your work and close the file, then apply your changes to Anaconda Server by running the following command:
Miniconda installers will now be available for your end users to download from the login page of Anaconda Server.

