Artifactory Linux Package Installation

Install Artifactory on Linux using RPM, Debian, or Linux archive for single-node and HA deployments.

Installing Artifactory on Linux using native packages provides a straightforward, production-ready deployment. This approach uses your operating system’s package manager (YUM, DNF, or APT) or a self-contained archive to manage the installation and configuration of Artifactory and its dependencies. This method is ideal for both single-node setups and high-availability (HA) configurations.

Tip

To simplify the installation process, you can try our Artifactory Install Helper tool. It provides an interactive walkthrough to help you quickly configure and set up Artifactory. While the instructions in this guide will walk you through the process in detail, the Artifactory Install Helper is an easy-to-use alternative.

Choose your environment below to get started:

Install Artifactory on RPM

Installing Artifactory on RPM-based systems, whether for a single-node setup or a High Availability (HA) configuration, is considered a native installation. It simply means that Artifactory can be installed directly on RPM-based systems using the operating system's native package management tools, specifically YUM or DNF.

The following sections provide step-by-step instructions for installing JFrog Artifactory on an RPM system, covering both single-node and high-availability (HA) configurations.

Prerequisites

Install Artifactory RPM Package

Throughout these installation steps, you must have sudo privileges or be the root user for system-level operations, package installations, and file modifications. This ensures that Artifactory can be installed correctly.

The following steps cover the installation process for both single-node and HA.

  1. Set JFROG_HOME Variable

    For RPM-based systems, Artifactory installs and stores its data by default in /opt/jfrog. To refer to this path in your terminal, run the following command:

    export JFROG_HOME=/opt/jfrog

    For more information, see JFrog Product Directory Structure.

  2. Configure JFrog RPM Repository and Install Artifactory

    This is the recommended method for installing Artifactory, as it simplifies updates.

    1. Download JFrog Repository File:

      wget https://releases.jfrog.io/artifactory/artifactory-pro-rpms/artifactory-pro-rpms.repo -O jfrog-artifactory-pro-rpms.repo
    2. Move Repository File:

      sudo mv jfrog-artifactory-pro-rpms.repo /etc/yum.repos.d/
    3. Update YUM/DNF Cache and Install Artifactory:

      Update your package list and install Artifactory. Replace 7.111.11 with your desired Artifactory version.

      sudo yum install jfrog-artifactory-pro-7.111.11

      On newer Fedora or CentOS/RHEL versions, you might use the following command, instead of yum:

      sudo dnf install jfrog-artifactory-pro-7.111.11
  3. Use .rpm Package to Download and Install Artifactory (Optional)

    This method allows you to download and install a specific .rpm package directly.

    1. Download Artifactory RPM Package:

      Download the specific Artifactory RPM package you wish to install. To download a specific version, replace [RELEASE] with the exact version number (for example, 7.111.11) in the command below:

      # Example for Artifactory Pro (replace with your desired version)
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro-rpms/jfrog-artifactory-pro/jfrog-artifactory-pro-[RELEASE].rpm'
      
      # For example, to download Artifactory Pro 7.111.11:
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro-rpms/jfrog-artifactory-pro/jfrog-artifactory-pro-7.111.11.rpm'
    2. Install .rpm Package:

      Navigate to the directory where you downloaded the .rpm package and install it using yum with root user privileges. Remember to include ./ for local files.

      # Example for Artifactory Pro
      sudo yum install -y ./jfrog-artifactory-<pro|oss|cpp-ce>-<VERSION>.rpm
      
      # For example, to install Artifactory Pro 7.111.11
      sudo yum install -y ./jfrog-artifactory-pro-7.111.11.rpm
  4. Set up Artifactory Database

    Artifactory requires an external database for production. JFrog highly recommends using PostgreSQL for all products in the JFrog Platform, although Artifactory supports additional databases. For more information, see Database Configuration.

    1. Configure Artifactory to Use PostgreSQL:

      On each Artifactory node, edit $JFROG_HOME/artifactory/var/etc/system.yaml to point Artifactory to your external database.

      shared:
        database:
          type: postgresql
          driver: org.postgresql.Driver
          url: jdbc:postgresql://<DB_SERVER_IP_OR_HOSTNAME>:5432/artifactory_db
          username: artifactory_user
          password: your_secure_password

      The database configuration in system.yaml must be identical on all Artifactory nodes, and all nodes must have reliable network access to the single shared external database instance.

    2. Configure Other Supported Databases (Optional):

      To use databases other than PostgreSQL, set shared.database.allowNonPostgresql to true in your system.yaml and configure the database details. The following is an example for MySQL:

      shared:
        database:
          allowNonPostgresql: true
          type: mysql
          driver: com.mysql.jdbc.Driver
          url: jdbc:mysql://<your db url, for example: localhost:3306>/artdb?characterEncoding=UTF-8&elideSetAutoCommits=true&useSSL=false
          username: artifactory
          password: password

    For more information about creating and configuring databases, see Set up Database.

  5. Set up Supported Filestores

    The filestore is where Artifactory physically stores the binaries.

    • Single-Node: A local filesystem is the default, but externalizing it (for example, to a dedicated volume) is recommended for easier management and potential migration.
    • High Availability (HA): A shared filestore is mandatory. This can be NFS, S3, Azure Blob Storage, Google Cloud Storage, or another supported object storage solution. All Artifactory nodes in the cluster must have unified and reliable network access to this single shared filestore.

    For more information about configuring filestores, see Set up Filestore.

  6. Start the First Artifactory Node

    For Single-Node and HA: Start the first Artifactory service. This initializes the database and, for HA setups, generates the master.key.

    sudo systemctl start artifactory.service
  7. Initial HA Setup and Licensing

    After the first node is running, complete the initial setup and apply licenses. For HA installations, you must enable HA on the first node before you can add licenses for additional nodes.

    1. Access the Artifactory UI: Open your browser and go to http://<SERVER_HOSTNAME>:8082/, replacing <SERVER_HOSTNAME> with your server's actual IP address or host name.

    2. Complete the Onboarding Wizard:

      • Change Default Admin Password: The default credentials are admin/password. Change this immediately.
      • Configure Base URL: Configure the Base URL.
      • Apply Your First License: Apply the license key for the first Artifactory node.
    3. Enable HA on the First Node (HA only): Edit $JFROG_HOME/artifactory/var/etc/system.yaml on the first node and add the HA configuration:

      shared:
        node:
          haEnabled: true
          taskAffinity: any

      Restart the first node for the changes to take effect:

      sudo systemctl restart artifactory.service
    4. Apply Remaining Cluster Licenses (HA only): After HA is enabled and the first node has restarted, navigate to Administration > Licenses in the Artifactory UI and add the license keys for all remaining nodes in your cluster.

