Standard installation
This topic provides guidance on installing Package Security Manager and verifying your installation.
These instructions assume that you have completed environment preparation.
Installing Package Security Manager
-
Download your installer by running the following command:
If you do not have root access, you must add yourself to the docker group by running the following command before you install:
-
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.
The installer directory contains both the installation script (install.sh
) and the docker-compose.yml
file, which defines how Package Security Manager services are run.
By default, /opt/anaconda/repo
is the 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.
Never delete the directory containing the docker-compose.yml
and .env
files.
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.
-
Return to your terminal and run the following command:
You should see output similar to the following:
-
Verify that the following containers appear with a
STATUS
ofUp
(not stuck in a restart loop) in the output:These containers should always be running. However, you might see additional containers, depending on the phase of installation or your initial configuration choices:
-
Open a browser and navigate to the domain that you supplied when executing the installer. If you are able to successfully authenticate and are asked for a license, Package Security Manager has installed successfully.
Advanced options
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 | --registry | Docker registry, url:port (default uses the system Docker daemon) |
-h | --pg-host | Postgresql host (default is on internal Postgres instance) |
-p | --pg-port | Postgresql port number |
-u | --pg-user | Postgresql username |
-pw | --pg-password | Postgresql password (will set the internal Postgres instance password) |
-e | --redis | Redis URL (default is an internal Redis instance) |
-d | --domain | External domain (or IP address) of host system |
-c | --tls-cert | Path to TLS certification file for optionally configuring HTTPS (includes the host certificate and all intermediate certificates, but not the Root CA) |
-k | --tls-key | Path to TLS key file for optionally configuring HTTPS |
--default-user | Default user name | |
--custom-ca-cert | Path to custom CA certification, which should be respected | |
--custom-cve-source | For air-gapped environments provide a custom source for CVE data | |
--upgrade-from | Previous install folder | |
-l | --no-image-load | Don’t load Docker images |
-y | --no-prompt | Answer yes to all prompts |
-- help | Print help text |
Was this page helpful?