For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XSOAR 6.15Installation

Install Cortex XSOAR Offline

Install Cortex XSOAR 6.15 without internet access.

You need to download the required Cortex XSOAR dependencies, installer, license files, and Docker images from an internet-connected machine. Then transfer the files to the offline server and install the dependencies, Cortex XSOAR, and Docker images.

If you are deploying a signed installer:

  • You need to import the public key into the operating system. Open a ticket with Palo Alto Networks support to get the public key. It is valid for six months.

  • If you are using engines or hosts in a multi-tenant environment, you need to install makeself.

  • Download the latest dependencies for your Cortex XSOAR release before installation. Dependencies can change between releases.

  • The steps vary by operating system.

  • Docker/Podman runs Python scripts in an isolated container.

  • After installation, you need to Add a License.

Prerequisites for installing Cortex XSOAR

Verify the following requirements before you install Cortex XSOAR:

  • You have a Customer Support Portal account.

    Set up your account. For more information, see How to Create Your CSP User Account.

    You can configure two-factor authentication using email, Okta Verify, or Google Authenticator. For more information, see How to Enable a Third Party IdP.

  • You have the following roles:

    Role
    Details

    Customer Support Portal role

    The Super User role is assigned to your Customer Support Portal account. The account creator receives this role.

    Cortex role

    You must have the Account Admin role. The first user who accesses Cortex Gateway with the Super User role receives Account Admin permissions automatically.

    Log in to Cortex Gateway to download the image file and license. If you have multiple or development tenants, repeat these tasks for each tenant.

    You need a license, or an evaluation license through sales, assigned to your Customer Support Portal account to download the Cortex XSOAR images.

  • Your deployment meets the Cortex XSOAR System Requirements.

  • You have root access.

Install Cortex XSOAR offline

1

Download the required dependencies

  1. On a machine with internet access, download the Dependencies for Offline Installation for your deployment type.

    • Ubuntu/Debian: Run sudo apt-get install --download-only <package>, which saves the package and its dependencies in /var/cache/apt/archives.

      If the latest package version is already installed, run sudo apt-get download <package>. The command saves the package in your current directory. You can also use sudo apt-get download on Ubuntu.

    • RHEL/Rocky/Oracle/Amazon: Run sudo yumdownloader --resolve <package> or sudo yum install --downloadonly <package>.

  2. Copy all .deb files to a folder on the offline machine.

2

Download the installation files

On a machine with internet access, do the following:

  1. Log in to Cortex Gateway.

  2. Locate the activation card for your license.

    By default, the Production-Standalone license is selected. You can also select Dev. To use production and development tenants with a private remote repository, select Dev. You can install a development tenant later.

  3. Select Download On Prem.

  4. Select Next.

  5. Under Choose Download Option, select Installer.

  6. Select the checkbox to agree to the license terms and conditions. Then select Download.

    In Google Chrome, configure Settings → Privacy and security → Site settings → Additional permissions → Automatic downloads. Select Sites can ask to automatically download multiple files.

    The installer file, demistoserver-xxxxx.sh, and a zipped JSON license file download.

    Copy the download link from your browser's Downloads section. The link contains the token needed for downloading Docker images.

  7. If you use a signed installer, import the provided GPG public key. Open a support ticket to get the public key.

    For example, run rpm --import public.key to import the key into the local GPG keyring. Follow the requirements for your operating system.

  8. If you use a signed installer, install makeself when required. For example, run yum install makeself.

3

Download Docker images

The Cortex XSOAR installer sets up Docker automatically. It does not include the images required to run integrations. On a machine with internet access, use one of the following methods:

  • Targeted download (recommended): Use the download_packs_and_docker_images.py script to download Docker images for the content pack integrations you plan to use, such as AWS-ILM, Cybereason, and EWS.

    The script is in the Utils folder in the Git content repository. If you cannot access the repository, download the script here. For details, see download packs offline.

  • Full library download: Append downloadName=dockerimages to the installer download URL. For example, https://download.demisto.com/download-params?token=xxxxxxx email=user@paloaltonetworks.com downloadName=dockerimages eula=accept.

    The Docker images file is approximately 75 GB.

4

Transfer and verify downloaded files

  1. Transfer the files downloaded in steps 1 to 3 to the offline machine.

  2. Install all dependencies:

    • Ubuntu/Debian: sudo dpkg -i *

    • RHEL/Rocky/Oracle/Amazon Linux: sudo yum localinstall *

5

Install Cortex XSOAR

The Cortex XSOAR shell installer automatically installs and configures the container runtime using the dependencies you installed in the previous step.

Run the following commands:

  • chmod +x demisto.sh

  • sudo ./demisto.sh -- -tools=false -do-not-start-server=true

    For multi-tenant deployments, also include the -multi-tenant flag.

6

Load Docker images

  • Ubuntu, Oracle, and Amazon Linux 2/2023 (Docker): Run sudo docker load -i <YOUR_DOCKER_FILE>.tar.

  • Red Hat v8+ and Rocky Linux 9+ (Podman): Do the following:

    1. Ensure the file is owned by the demisto user: sudo chown demisto:demisto <FILENAME>.tar.

    2. Ensure that you are in the root directory: cd /.

    3. Run sudo -su demisto podman load -i <PATH TO FILE>/<FILENAME>.tar.

    4. To verify that images can run, use podman images. To validate specific images and identify issues, use podman images -q "demisto/python:1.3-alpine".

7

Start Cortex XSOAR

Run the following command:

sudo systemctl start demisto

8

Verify the installation

  1. Confirm that the Cortex XSOAR server status is active. Run systemctl status demisto.

  2. For Ubuntu, Oracle, and Amazon Linux 2/2023, confirm that the Docker service status is active. Run systemctl status docker.

  3. In a web browser, go to https://serverURL:port to verify that Cortex XSOAR was successfully installed.

    When you open Cortex XSOAR for the first time, add the license.

Troubleshoot offline installation

If you receive the following message, ensure that 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 might need to:

Last updated

Was this helpful?