⚠️

Warning

If you are setting up an HA cluster, apply licenses for all nodes through the first node's UI before starting any additional nodes. If you start new nodes before applying their licenses, the front-end microservices may fail to start with the following error message: [jfrt] [WARN] ... - License is not installed.

  1. Configure and Start Remaining HA Nodes

    Once all licenses are applied and the first node is fully operational with HA enabled, configure and start the other nodes.

    1. Configure system.yaml on Remaining Nodes

      Edit $JFROG_HOME/artifactory/var/etc/system.yaml on each remaining node.

      • In the node section, set haEnabled to true.
      • taskAffinity set to any indicates that all the nodes in the HA can act as primary nodes.
      shared:
        node:
          haEnabled: true
          taskAffinity: any
    2. Copy master.key to Other Nodes:

      Copy the master.key file from $JFROG_HOME/artifactory/var/etc/security/ of the first node to the identical path on all other nodes.

    3. Ensure the database section (as configured in Step 4) is also present and identical on all nodes.

    4. Start Remaining Nodes for HA:

      Once the masterKey is synchronized across all nodes, start the Artifactory service on the remaining nodes:

      sudo systemctl start artifactory.service
  2. Monitor Artifactory

    To check the Artifactory status, run the following command:

    sudo systemctl status artifactory.service
  3. Access Artifactory UI

    After you start a new Artifactory node, you can access its UI through one of the following methods:

    Direct Access:

    • Open your browser and navigate to http://<ARTIFACTORY_NODE_IP>:8082/.
    • You must do this for each newly started Artifactory node.

    Load Balancer Access:

    • The load balancer directs traffic to http://<ARTIFACTORY_NODE_IP>:8082/ on each of your HA nodes.
    • Configure your load balancer to point to the IP addresses of all your Artifactory nodes. When you access the load balancer's URL, it will distribute your requests across the nodes in the cluster.

Install Artifactory on Debian

Installing Artifactory on Debian, whether for a single-node setup or a High Availability (HA) configuration, is considered a native installation. This means that Artifactory can be installed directly on Debian using the operating system's native package management tools, specifically Advanced Package Tool (APT) and dpkg.

