Air gap installation
This topic provides guidance for installing Package Security Manager in an air-gapped environment.
These instructions assume that you have completed environment preparation and performed the additional environment preparation steps for air-gapped environments.
Installing Package Security Manager
Prior to installing, you will be provided with a Package Security Manager installer location and license from your Anaconda implementation representative.
-
Download Package Security Manager:
-
Make it executable:
-
Run one of the following installation commands. Choose the command that corresponds with your setup:
To include Grafana monitoring dashboards in your installation of Package Security Manager, add the following argument to your installation command:
The installation process creates three distinct user profiles: one for administrating Package Security Manager, 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.
Installing packages and CVEs
In a standard installation, Package Security Manager 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 Package Security Manager 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 Package Security Manager. 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 Package Security Manager installation directory.
-
Stop Package Security Manager by running the following command:
-
Move your airgap
.zip
files to the correct locations by running the following commands. Choose a set of commands that coorelates with your setup: -
Save your work and close the file, then apply your changes to Package Security Manager 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 Package Security Manager by navigating to
https:://<FQDN>.example.com
and 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 Package Security Manager.
-
Download a valid
installers.zip
file from the s3 bucket: -
Move the
installers.zip
file to the airgap folder of Package Security Manager repositoryby running the following command: -
If necessary, open your Package Security Manager 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 Package Security Manager by running the following command:
Miniconda installers will now be available for your end users to download from the login page of Package Security Manager.
Was this page helpful?