Installing JFrog Catalog with Interactive Script

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

Installation types:

  • Docker compose

  • RPM or Debian

  • Linux Archive

Prerequisites

Install the following prerequisites independently of the JFrog Catalog installation.

PostgreSQL 

Minimum system requirements

  • catalog_cpus=1

  • catalog_ram_gb=2

  • catalog_disk_gb=100

Subscription Type: Enterprise X

Supported from

  • Artifactory - 7.90.12 (for the catalog new service MFE)

  • Xray version 3.103.6 (with MFE fixes)

Note

Xray and JFrog Catalog are packaged in a single tarball for RPM/Deb, Linux, and Docker compose installers. You will find the Catalog folder for the latest release version when you extract the Xray tarball.

Complete the following steps to install the product.

  1. Extract the contents of the compressed Xray archive and go to the catalog folder.

    cd jfrog-catalog<version>-compose

  2. Install

    Docker Compose

    Run the installer script ./config.sh and follow the instructions. The script prompts you with a series of mandatory inputs, including the jfrogURL (custom base URL) and joinKey

    Note

    The .env file is used by docker-compose and is updated during installations and upgrades. Update the .env file in the jfrog-catalog <version>-compose dir to override the image registry if needed.

    The system.yaml file will be available under the data dir (under path var/etc/system.yaml) defined in the env file.

    Native (RPM/DEB)

    1. Extract the contents of the compressed Xray archive and go to the Catalog folder.cd jfrog-catalog <version>-deb/rpm

    2. Run the installer script ./install.sh and follow the instructions.

    Linux Archive

    1. Extract the contents of the compressed Xray archive. You will find the Catalog folder there. Move it into the catalog directory. (/opt/jfrog/catalog)

      Note

      OS user permissions for Linux archive When running catalog, the installation script creates a user called catalog by default, which must have run and execute permissions on the installation directory. We recommend that you extract the catalog download file into a directory that gives run and execute permissions to all users such as /opt . for eg: 1. tar -xvf jfrog-xray-<version>-linux.tar.gz 2. mv jfrog-catalog-<version>-linux catalog 3. mkdir -p /opt/jfrog 4. mv catalog /opt/jfrog

    2. Run the installer script (/opt/jfrog/catalog/app/bin/install.sh). The script prompts you with a series of mandatory inputs, including the jfrogURL (custom base URL)and joinKey and masterKey, PostgreSQL database details.

    3. After the installation is complete, follow the onscreen instructions to start the Catalog service.

      For example:

      for eg: 
      chown -R catalog:catalog /opt/jfrog/catalog
      su - catalog
      /opt/jfrog/catalog/app/bin/catalog.sh start   // options - start/ stop/ restart
    4. Install as a service (optional)

      If you want JFrog Catalog to be installed as a service with the Linux Archive installer, run installService.sh under the app/bin folder and then start catalog as a service shown below.

      systemctl start catalog.service
  3. Start Catalog Service

    1. Docker Compose

      docker-compose -p catalog up -d
    2. RPM or Debian

      systemctl start catalog.service
    3. Linux Archive

      Through script:
      /opt/jfrog/catalog/app/bin/catalog.sh start   // options - start/ stop/ restart
      
      Through service
      systemctl start catalog.service
  4. Access Catalog from your browser at:

    http://<jfrogUrl>:port/ui/catalog/packages/overview