The following sections provide step-by-step instructions for installing JFrog Artifactory on a Debian system, covering both single-node and high-availability (HA) configurations.

Prerequisites

Install Artifactory Debian Package

To install Artifactory correctly, you must have sudo privileges or be the root user for system-level operations, package installations, and file modifications.

The following steps cover the installation process for both single-node and HA.

  1. Set JFROG_HOME Variable

    For Debian, Artifactory installs and stores its data by default in /opt/jfrog. To refer to this path in your terminal, run the following command:

    export JFROG_HOME=/opt/jfrog

    For more information, see JFrog Product Directory Structure.

  2. Configure JFrog APT Repository and Install Artifactory

    This is the recommended method for installing Artifactory, as it simplifies updates.

    1. Determine Your Debian Distribution:

      Run one of the following commands to find your Debian distribution code name (for example, buster, bullseye, bookworm):

      lsb_release -c
      # OR
      cat /etc/os-release
    2. Add JFrog APT Repository:

      Replace {distribution} with the output from the previous step (for example, xenial).

      echo "deb https://releases.jfrog.io/artifactory/artifactory-pro-debs {distribution} main" | sudo tee -a /etc/apt/sources.list
    3. Add JFrog Public Key:

      This step verifies the authenticity of the packages.

      wget -qO - https://releases.jfrog.io/artifactory/api/v2/repositories/artifactory-pro-debs/keyPairs/primary/public | sudo apt-key add -
    4. Update APT Cache and Install Artifactory:

      First, verify that net-tools is installed. Then, update your package list and install Artifactory. Replace 7.111.11 with your desired Artifactory version.

      sudo apt-get install -y net-tools
      sudo apt-get update && sudo apt-get install jfrog-artifactory-pro=7.111.11
  3. Use .deb Package to Download and Install Artifactory (Optional)

    This method allows you to download and install a specific .deb package directly, which is an optional alternative.

    1. Download Artifactory Debian Package:

      Download the specific Artifactory Debian package you wish to install. To download a specific version, replace [RELEASE] with the exact version number (for example, 7.111.11) in the command below:

      # Example for Artifactory Pro
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro-debs/pool/jfrog-artifactory-pro/jfrog-artifactory-pro-[RELEASE].deb'
      
      # For example, to download Artifactory Pro 7.111.11
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro-debs/pool/jfrog-artifactory-pro/jfrog-artifactory-pro-7.111.11.deb'
    2. Ensure net-tools is Installed:

      sudo apt-get install -y net-tools
    3. Install .deb Package:

      Navigate to the directory where you downloaded the .deb package and install it using dpkg with root user privileges.

      # Example for Artifactory Pro
      sudo dpkg -i jfrog-artifactory-<pro|oss|cpp-ce>-<VERSION>.deb
      
      # For example, to install Artifactory Pro 7.111.11
      sudo dpkg -i jfrog-artifactory-pro-7.111.11.deb
  4. Set up Artifactory Database

    Artifactory requires an external database for production. JFrog highly recommends using PostgreSQL for all products in the JFrog Platform, although Artifactory supports additional databases. For more information, see Database Configuration.

    1. Configure Artifactory to Use PostgreSQL:

      On each Artifactory node, edit $JFROG_HOME/artifactory/var/etc/system.yaml to point Artifactory to your external database.

      shared:
        database:
          type: postgresql
          driver: org.postgresql.Driver
          url: jdbc:postgresql://<DB_SERVER_IP_OR_HOSTNAME>:5432/artifactory_db
          username: artifactory_user
          password: your_secure_password

      The database configuration in system.yaml must be identical on all Artifactory nodes, and all nodes must have reliable network access to the single shared external database instance.

    2. Configure Other Supported Databases (Optional):

      To use databases other than PostgreSQL, set shared.database.allowNonPostgresql to true in your system.yaml and configure the database details. The following is an example for MySQL:

      shared:
        database:
          allowNonPostgresql: true
          type: mysql
          driver: com.mysql.jdbc.Driver
          url: jdbc:mysql://<your db url, for example: localhost:3306>/artdb?characterEncoding=UTF-8&elideSetAutoCommits=true&useSSL=false
          username: artifactory
          password: password

    For more information about creating and configuring databases, see Set up Database.

  5. Set up Supported Filestores

    The filestore is where Artifactory physically stores the binaries.

    • Single-Node: A local filesystem is the default, but externalizing it (for example, to a dedicated volume) is recommended for easier management and potential migration.
    • High Availability (HA): A shared filestore is mandatory. This can be NFS, S3, Azure Blob Storage, Google Cloud Storage, or another supported object storage solution. All Artifactory nodes in the cluster must have unified and reliable network access to this single shared filestore.

    For more information about configuring filestores, see Set up Filestore.

  6. Start the First Artifactory Node

    For Single-Node and HA: Start the first Artifactory service. This initializes the database and, for HA setups, generates the master.key.

    sudo systemctl start artifactory.service
  7. Initial HA Setup and Licensing

    After the first node is running, complete the initial setup and apply licenses. For HA installations, you must enable HA on the first node before you can add licenses for additional nodes.

    1. Access the Artifactory UI: Open your browser and go to http://<SERVER_HOSTNAME>:8082/, replacing <SERVER_HOSTNAME> with your server's actual IP address or host name.

    2. Complete the Onboarding Wizard:

      • Change Default Admin Password: The default credentials are admin/password. Change this immediately.
      • Configure Base URL: Configure the Base URL.
      • Apply Your First License: Apply the license key for the first Artifactory node.
    3. Enable HA on the First Node (HA only): Edit $JFROG_HOME/artifactory/var/etc/system.yaml on the first node and add the HA configuration:

      shared:
        node:
          haEnabled: true
          taskAffinity: any

      Restart the first node for the changes to take effect:

      sudo systemctl restart artifactory.service
    4. Apply Remaining Cluster Licenses (HA only): After HA is enabled and the first node has restarted, navigate to Administration > Licenses in the Artifactory UI and add the license keys for all remaining nodes in your cluster.

