Install Cortex XSOAR when you do not have internet access. Instructions for offline installation.
Use these instructions when using the Cortex XSOAR installer script for installation with no internet connectivity.
You need to download Cortex XSOAR dependencies and Docker images on a machine that has internet access, and then transfer them to a machine where you want to install Cortex XSOAR. After installing the Cortex XSOAR server from Cortex Gateway, install the dependencies and images.
Always verify that your Cortex XSOAR dependencies are updated and take into account that they might change across releases.
Note
There are different steps for different operating systems.
Docker/Podman is used to run Python scripts in an isolated container.
After installation, you need to Add a License.
On a machine with internet access, do the following:
Download and install offline the required dependencies for your deployment type.
Run the command
#sudo apt-get install --download-only <package name>This will download the package and any dependencies it may have to the folder
/var/cache/apt/archives.If the newest version is already installed, you can download the package by running the command
#sudo apt-get download <package name>This will download the package to the folder the command is run from.
Copy all .deb files over to the offline machine into a folder.
Install all dependencies offline by running the command
#sudo dpkg -i *
Note
If you need to download dependencies on Ubuntu, you can also use the command
sudo apt-get download.Ensure the Cortex XSOAR installer and license files are downloaded from Cortex Gateway.
Download the Docker images by appending
downloadName=dockerimagesto the download URL you copied from the installer download.For example:
https://download.demisto.com/download-params?token=xxxxxxx email=user@paloaltonetworks.com downloadName=dockerimages eula=acceptThe Docker images file is approximately 75 GB.
Verify Docker is installed (it is typically installed with Cortex XSOAR). If it is not, install it. For example, for Ubuntu see Install Docker on Ubuntu without direct internet connection.
On the machine where you want to install Cortex XSOAR offline, do the following:
Transfer the dependency files downloaded in step 1.
Verify that the required dependencies in step 1 are installed successfully by running one of the following commands.
(Red Hat)
repoquery -a --installed(Ubuntu)
apt list --installed
Install Cortex XSOAR offline by running the following command:
(Red Hat or Ubuntu)
sudo ./demisto.sh -- -tools=false -do-not-start-server=true(Red Hat v8 & above) Install and configure Podman, by following the steps in Migrate From Docker to Podman (from step 2 onwards).
For other OS versions, you need to install Docker.
Upload the Docker images that you downloaded in step 1 by doing one of the following:
(Ubuntu, Red Hat v7 & below) Run the following command:
sudo docker load -i <YOUR_DOCKER_FILE>.tar(Red Hat v8 & above) Do the following:
Ensure that the docker file has
demisto:demistoownership.Ensure that you are in the root directory (
cd /).Run the following commands:
sudo -su demistopodman load -i <YOUR_DOCKER_FILE>.tar(Optional) To verify that images are able to run, use the
podman imagescommand. You can also run thepodman images -q "demisto/python:1.3-alpine"command to validate specific images and identify any issues.
Start the server by running the following command:
sudo systemctl start demisto(Optional) After installation has completed, do the following:
Confirm that the Cortex XSOAR server status is active, by running the
systemctl status demistocommand.(Ubuntu, Red Hat v7 & below) Confirm that the Docker service status is active, by running the
systemctl status dockercommand.In a web browser, go to the
https://serverURL:portto verify that Cortex XSOAR was successfully installed.When you open Cortex XSOAR for the first time you need to add the license.
Troubleshoot Offline Installation
If you receive the following message, ensure you use a version of Podman that supports archives with multiple images.
Error: error pulling "": unable to pull dir:./xsoar_docker_images.tar: error determining pull goal for image "dir:./xsoar_docker_images.tar": error parsing dest reference name "localhost/./xsoar_docker_images.tar": error parsing named reference "localhost/./xsoar_docker_images.tar": invalid reference format
Next steps
After you successfully complete your Cortex XSOAR offline installation, you will likely need to:
Turn off Marketplace synchronization.
For more information, see Configure the Marketplace for Offline Installation.
Download content packs offline.
For more information, see Download Content Packs and Docker Images Offline and Install a Content Pack Offline.
Watch this video for information about installing content in an air-gapped environment.
Do custom configuration for your use case.
For example, customize playbooks, sub playbooks, or create custom indicators. For more information, see
(Optional) Install an engine offline.
For more information, see Install a Cortex XSOAR Engine Offline.
(Informational) Set relevant server configurations.
For more information, see Reference.