Air gap installation
This topic provides guidance for installing Anaconda Server in an air-gapped environment.
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 the 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.
If you are using TLS/SSL certificates, run this command to install Anaconda Server:
To include Grafana monitoring dashboards in your installation of Anaconda Server, add the following argument to your installation command:
For example:
You must be using Postgres version 9.6 or later and Redis version 6.0 or later.
Installing packages and CVEs
In a standard installation, Anaconda Server would be pointed 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. Move these files to the correct folders by running the following commands:
Moving the conda_msys2.zip
and conda_r.zip
files is optional.
With the files in place, you’ll now need to instruct Anaconda Server to create a mirror using the cve.zip
file as a source of data.
-
Open your Anaconda Server installer directory.
You can run the command
ls -la
to show a list of files contained in your installer file directory. Thedocker-compose.yml
and.env
files are stored here. -
Open your
.env
file using your preferred file editor and add the following line: -
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:
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.zip
file from the s3 bucket: -
Move the
installers.zip
file to the airgap folder of the Anaconda Server repositoryby running the following command: -
If necessary, open your Anaconda Server installer directory.
-
Using your preferred file viewer, open the
docker-compose.yml
file. -
Verify that the following line is present in the
volumes
section for both therepo_api
andrepo_worker
objects:If the above line is not present, add it to both locations. This allows docker to have access to the
/opt/anaconda/repo/airgap
directory. -
Add the following line to the
environment
section for both therepo_api
andrepo_worker
objects: -
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.
Was this page helpful?