⚠️

Warning

If you are setting up an HA cluster, apply licenses for all nodes through the first node's UI before starting any additional nodes. If you start new nodes before applying their licenses, the front-end microservices may fail to start with the following error message: [jfrt] [WARN] ... - License is not installed.

  1. Configure and Start Remaining HA Nodes

    Once all licenses are applied and the first node is fully operational with HA enabled, configure and start the other nodes.

    1. Configure system.yaml on Remaining Nodes

      Edit $JFROG_HOME/artifactory/var/etc/system.yaml on each remaining node.

      • In the node section, set haEnabled to true.
      • taskAffinity set to any indicates that all the nodes in the HA can act as primary nodes.
      shared:
        node:
          haEnabled: true
          taskAffinity: any
    2. Copy master.key to Other Nodes:

      Copy the master.key file from $JFROG_HOME/artifactory/var/etc/security/ of the first node to the identical path on all other nodes.

    3. Ensure the database section (as configured in Step 4) is also present and identical on all nodes.

    4. Start Remaining Nodes for HA:

      Once the masterKey is synchronized across all nodes, start the Artifactory service on the remaining nodes:

      sudo systemctl start artifactory.service
  2. Monitor Artifactory

    To check the Artifactory status, run the following command:

    sudo systemctl status artifactory.service
  3. Access Artifactory UI

    After you start a new Artifactory node, you can access its UI through one of the following methods:

    Direct Access:

    • Open your browser and navigate to http://<ARTIFACTORY_NODE_IP>:8082/.
    • You must do this for each newly started Artifactory node.

    Load Balancer Access:

    • The load balancer directs traffic to http://<ARTIFACTORY_NODE_IP>:8082/ on each of your HA nodes.
    • Configure your load balancer to point to the IP addresses of all your Artifactory nodes. When you access the load balancer's URL, it will distribute your requests across the nodes in the cluster.

Install Artifactory with Linux Archive

Installing Artifactory from a Linux archive involves manually downloading the compressed file, extracting it, and then configuring the extracted directories. While it does not use the operating system's native package manager for installation, Artifactory can still be configured to run as an OS-managed service (for example, using systemd).

The following sections provide step-by-step instructions for installing JFrog Artifactory with Linux Archive, covering both single-node and high-availability (HA) configurations.

Prerequisites

Install Artifactory from Linux Archive

