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.
- HTTP
- HTTPS
- Grafana monitoring
- External Postgres and Redis
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.cve.zip file as a source of data.
-
Open your Anaconda Server installer directory.
You can run the command
ls -lato show a list of files contained in your installer file directory. Thedocker-compose.ymland.envfiles are stored here. -
Open your
.envfile 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.zipfile from the s3 bucket: -
Move the
installers.zipfile to the airgap folder of the 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.

