Skip to end of metadata
Go to start of metadata
Table of Contents

Overview

In addition to the other Artifactory installation options, Artifactory can also be installed as an RPM package on RedHat compatible Linux distributions.

The RPM distribution is available from Artifactory version 2.3.3.

The RPM package creates a dedicated user, installs a stripped-down distribution of the Apache Tomcat container configured for Artifactory (on port 8081 by default), and registers this Tomcat as a service (but does not start it immediately).

This package effectively replaces the different setup scripts included with the Artifactory Zip distribution.

Requirements

  • Must be installed using the root user (or sudo).
  • An environment variable named JAVA_HOME pointing to the installation directory of JDK 1.7.

Managed Files And Folders

Artifactory, when installed via RPM retains the FHS (Filesystem Hierarchy Standard) format.

File/Folder

Location

Ownership

Artifactory binary

/opt/jfrog/artifactory

root

Tomcat home/opt/jfrog/artifactory/tomcatroot

Artifactory startup script

/etc/init.d/artifactory

root

Artifactory home

/var/opt/jfrog/artifactory

artifactory

Artifactory etc

/etc/opt/jfrog/artifactory

artifactory

Artifactory logs

/var/opt/jfrog/artifactory/logs

artifactory

Artifactory environment variables

/etc/opt/jfrog/artifactory/default

artifactory

MySQL Additional Configuration

The RPM includes a small CLI tool that assists with the configuration of Artifactory to use MySQL as a Storage Method (recommended).

After running the RPM installation process, it provides you with the option to run the MySQL configuration manually.

The tool is located in /opt/jfrog/artifactory/bin/configure.mysql.sh and requires MySQL 5.5+ to be pre-installed and running.

Installing Artifactory

To install Artifactory use:

Running Artifactory

To start and stop Artifactory use the init script accordingly:

or 

Accessing Artifactory

Artifactory can be found using the following URL:

http://localhost:8081/artifactory

  • No labels