The following steps cover the installation process for both single-node and HA.

  1. Create JFrog Home Directory and Set JFROG_HOME Variable

    1. Create Dedicated Directory:

      Create a dedicated directory for your JFrog installation. This can be any directory of your choice (for example, /app/jfrog, /usr/local/jfrog, or a custom path).

      # Replace <path to your directory> with your chosen directory
      sudo mkdir -p <path to your directory> 
      cd <path to your directory>
    2. Set JFROG_HOME Variable:

      Set the JFROG_HOME environment variable to easily refer to this path in your terminal. This must match the directory you created in the previous step.

      # Replace <path to your directory> with your chosen directory
      export JFROG_HOME=<path to your directory>

    For more information, see JFrog Product Directory Structure.

  2. Download and Extract Artifactory Linux Archive

    1. Download Artifactory Linux Archive:

      To download a specific version, replace [RELEASE] with the exact version number (for example, 7.111.11) in the command below. The placeholders <pro|oss|cpp-ce> signify the different editions of JFrog Artifactory that you can choose to install.

      # Example for Artifactory Pro (replace with your desired version)
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro/org/artifactory/pro/jfrog-artifactory-pro/[RELEASE]/jfrog-artifactory-pro-[RELEASE]-linux.tar.gz'
      
      # For example, to download Artifactory Pro 7.111.11
      curl -g -L -O -J 'https://releases.jfrog.io/artifactory/artifactory-pro/org/artifactory/pro/jfrog-artifactory-pro/7.111.11/jfrog-artifactory-pro-7.11.11-linux.tar.gz'
    2. Extract Linux Archive and Move:

      Extract the downloaded .tar.gz file into your chosen $JFROG_HOME directory. The extraction typically creates a directory like artifactory-pro-[VERSION] inside. Move the contents of this extracted directory into a simpler artifactory directory within $JFROG_HOME.

      # Extract the downloaded Artifactory archive file.
      tar -xvf jfrog-artifactory-pro-7.111.11-linux.tar.gz
      
      # Move the extracted directory (for example, artifactory-pro-7.111.11) to a simpler 'artifactory' name.
      mv artifactory-pro-7.111.11 artifactory
  3. Run Artifactory as a Service (Recommended for Production):

    Artifactory provides a script to install it as a systemd or init.d service. This is recommended for production environments to ensure proper startup and shutdown.

    1. Navigate to the bin Directory:

      cd $JFROG_HOME/artifactory/app/bin
    2. Run the Installation Script:

      ./installService.sh

    This script will set up the necessary service files for Artifactory.

  4. Set up Artifactory Database

    Artifactory requires an external database for production. JFrog highly recommends using PostgreSQL for all products in the JFrog Platform, although Artifactory supports additional databases. For more information, see Database Configuration.

    1. Configure Artifactory to Use PostgreSQL:

      On each Artifactory node, edit $JFROG_HOME/artifactory/var/etc/system.yaml to point Artifactory to your external database.

      shared:
        database:
          type: postgresql
          driver: org.postgresql.Driver
          url: jdbc:postgresql://<DB_SERVER_IP_OR_HOSTNAME>:5432/artifactory_db
          username: artifactory_user
          password: your_secure_password

      The database configuration in system.yaml must be identical on all Artifactory nodes, and all nodes must have reliable network access to the single shared external database instance.

    2. Configure Other Supported Databases (Optional):

      To use databases other than PostgreSQL, set shared.database.allowNonPostgresql to true in your system.yaml and configure the database details. The following is an example for MySQL:

      shared:
        database:
          allowNonPostgresql: true
          type: mysql
          driver: com.mysql.jdbc.Driver
          url: jdbc:mysql://<your db url, for example: localhost:3306>/artdb?characterEncoding=UTF-8&elideSetAutoCommits=true&useSSL=false
          username: artifactory
          password: password

    For more information about creating and configuring databases, see Set up Database.

  5. Set up Supported Filestores

    The filestore is where Artifactory physically stores the binaries.

    • Single-Node: A local filesystem is the default, but externalizing it (for example, to a dedicated volume) is recommended for easier management and potential migration.
    • High Availability (HA): A shared filestore is mandatory. This can be NFS, S3, Azure Blob Storage, Google Cloud Storage, or another supported object storage solution. All Artifactory nodes in the cluster must have unified and reliable network access to this single shared filestore.

    For more information about configuring filestores, see Set up Filestore.

  6. Start the First Artifactory Node

    This step details the critical steps for starting Artifactory, especially for an HA cluster.

📘

Note

For High Availability installations, the first Artifactory node must be fully up and running, and its generated masterKey must be copied to all other nodes before starting any subsequent Artifactory services. Failure to do so will prevent the cluster from forming correctly and lead to startup failures.

You have two main options for starting Artifactory:

  • Running it as an OS Service (recommended for production)
  • Running it as a Process (foreground or daemon)

Option 1: Start as an OS Service (Recommended for Production)

This method uses the service script installed in Step 3.

Run the following command to start the Artifactory service. On the first HA node, Artifactory will initialize the database and potentially generate the master.key if it does not already exist.

# For systemd-based systems
sudo systemctl start artifactory.service 

# For init.d-based systems
sudo service artifactory start

Optionally, for systemd, enable it to start on boot:

sudo systemctl enable artifactory.service

Option 2: Run as a Process

You can run Artifactory as a foreground process or as a daemon process (runs in the background).

Once you are in the $JFROG_HOME/artifactory/app/bin/ directory, run Artifactory as follows

  • To run as a foreground process:

    Run the following command:

    ./artifactoryctl
  • To run as a daemon process (in the background):

    Run the following command:

    ./artifactoryctl start
  1. Initial HA Setup and Licensing

    After the first node is running, complete the initial setup and apply licenses. For HA installations, you must enable HA on the first node before you can add licenses for additional nodes.

    1. Access the Artifactory UI: Open your browser and go to http://<SERVER_HOSTNAME>:8082/, replacing <SERVER_HOSTNAME> with your server's actual IP address or host name.

    2. Complete the Onboarding Wizard:

      • Change Default Admin Password: The default credentials are admin/password. Change this immediately.
      • Configure Base URL: Configure the Base URL.
      • Apply Your First License: Apply the license key for the first Artifactory node.
    3. Enable HA on the First Node (HA only): Edit $JFROG_HOME/artifactory/var/etc/system.yaml on the first node and add the HA configuration:

      shared:
        node:
          haEnabled: true
          taskAffinity: any

      Restart the first node for the changes to take effect:

      # For systemd
      sudo systemctl restart artifactory.service
      
      # For init.d
      sudo service artifactory restart
      
      # OR as a process
      $JFROG_HOME/artifactory/app/bin/artifactoryctl stop
      $JFROG_HOME/artifactory/app/bin/artifactoryctl start
    4. Apply Remaining Cluster Licenses (HA only): After HA is enabled and the first node has restarted, navigate to Administration > Licenses in the Artifactory UI and add the license keys for all remaining nodes in your cluster.

⚠️

Warning

If you are setting up an HA cluster, apply licenses for all nodes through the first node's UI before starting any additional nodes. If you start new nodes before applying their licenses, the front-end microservices may fail to start with the following error message: [jfrt] [WARN] ... - License is not installed.

  1. Configure and Start Remaining HA Nodes

    Once all licenses are applied and the first node is fully operational with HA enabled, configure and start the other nodes.

    1. Configure system.yaml on Remaining Nodes

      Edit $JFROG_HOME/artifactory/var/etc/system.yaml on each remaining node.

      • In the node section, set haEnabled to true.
      • taskAffinity set to any indicates that all the nodes in the HA can act as primary nodes.
      shared:
        node:
          haEnabled: true
          taskAffinity: any
    2. Ensure the database section (as configured in Step 4) is also present and identical on all nodes.

    3. Copy master.key to Other Nodes:

      Copy the master.key file from $JFROG_HOME/artifactory/var/etc/security/ of the first node to the identical path on all other nodes.

    4. Start Remaining Nodes for HA:

      Once the masterKey is synchronized across all nodes, start the Artifactory service on the remaining nodes:

      # Using OS Service (recommended)
      # For systemd
      sudo systemctl start artifactory.service
      
      # For init.d
      sudo service artifactory start
      
      # OR
      
      # As a daemon process
      $JFROG_HOME/artifactory/app/bin/artifactoryctl start
  2. Monitor Artifactory

    To check the Artifactory status, run the following command:

    • If running as an OS Service:

      Run the following command:

      # For systemd
      sudo systemctl status artifactory.service
      
      # For init.d
      sudo service artifactory status
    • If running as a Process:

      Once you are in the $JFROG_HOME/artifactory/app/bin/ directory, run the following command:

      ./artifactoryctl check

      To stop a process-managed Artifactory, run the following command:

      ./artifactoryctl stop
  3. Access Artifactory UI

    After you start a new Artifactory node, you can access its UI through one of the following methods:

    Direct Access:

    • Open your browser and navigate to http://<ARTIFACTORY_NODE_IP>:8082/.
    • You must do this for each newly started Artifactory node.

    Load Balancer Access:

    • The load balancer directs traffic to http://<ARTIFACTORY_NODE_IP>:8082/ on each of your HA nodes.
    • Configure your load balancer to point to the IP addresses of all your Artifactory nodes. When you access the load balancer's URL, it will distribute your requests across the nodes in the cluster.